v1

latestOpenAPI 3.1.0Apache 2.02026-07-245981,1853.0 MB
Documents

Create Document Version

Use this API to create a new version of a policy, standard, or procedure.

post/v1/{complianceType}/{policyId}/versions/create

Path parameters

complianceType'policies' | 'standards' | 'procedures' required

The type of compliance document.

policyIdstring uuid required

The unique identifier of the policy, standard, or procedure. This value is obtained using the Get List of Documents API.

Request body

policyContentType'PDF' | 'MS_WOPI' required

The method used to build the policy, standard, or procedure.

attachmentIdstring uuid

The unique identifier of the file attached to the policy, standard, or procedure. This value is obtained using the Upload File API.

publishVersionType'Major' | 'Minor'

The version type of the policy, standard, or procedure.

versionSequenceinteger required

The version number of the policy, standard, or procedure. The number should be incremented to the next major or minor version based on the publishVersionType parameter.

status'DRAFT' | 'PUBLISHED' | 'ARCHIVED' required

The publish status for the version of the policy, standard, or procedure.

descriptionOfChangesstring

The description of changes made to the policy, standard, or procedure for the version.

Response

Created