POST api/WebDavServer/DiscardCheckOut
Request Information
URI Parameters
None.
Body Parameters
DocumentSimple| Name | 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": "2dd89a17-58f3-41e5-9028-ab62ef749b7b",
"Title": "sample string 2",
"Extension": "sample string 3",
"CheckedOutToken": "8261a99d-7d4b-42d0-b737-7d6d808d9fb2"
}
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>8261a99d-7d4b-42d0-b737-7d6d808d9fb2</CheckedOutToken> <Extension>sample string 3</Extension> <Id>2dd89a17-58f3-41e5-9028-ab62ef749b7b</Id> <Title>sample string 2</Title> </DocumentSimple>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |