POST api/WebDavServer/DiscardCheckOut
Request Information
URI Parameters
None.
Body Parameters
DocumentSimpleName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
Required |
|
Title | string |
Required |
|
Extension | string |
Required |
|
CheckedOutToken | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "87c54f2a-47a7-4812-a717-90354c35b417", "Title": "sample string 2", "Extension": "sample string 3", "CheckedOutToken": "ffacb653-5db2-436d-bfa8-895c4a5fa088" }
application/xml, text/xml
Sample:
<DocumentSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Descartes.WebDavServer.DTO"> <CheckedOutToken>ffacb653-5db2-436d-bfa8-895c4a5fa088</CheckedOutToken> <Extension>sample string 3</Extension> <Id>87c54f2a-47a7-4812-a717-90354c35b417</Id> <Title>sample string 2</Title> </DocumentSimple>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |