PUT api/ReportSegments/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

ReportSegment
NameDescriptionTypeAdditional information
Id

integer

None.

PNR

string

None.

SegmentNo

integer

None.

Connection

string

None.

OperatingAirline

string

None.

Flight

integer

None.

Class

string

None.

Origin

string

None.

Destination

string

None.

DepartDate

date

None.

TripNo

integer

None.

FareBasis

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PNR": "sample string 2",
  "SegmentNo": 1,
  "Connection": "sample string 3",
  "OperatingAirline": "sample string 4",
  "Flight": 1,
  "Class": "sample string 5",
  "Origin": "sample string 6",
  "Destination": "sample string 7",
  "DepartDate": "2019-12-11T11:23:20.9456182-05:00",
  "TripNo": 1,
  "FareBasis": "sample string 8"
}

application/xml, text/xml

Sample:
<ReportSegment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMS.Models">
  <Class>sample string 5</Class>
  <Connection>sample string 3</Connection>
  <DepartDate>2019-12-11T11:23:20.9456182-05:00</DepartDate>
  <Destination>sample string 7</Destination>
  <FareBasis>sample string 8</FareBasis>
  <Flight>1</Flight>
  <Id>1</Id>
  <OperatingAirline>sample string 4</OperatingAirline>
  <Origin>sample string 6</Origin>
  <PNR>sample string 2</PNR>
  <SegmentNo>1</SegmentNo>
  <TripNo>1</TripNo>
</ReportSegment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.