POST api/reporting/save

Request Information

URI Parameters

None.

Body Parameters

dto_save_reporting_time
NameDescriptionTypeAdditional information
flight_id

integer

None.

crew_ids

Collection of integer

None.

reporting_time

string

None.

staff_id

integer

None.

airline_code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "flight_id": 1,
  "crew_ids": [
    1,
    2
  ],
  "reporting_time": "sample string 2",
  "staff_id": 3,
  "airline_code": "sample string 4"
}

text/html

Sample:
{"flight_id":1,"crew_ids":[1,2],"reporting_time":"sample string 2","staff_id":3,"airline_code":"sample string 4"}

application/xml, text/xml

Sample:
<ReportingTimeController.dto_save_reporting_time xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiWorld.Controllers">
  <airline_code>sample string 4</airline_code>
  <crew_ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </crew_ids>
  <flight_id>1</flight_id>
  <reporting_time>sample string 2</reporting_time>
  <staff_id>3</staff_id>
</ReportingTimeController.dto_save_reporting_time>

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.