csc.CreateSuccessPlanFromOppRequest
global with sharing class CreateSuccessPlanFromOppRequest
The request object that is passed to the service to create a success plan from an opportunity.
Methods
CreateSuccessPlanFromOppRequest
global CreateSuccessPlanFromOppRequest(final Id opportunityId, final Map<SObjectField, Object> fieldsToPopulate)
A constructor method to create a request.
Input Parameters
| opportunityId |
final Id |
Id of the Opportunity to create the Success Plan from. |
| fieldsToPopulate |
final Map<SObjectField, Object> |
Key-value pairs denoting initial field values for the resulting success plan created from an opportunity. If the opportunityId parameter is specified, it overrides the csc__Opportunity__c field. If the csc__Account__c field is populated, it must match the account on the opportunity that this success plan is created from. |
|