Removes the checkout status from a document.
| Name | Description | Default |
|---|---|---|
id
|
Document number (unique ID). |
Content Type:
application/xml
or
application/json
Empty response if successful or an error message.
| XML JSON |
|---|
<Response> <Message>string</Message> <!--Error message--> </Response> |
{
"Message": "string" // Error message
}
|
| Code | Condition |
|---|---|
| 204 No Content | The operation completed successfully. |
| 400 Bad Request | Invalid document number. |
| 401 Unauthorized | Access token is invalid, expired or not specified. |
| 403 Forbidden | User does not have permission to check the document in/out. |
| 404 Not Found | Document not found. |
| 406 Not Acceptable | Content type specified in the Accept header isn't supported. |
| 409 Conflict | Checkout status could not be discarded. |
| 500 Internal Server Error | An internal error occurred. |