Newer Version Available

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

Compliance Procedure Async Evaluation (POST)

Asynchronously evaluate a compliance procedure with the business context. The asynchronous results are stored for a maximum of 3 months.
Resource
1/connect/compliance/procedure/procedureName/evaluation-async
Resource example
1https://yourInstance.salesforce.com/services/data/65.0/connect/compliance/procedure/ComplianceValidationProcedure/evaluation-async
Available version
65.0
HTTP methods
POST
Path parameter for POST
Parameter Name Type Description Required or Optional Available Version
procedureName String API name of the validation procedure to evaluate asynchronously. Required 65.0
Request body for POST
JSON example
1{
2  "businessOperationsProcess": "businessOperationsProcess1234",
3  "evaluations": [
4    {
5      "businessContext": [
6        {
7          "paramName": "accountId",
8          "paramValue": "00100000000AA1"
9        },
10        {
11          "paramName": "productId",
12          "paramValue": "00p00000000PP1"
13        }
14      ],
15      "transactionKey": "uuid-1234-5678-9012-eu",
16      "inContextOf": "abc"
17    }
18  ]
19}
Properties
Name Type Description Required or Optional Available Version
businessOperations​Process String API name of the business operations process for the evaluation. Optional 65.0
evaluations Compliance Procedure Evaluation Info Input[] Business context to be evaluated.

The synchronous evaluation API supports only one business context per validation, whereas the asynchronous evaluation API supports a list of business contexts per validation. Each business context can contain multiple sets of paramName and paramValue.

Required 65.0
Response body for POST
Compliance Procedure Async Evaluation