POST api/Flight/EndSession

Session End

Request Information

URI Parameters

None.

Body Parameters

EndSessionRequest
NameDescriptionTypeAdditional information
UserName

string

Required

Password

string

Required

Session

string

Required

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "Session": "sample string 3"
}

application/xml, text/xml

Sample:
<EndSessionRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <UserName>sample string 1</UserName>
  <Password>sample string 2</Password>
  <Session>sample string 3</Session>
</EndSessionRequest>

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 'EndSessionRequest'.

Response Information

Resource Description

EndSessionResponse
NameDescriptionTypeAdditional information
Status

string

None.

Response

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Response": "sample string 2"
}

application/xml, text/xml

Sample:
<EndSessionResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Status>sample string 1</Status>
  <Response>sample string 2</Response>
</EndSessionResponse>