Media Integration Procedure Action
This action is available in API version 61.0 and later.
Special Access Rules
To access this action, ensure that you have the Media Cloud Base user permission set enabled.
Supported REST HTTP Methods
- URI
- /services/data/v63.0/actions/custom/apex/vlocity_cmt__MediaIntegrationProcedureInvocable
- Formats
- JSON, XML
- HTTP Methods
- GET, HEAD, POST
- Authentication
- Authorization: Bearer token
Inputs
The input list can contain multiple key-value pairs as needed while you invoke the Integration Procedure.
Ensure that the procedureAPIName follows the Type_SubType format.
Input | Details |
---|---|
input |
|
procedureAPIName |
|
Outputs
Output | Details |
---|---|
output |
|
Usage
JSON Sample Request
{
"inputs": [
{
"procedureAPIName": "sfiAds_ProcessOrderActivation",
"input": [
{
"key": "orderIds",
"value": "801Hu000003g4J9IAI"
}
]
}
]
}
In a real scenario, replace the valid key value pairs from your Salesforce org.
JSON Sample Response
[
{
"actionName": "vlocity_cmt__MediaIntegrationProcedureInvocable",
"errors": null,
"invocationId": null,
"isSuccess": true,
"outputValues": {
"output": "{\"Quote_2\":[{\"UpsertSuccess\":true,\"Status\":\"Modified\",\"OpportunityId\":\"006Hu00001atbpBIAQ\",\"Id\":\"0Q0Hu000007qUxVKAU\"},{\"UpsertSuccess\":true,\"Status\":\"Modified\",\"OpportunityId\":\"006Hu00001atbpBIAQ\",\"Id\":\"0Q0Hu000007qUjzKAE\"},{\"UpsertSuccess\":true,\"Status\":\"Modified\",\"OpportunityId\":\"006Hu00001atbpBIAQ\",\"Id\":\"0Q0Hu000007qUqzKAE\"},{\"UpsertSuccess\":true,\"Status\":\"Modified\",\"OpportunityId\":\"006Hu00001atbpBIAQ\",\"Id\":\"0Q0Hu000007qUxSKAU\"}],\"Opportunity_1\":[{\"UpsertSuccess\":true,\"SyncedQuoteId\":\"0Q0Hu000007qXUfKAM\",\"Id\":\"006Hu00001atbpBIAQ\"}],\"error\":\"OK\",\"responseType\":\"SObject\"}"
},
"sortOrder": 0,
"version": 1
}
]