POST api/flight/charterer/save

Request Information

URI Parameters

None.

Body Parameters

FlightChartererDto
NameDescriptionTypeAdditional information
Id

integer

None.

FlightId

integer

None.

ChartererId

integer

None.

Book

integer

None.

Capacity

integer

None.

Remark

string

None.

Adult

integer

None.

Child

integer

None.

Infanct

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FlightId": 2,
  "ChartererId": 3,
  "Book": 1,
  "Capacity": 1,
  "Remark": "sample string 4",
  "Adult": 1,
  "Child": 1,
  "Infanct": 1
}

text/html

Sample:
{"Id":1,"FlightId":2,"ChartererId":3,"Book":1,"Capacity":1,"Remark":"sample string 4","Adult":1,"Child":1,"Infanct":1}

application/xml, text/xml

Sample:
<FlightChartererDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AirpocketAPI.Controllers">
  <Adult>1</Adult>
  <Book>1</Book>
  <Capacity>1</Capacity>
  <ChartererId>3</ChartererId>
  <Child>1</Child>
  <FlightId>2</FlightId>
  <Id>1</Id>
  <Infanct>1</Infanct>
  <Remark>sample string 4</Remark>
</FlightChartererDto>

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.