POST api/YDLogout
Request Information
URI Parameters
None.
Body Parameters
LogoutRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"username": "sample string 1"
}
application/xml, text/xml
Sample:
<LogoutRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YAPI.Models"> <username>sample string 1</username> </LogoutRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LogoutResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| StatusCode | integer |
None. |
|
| SuccessMessage | string |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"StatusCode": 1,
"SuccessMessage": "sample string 2",
"ErrorMessage": "sample string 3"
}
application/xml, text/xml
Sample:
<LogoutResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YAPI.Models"> <ErrorMessage>sample string 3</ErrorMessage> <StatusCode>1</StatusCode> <SuccessMessage>sample string 2</SuccessMessage> </LogoutResponse>