Contract Actions

Execute possible actions for a contract based on the status. Actions can trigger work flows and change the status for a contract.
Resource
/connect/clm/contract/${contractId}
Available version
56.0
HTTP methods
PATCH
Example for PATCH
https://yourInstance.salesforce.com/services/data/v56.0/clm/contract/${contractId}
Request body for PATCH
JSON example
{
    "actionApiName" : "updateEnvelopeStatus",
...."actionId" : //object state action definition id,
    "actionData":{
        "isUpdateEnvelopeStatusSuccess": true
    }
}
Properties
Name Type Description Required or Optional Available Version
actionApiName String API name for respective contract action. Optional 57.0
actionId String ID for Object state Action Definition record.

For the list of all standard actions supported, refer Predefined Dynamic (Contract) Actions.

Note

Optional 57.0
actionData Map<String, String> Action body with supported format string. Optional 57.0

For any request, either actionApiName or actionId must be passed. If none passed, the application raises an exception.

Note

Response body for PATCH
Generic Output Representation