Orchestrate Transaction Action

Orchestrate a transaction for any domain-specific object, such as a collection plan for Revenue billing, that requires the composition and execution of a fulfillment plan.

Specify the ID of the transaction to orchestrate and the orchestration type. The orchestration process includes:

  • Composition of the orchestration plan
  • Execution of the fulfillment plan

This action is available in API version 66.0 and later.

Special Access Rules 

The Orchestrate Transaction action is available in Enterprise, Unlimited, and Developer Editions of Revenue Management. See the required permissions to access and call this invocable action.

Supported REST HTTP Methods 

URI: /services/data/v68.0/actions/standard/orchestrateTransaction

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a placeholder for your OAuth access token.

Inputs 

InputTypeDescription
transactionIdstringRequired. ID of the business object or domain object to be orchestrated, such as a Collection Plan ID.
orchestration​TypestringRequired. Type of orchestration that’s used to orchestrate the transaction. Valid values are Generic, Fulfillment, or Billing.

Outputs 

OutputTypeDescription
requestIdstringRequest ID of the invocation.
errorCodestringCode that corresponds to the type of encountered error.
fulfillment​PlanIdstringID of the composed fulfillment plan.
submitStatusstringSubmission status of the transaction that’s orchestrated. Valid values are Success or Error.

Example 

POST

This sample request is for the Orchestrate Transaction action.

1{
2  "inputs": [
3    {
4      "transactionId": "801xx000003GYexAAG",
5      "orchestrationType": "Fulfillment"
6    }
7  ]
8}

This sample response is for the Orchestrate Transaction action.

1[
2  {
3    "actionName": "orchestrateTransaction",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outcome": null,
8    "outputValues": {
9      "requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
10      "fulfillmentPlanId": "0000000s21to18g0009176412796953180a8259def914e1abbd863dde076b71f",
11      "submitStatus": "SUCCESS"
12    },
13    "sortOrder": -1,
14    "version": 1
15  }
16]