POST user/timeout

Request Information

URI Parameters

None.

Body Parameters

LogoutCredentials
NameDescriptionTypeAdditional information
username

string

Required

deviceID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "deviceID": "sample string 2"
}

text/html

Sample:
{"username":"sample string 1","deviceID":"sample string 2"}

application/xml, text/xml

Sample:
<LogoutCredentials xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities">
  <deviceID>sample string 2</deviceID>
  <username>sample string 1</username>
</LogoutCredentials>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LogoutCredentials'.

Response Information

Resource Description

LogoutResult
NameDescriptionTypeAdditional information
LogUserOut

boolean

None.

LogOutSuccessful

boolean

None.

LogOutMessage

string

None.

Username

string

None.

Response Formats

application/json, text/json

Sample:
{
  "LogUserOut": true,
  "LogOutSuccessful": true,
  "LogOutMessage": "sample string 3",
  "Username": "sample string 4"
}

text/html

Sample:
{"LogUserOut":true,"LogOutSuccessful":true,"LogOutMessage":"sample string 3","Username":"sample string 4"}

application/xml, text/xml

Sample:
<LogoutResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities">
  <LogOutMessage>sample string 3</LogOutMessage>
  <LogOutSuccessful>true</LogOutSuccessful>
  <LogUserOut>true</LogUserOut>
  <Username>sample string 4</Username>
</LogoutResult>