Checks in a document

POST {{baseUrl}}/public/api/projects/v1/dbs/:dbid/projects/:projid/documents/:docid/actions/checkin?overlayid=<string>&lcid=<string>

This API can do a first checkin or a consecutive checkin.

  • Check if the document can be checked in , eg Check if the document is checked out .
  • Checks for Mandatory Attributes
  • Check in the document
The API expects multi-part form data that consists of

Sample format 1. values
[{ NestedName:string, //Required Value:string,
SIValue:double, LinkObject:{ UID:string, ProjectUID:string, OverlayUID:string }, XValues:[{ Index:int, XValue:string, SIXValue:double }] }] 2. comment comment:string 3. file : The file to be checked in

Request Params

KeyDatatypeRequiredDescription
overlayidstringOverlay id
lcidstringLanguage id

HEADERS

KeyDatatypeRequiredDescription
Comos-API-Sessionstring(Required) Comos SessionId that needs to be passed with every request except Login
Acceptstring