Newer Version Available

This content describes an older version of this product. View Latest

Perform Contract Action

Perform actions on a contract based on its status.

This action is available in API version 61.0 and later.

Supported REST HTTP Methods

URI
/services/data/v59.0/actions/standard/performContractAction
Formats
JSON, XML
HTTP Methods
POST
Authentication
Authorization: Bearer token

Inputs

Input Details
actionData
Type
String
Description

JSON expression that contains the additional data necessary to perform the action on the contract.

actionName
Type
ID
Description

Required.

API name of the action to perform on the contract.

contractId
Type
Boolean
Description

Required.

ID of the contract to perform the action on.

Output

Output Details
contractId
Type
String
Description

ID of the contract the action was performed on.

Usage

Sample Input

This sample request is for the Perform Contract action.

1{
2  "contractId": "800SG00000HtyxxYAB",
3  "actionName": "activateContract"
4  "actionData": "{\"testField\": \"testVal\"}"
5}
Sample Output

This sample response is for the Perform Contract action.

1{
2  "contractId": [
3    "800SB00000KLbHxxA1"
4  ]
5}