GET api/NNV/getPaxBooking?flightNumber={flightNumber}&station={station}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
flightNumber

string

Required

station

string

Required

Body Parameters

None.

Response Information

Resource Description

AS_TotalPaxBooking_Result
NameDescriptionTypeAdditional information
DepartureDate

date

None.

FlightNumber

string

None.

DepartureStation

string

None.

ArrivalStation

string

None.

STD

time interval

None.

STA

time interval

None.

EquipmentType

string

None.

JumlahBooking

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DepartureDate": "2024-12-21T13:51:45.70338+07:00",
  "FlightNumber": "sample string 2",
  "DepartureStation": "sample string 3",
  "ArrivalStation": "sample string 4",
  "STD": "00:00:00.1234567",
  "STA": "00:00:00.1234567",
  "EquipmentType": "sample string 5",
  "JumlahBooking": 1
}

text/xml

Sample:
<AS_TotalPaxBooking_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiEramp.Models">
  <ArrivalStation>sample string 4</ArrivalStation>
  <DepartureDate>2024-12-21T13:51:45.70338+07:00</DepartureDate>
  <DepartureStation>sample string 3</DepartureStation>
  <EquipmentType>sample string 5</EquipmentType>
  <FlightNumber>sample string 2</FlightNumber>
  <JumlahBooking>1</JumlahBooking>
  <STA>PT0.1234567S</STA>
  <STD>PT0.1234567S</STD>
</AS_TotalPaxBooking_Result>