POST api/grh/history

Request Information

URI Parameters

None.

Body Parameters

dto_grh_history
NameDescriptionTypeAdditional information
max_results

integer

None.

flight_id

integer

None.

airline

string

None.

user_id

integer

None.

roles

string

None.

stations

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "max_results": 1,
  "flight_id": 2,
  "airline": "sample string 3",
  "user_id": 4,
  "roles": "sample string 5",
  "stations": [
    "sample string 1",
    "sample string 2"
  ]
}

text/html

Sample:
{"max_results":1,"flight_id":2,"airline":"sample string 3","user_id":4,"roles":"sample string 5","stations":["sample string 1","sample string 2"]}

application/xml, text/xml

Sample:
<GrhController.dto_grh_history xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiWorld.Controllers">
  <airline>sample string 3</airline>
  <roles>sample string 5</roles>
  <stations xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </stations>
  <user_id>4</user_id>
  <flight_id>2</flight_id>
  <max_results>1</max_results>
</GrhController.dto_grh_history>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.