Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

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/v67.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