/documents/{docPath}/newVersionWithTrackerLink - Add tracker link when document checked in

Checks in the working copy of the document and unlocks it. It also takes an additional piece of info (trackerId) in the request body, which is saved in the customProperties of the document. This is similar to how check in comments are saved.

End-point

PUT documents/{docPath}/newVersionWithTrackerLink

Path parameters

Field Description

docPath

Full path of the document in the repository

Note: Collection separators "/" must be encoded as "%7C".

Query string parameters

Field Description

revertFromVersion

Determines the revision for document reversion

revertIfNoChange

Determines whether the document should revert to its last revision if no updates occurred

Request body

Field Type Description

data

TrackerLinkRequest

The information to add to the revision history when checking in the document

Possible response

HTTP status Description

200

The operation completed successfully

401

There is no session or the session is invalid

Response body

Field Type Description

result

CheckInResult

The result indicates if the document was modified or not

Additional information

Note: If the CCMS realizes that the new revision is identical to the revision in the repository, it does not create a new revision.