Transformations

Perform the business transformation of lead line item or lead preferred seller data (source object) to opportunities line item or opportunity preferred seller data (target object). The following are some of the transformation scenarios: LeadLineItem to OpportunityLineItem, and LeadPreferredSeller to OpportunityPreferredSeller.

Resource 

1/connect/manufacturing/transformations

Resource Example 

1https://YOUR_INSTANCE.salesforce.com/services/data/vXX.X/connect​/manufacturing/transformations

Available Version 

55.0

Requires Chatter 

No

HTTP Methods 

POST

Request Body for POST 

JSON Example 

1{
2  “inputObjectIds”: [
3    “0sTxx000000003FEAQ”,
4    “0sTxx000000004rEAA”,
5    “0sTxx0000000001EAA”,
6    “0sTxx000000001dEAA”
7  ],
8  “inputObjectName”: “LeadLineItem”,
9  “usageType”: “TransformationMapping”,
10  “outputObjectName”: “OpportunityLineItem”,
11  “outputObjectDefaultValues”: {
12    “OpportunityLineItem” : {
13      “OpportunityId”: "abcd1234",
14      “CurrencyIsoCode”:“USD” // This is required in multi currency enabled org.
15    }
16  }
17}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
inputObjectIdsString[]The list of record IDs for the input object type containing the mapping definition used to create the business transformation. The list of IDs must all be for the same object type.Required55.0
inputObjectNameStringThe name of the input object containing the mapping definition used to create the business transformation. Possible values are:
  • MfgProgramCpntFrcstFact
  • ManufacturingProgram
  • MfgProgramCpntFrcstFact
  • Period
  • Quote
  • QuoteLineItem
Required55.0
outputObjectDefaultValuesMap<String, String>>The default values for the output object that are created from the input object IDs.Optional55.0
outputObjectNameStringThe name of the output object that is created from the input object IDs.Required55.0
usageTypeStringUsage type of the transformation. Possible values are:
  • ConvertToSalesAgreement
  • CLMFieldMapping
  • EligibleProgramRebateType
  • MapJournalToMemberAggregate
  • TransformationMapping
Required55.0

Response Body for POST 

Transformation Output