POST api/User/logout

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

LoginResult
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

avatar

string

None.

token

string

None.

menu

Object

None.

message

string

None.

code

integer

None.

success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "avatar": "sample string 3",
  "token": "sample string 4",
  "menu": {},
  "message": "sample string 6",
  "code": 7,
  "success": true
}

application/xml, text/xml

Sample:
<LoginResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/hnrevaLandApi.Models">
  <avatar>sample string 3</avatar>
  <code>7</code>
  <id>1</id>
  <menu />
  <message>sample string 6</message>
  <name>sample string 2</name>
  <success>true</success>
  <token>sample string 4</token>
</LoginResult>