Media Integration Procedure Action

Call an Integration Procedure from a Salesforce Flow to process media content.

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 procedure​APIName follows the Type_SubType format.

Input Details
input
Type
string
Description
Required. Specifies a list of key-value pairs passed to the Integration Procedure.
procedure​APIName
Type
string
Description
Required. Specifies the name of the Integration Procedure to execute. The default format is Type_SubType. For example, sfiAds_ProcessOrderActivation.

Outputs

Output Details
output
Type
string
Description
The output returned by the Integration Procedure. The output of this action depends on the input Integration Procedure.

Usage

JSON Sample Request

{
  "inputs": [
    {
      "procedureAPIName": "sfiAds_ProcessOrderActivation",
      "input": [
        {
          "key": "orderIds",
          "value": "801Hu000003g4J9IAI"
        }
      ]
    }
  ]
}

The procedure​APIName must match the name of an existing Integration Procedure in your org.

Note

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
  }
]