POST api/ReportHdrs

Request Information

URI Parameters

None.

Body Parameters

ReportHdr
NameDescriptionTypeAdditional information
Id

integer

None.

PNR

string

None.

ApcPct

decimal number

None.

ApcAmt

decimal number

None.

ValidAirline

string

None.

ContractId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PNR": "sample string 2",
  "ApcPct": 1.0,
  "ApcAmt": 1.0,
  "ValidAirline": "sample string 3",
  "ContractId": 1
}

application/xml, text/xml

Sample:
<ReportHdr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMS.Models">
  <ApcAmt>1</ApcAmt>
  <ApcPct>1</ApcPct>
  <ContractId>1</ContractId>
  <Id>1</Id>
  <PNR>sample string 2</PNR>
  <ValidAirline>sample string 3</ValidAirline>
</ReportHdr>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReportHdr
NameDescriptionTypeAdditional information
Id

integer

None.

PNR

string

None.

ApcPct

decimal number

None.

ApcAmt

decimal number

None.

ValidAirline

string

None.

ContractId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PNR": "sample string 2",
  "ApcPct": 1.0,
  "ApcAmt": 1.0,
  "ValidAirline": "sample string 3",
  "ContractId": 1
}

application/xml, text/xml

Sample:
<ReportHdr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMS.Models">
  <ApcAmt>1</ApcAmt>
  <ApcPct>1</ApcPct>
  <ContractId>1</ContractId>
  <Id>1</Id>
  <PNR>sample string 2</PNR>
  <ValidAirline>sample string 3</ValidAirline>
</ReportHdr>