Build Product Territory Detailed Availability records using existing
Product Territory Availability records.
This action is available in API version 65.0 and later.
Supported REST HTTP Methods
URI: /services/data/vXX.X/actions/standard/buildProdTerrDtlAvlAction
Where XX.X is the latest API version.
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is your OAuth access token.
Inputs
| Input | Type | Description |
|---|---|---|
| productTerritoryAvailabilityId | String | Required ID of the Product Territory Availability record for the action to execute on. |
Outputs
| Output | Type | Description |
|---|---|---|
| resultText | String | Message indicating the result of the action. |
| success | Boolean | Indicates if the action was successful (true) or not (false). |
Example
This sample request is for the Build Product Territory Detailed Availability action.
{
"inputs": [
{
"productTerritoryAvailabilityId": "1Kwxx0000004CxxCAE"
}
]
}
This sample input is for calling the Build Product Territory Detailed Availability action from the Apex code.
This sample response is for the Build Product Territory Detailed Availability action.
[
{
"outputValues": {
"success": true,
"resultText": "Product Territory Detailed Availabilities built successfully."
}
}
]