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
/connect/manufacturing/transformations
Resource Example
https://yourInstance.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
{
  “inputObjectIds”: [
    “0sTxx000000003FEAQ”,
    “0sTxx000000004rEAA”,
    “0sTxx0000000001EAA”,
    “0sTxx000000001dEAA”
  ],
  “inputObjectName”: “LeadLineItem”,
  “usageType”: “TransformationMapping”,
  “outputObjectName”: “OpportunityLineItem”,
  “outputObjectDefaultValues”: {
    “OpportunityLineItem” : {
      “OpportunityId”: "abcd1234",
      “CurrencyIsoCode”:“USD” // This is required in mutli currency enabled org.
    }
  }
}
Properties
Name Type Description Required or Optional Available Version
inputObjectIds String[] 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. Required 55.0
inputObjectName String The name of the input object containing the mapping definition used to create the business transformation. Possible values are:
  • MfgProgramCpntFrcstFact
  • ManufacturingProgram
  • MfgProgramCpntFrcstFact
  • Period
  • Quote
  • QuoteLineItem
Required 55.0
outputObjectDefaultValues Map<String, String>> The default values for the output object that are created from the input object IDs. Optional 55.0
outputObjectName String The name of the output object that is created from the input object IDs. Required 55.0
usageType String Usage type of the transformation. Possible values are:
  • ConvertToSalesAgreement
  • CLMFieldMapping
  • EligibleProgramRebateType
  • MapJournalToMemberAggregate
  • TransformationMapping
Required 55.0
Response body for POST
Transformation Output