Check in a File

post

/api/restapi/document/file/{id}/checkin

Send a request to this endpoint to check in a new version of an existing file.

Request

Path Parameters
Header Parameters
Supported Media Types
Request Body - application/octet-stream ()
Root Schema : schema
Type: object
Back to Top

Response

Supported Media Types

201 Response

The object was successfully created.
Body ()
Root Schema : ApiEntityDocument
Type: object
Title: ApiEntityDocument
Show Source
Nested Schema : annotationCount
Type: object
The total number of annotations created for the file.
Nested Schema : codeValuesDocument
Type: array
The list of code values for a file. This entity can only be used to assign codeValues or create codeValues on the fly.
Show Source
  • ApiEntityCodeValueDocument
    Title: ApiEntityCodeValueDocument
    This entity represents a CodeValueDocument object, a unique CodeValueDocument object can be identified by the following combinations of the fields.
    • codeValueDocumentId
    • codeValueId
    • codeValueCode,codeTypeId
    • codeValueCode,codeTypeCode
    • codeValueCode,codeTypeCode,projectCode
Nested Schema : documentConfiguredFields
Type: array
Unique Items Required: true
The list of configured fields for a file.
Show Source
Nested Schema : ApiEntityCodeValueDocument
Type: object
Title: ApiEntityCodeValueDocument
This entity represents a CodeValueDocument object, a unique CodeValueDocument object can be identified by the following combinations of the fields.
  • codeValueDocumentId
  • codeValueId
  • codeValueCode,codeTypeId
  • codeValueCode,codeTypeCode
  • codeValueCode,codeTypeCode,projectCode
Show Source
Nested Schema : ApiEntityDocumentConfiguredFieldValue
Type: object
Title: ApiEntityDocumentConfiguredFieldValue
Show Source

400 Response

Invalid input for the Document service. Verify the request contains valid data, then resubmit the request.

404 Response

The requested object does not exist, or you do not have access to it.
Back to Top