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/v66.0/connect/compliance/clause-versions/bulk-status-update
Available version
65.0
HTTP methods
POST
Request body for POST
JSON example
1{
2  "recordId": "00v00000000PP2",
3  "targetStatus": "Active"
4}
Properties
Name Type Description Required or Optional Available Version
recordId String ID of the policy or regulation version record to update the clause versions for. Required 65.0
targetStatus String Target 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.

Required 65.0
Response body for POST
Clause Version Bulk Update Response