---
schema_version: "1"
id: 063c8947a32e6c7f6e3e67def7c69e5b417adb141b9a041380c318516e56b75f
title: Transformations (POST)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/connect_resources_transformations.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/connect_resources_transformations.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: fe7728a4854034e7294e88116d5d63cf28ddc0e6f5f681256739da6b8404779d
description: "Perform the business transformation of program component forecast data (source object) to opportunities (target object). The following are some of the transformation scenarios: MfgProgramCpntFrcstFact to Opportunity, ManufacturingProgram to Opportunity, MfgProgramCpntFrcstFact to OpportunityLineItem, and Period to OpportunityLineItemSchedule."
---
# Transformations (POST)

Perform the business transformation of program component forecast data (source object) to opportunities (target object). The following are some of the transformation scenarios: MfgProgramCpntFrcstFact to Opportunity, ManufacturingProgram to Opportunity, MfgProgramCpntFrcstFact to OpportunityLineItem, and Period to OpportunityLineItemSchedule.

## 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": "MfgProgramCpntFrcstFact",
  "usageType": "TransformationMapping",
  "outputObjectName": "Opportunity",
  "outputObjectDefaultValues": {
    "Opportunity": {
      "Pricebook2Id": "PriceBookID",
      "StageName": "Prospecting",
      "Probability": "20",
      "Name": "SampleFactToOpp",
      "CloseDate" : "2022-12-31"
    },
    "OpportunityLineItem" : {
      "TotalPrice": 1234,
      "CurrencyIsoCode":"USD" // This is required in mutli currenct enabled org.
    },
    "OpportunityLineItemSchedule": {
      "Type": "Both" // It's based on the product schedule enabled on setup.
    }
  }
}

### Properties

<table class="featureTable sort_table" summary="">





            <thead class="thead sorted" align="left">
              <tr>
                <th class="featureTableHeader vertical-align-top " id="d51183e159">Name</th>

                <th class="featureTableHeader vertical-align-top " id="d51183e162">Type</th>

                <th class="featureTableHeader vertical-align-top " id="d51183e165">Description</th>

                <th class="featureTableHeader vertical-align-top " id="d51183e168">Required or Optional</th>

                <th class="featureTableHeader vertical-align-top " id="d51183e171">Available Version</th>

              </tr>

            </thead>

            <tbody class="tbody">
              <tr>
                <td class="entry" headers="d51183e159" data-title="Name"><samp class="codeph nolang">inputObjectIds</samp></td>

                <td class="entry" headers="d51183e162" data-title="Type">String[]</td>

                <td class="entry" headers="d51183e165" data-title="Description">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.</td>

                <td class="entry" headers="d51183e168" data-title="Required or Optional">Required</td>

                <td class="entry" headers="d51183e171" data-title="Available Version">55.0</td>

              </tr>

              <tr>
                <td class="entry" headers="d51183e159" data-title="Name"><samp class="codeph nolang">inputObjectName</samp></td>

                <td class="entry" headers="d51183e162" data-title="Type">String</td>

                <td class="entry" headers="d51183e165" data-title="Description">The name of the input object containing the mapping definition used to create
                  the business transformation. Possible values are:<ul class="ul bulletList">
                    <li class="li"><samp class="codeph nolang">MfgProgramCpntFrcstFact</samp></li>

                    <li class="li"><samp class="codeph nolang">ManufacturingProgram</samp></li>

                    <li class="li"><samp class="codeph nolang">MfgProgramCpntFrcstFact</samp></li>

                    <li class="li"><samp class="codeph nolang">Period</samp></li>

                    <li class="li"><samp class="codeph nolang">Quote</samp></li>

                    <li class="li"><samp class="codeph nolang">QuoteLineItem</samp></li>

                  </ul>
                </td>

                <td class="entry" headers="d51183e168" data-title="Required or Optional">Required</td>

                <td class="entry" headers="d51183e171" data-title="Available Version">55.0</td>

              </tr>

              <tr>
                <td class="entry" headers="d51183e159" data-title="Name"><samp class="codeph nolang">outputObjectDefaultValues</samp></td>

                <td class="entry" headers="d51183e162" data-title="Type">Map&lt;String, String&gt;&gt;</td>

                <td class="entry" headers="d51183e165" data-title="Description">The default values for the output object that are created from the input
                  object IDs.</td>

                <td class="entry" headers="d51183e168" data-title="Required or Optional">Optional</td>

                <td class="entry" headers="d51183e171" data-title="Available Version">55.0</td>

              </tr>

              <tr>
                <td class="entry" headers="d51183e159" data-title="Name"><samp class="codeph nolang">outputObjectName</samp></td>

                <td class="entry" headers="d51183e162" data-title="Type">String</td>

                <td class="entry" headers="d51183e165" data-title="Description">The name of the output object that is created from the input object
                  IDs.</td>

                <td class="entry" headers="d51183e168" data-title="Required or Optional">Required</td>

                <td class="entry" headers="d51183e171" data-title="Available Version">55.0</td>

              </tr>

              <tr>
                <td class="entry" headers="d51183e159" data-title="Name"><samp class="codeph nolang">usageType</samp></td>

                <td class="entry" headers="d51183e162" data-title="Type">String</td>

                <td class="entry" headers="d51183e165" data-title="Description">Usage type of the transformation. Possible values are:<ul class="ul bulletList">
                    <li class="li"><samp class="codeph nolang">ConvertToSalesAgreement</samp></li>

                    <li class="li"><samp class="codeph nolang">CLMFieldMapping</samp></li>

                    <li class="li"><samp class="codeph nolang">EligibleProgramRebateType</samp></li>

                    <li class="li"><samp class="codeph nolang">MapJournalToMemberAggregate</samp></li>

                    <li class="li"><samp class="codeph nolang">TransformationMapping</samp></li>

                  </ul>
                </td>

                <td class="entry" headers="d51183e168" data-title="Required or Optional">Required</td>

                <td class="entry" headers="d51183e171" data-title="Available Version">55.0</td>

              </tr>

            </tbody>

          </table>

## Response Body for POST

[Transformation Output](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/connect_responses_transformation.htm "Represents the details of the transformation from source object to target object.")