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": "01d84e94-43f3-42d0-ba01-44e08cedf4de", "Title": "sample string 2", "Extension": "sample string 3", "CheckedOutToken": "9a5a547f-3a86-4db4-b9b1-b35cfdab06fa" }
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>9a5a547f-3a86-4db4-b9b1-b35cfdab06fa</CheckedOutToken> <Extension>sample string 3</Extension> <Id>01d84e94-43f3-42d0-ba01-44e08cedf4de</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. |