Clause Versions Bulk Update (POST)

Asynchronously bulk update the status for all the clause versions of the specified regulation version or policy version. This API supports bulk updating a maximum of 10,000 clauses at one time.

Resource 

1/connect/compliance/clause-versions/bulk-status-update

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/compliance/clause-versions/bulk-status-update

{yourInstance} is the domain name of your Salesforce instance.

Available Version 

65.0

HTTP Methods 

POST

Request Body for POST 

JSON Example 

1{
2  "recordId": "00v00000000PP2",
3  "targetStatus": "Active"
4}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
recordIdStringID of the policy or regulation version record to update the clause versions for.Required65.0
targetStatusStringTarget status that you want to update the clause versions to.
Valid values are:
  • Active
  • Draft
  • PendingApproval
  • Published
  • Retired
  • Review

The Active, Draft, Published, and Retired statuses are applicable for both policy and regulation versions, and the associated cause version records.
The PendingApproval and Review statuses are applicable for only policy version and the associated clause version records.
Required65.0

Response Body for POST 

Clause Version Bulk Update Response