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/v68.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 Type Description
input string Required. Specifies a list of key-value pairs passed to the Integration Procedure.
procedure​APIName string Required. Specifies the name of the Integration Procedure to execute. The default format is Type_SubType. For example, sfiAds_ProcessOrderActivation.

Outputs

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

Usage

JSON Sample Request

1{
2  "inputs": [
3    {
4      "procedureAPIName": "sfiAds_ProcessOrderActivation",
5      "input": [
6        {
7          "key": "orderIds",
8          "value": "801Hu000003g4J9IAI"
9        }
10      ]
11    }
12  ]
13}

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

1[
2  {
3    "actionName": "vlocity_cmt__MediaIntegrationProcedureInvocable",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outputValues": {
8      "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\"}"
9    },
10    "sortOrder": 0,
11    "version": 1
12  }
13]