GET api/ReportSegments/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

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.

Response 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-10-22T18:18:20.562528-04: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-10-22T18:18:20.562528-04: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>