Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

Gannet API Documentation

Welcome to the official documentation for the Gannet API - a simple solution for booking flight, hotel, and more.

📚 Overview

Gannet API implements the JSON-RPC 2.0 specification, providing a robust and standardized way to handle travel-related operations. The API supports:

  • 🛫 Flight bookings, scheduling, and management
  • 🏨 Hotel search, booking, and reservation management
  • 🔐 Secure authentication and token management

🚀 Quick Start

Interactive API Explorer

Try out the API methods directly in your browser using our Interactive API Playground.

Development Tools

This repository includes ready-to-use Bruno collections in the ./pub/bruno directory. Bruno provides a lightweight, fast, and modern alternative to Postman for API testing and exploration.

📖 API Methods Reference

🔑 Authentication

Method Description Example
token:create Generate authentication token View Example

✈️ Flight Operations

Method Description Example
flight:schedule:list List available flights View Example
flight:schedule:fare Get flight pricing View Example
flight:book Create flight booking View Example
flight:sync Synchronize booking status View Example
flight:cancel Cancel flight booking View Example
flight:issue Issue flight tickets View Example

🏨 Hotel Operations

Method Description Example
hotel:destinations:list Search destinations View Example
hotel:searchby:destination Find hotels by location View Example
hotel:fetch:detail Get hotel details View Example
hotel:fetch:booking Get booking details View Example
hotel:fetch:rooms Get available rooms View Example
hotel:room:checkprice Verify room pricing View Example
hotel:book Create hotel booking View Example
hotel:cancel Cancel hotel booking View Example
hotel:issue Issue hotel voucher View Example

🔄 Workflow Guides

Flight Booking Workflow

  1. Search Phase

    • Search flight schedules using flight:schedule:list
    • Verify pricing with flight:schedule:fare
  2. Booking Phase

    • Create booking using flight:book
    • Monitor booking status with flight:sync
  3. Completion Phase Either:

    • Issue tickets using flight:issue
    • Or cancel booking using flight:cancel

View Complete Flight Booking Example

Hotel Booking Workflow

  1. Search Phase

    • Find destinations using hotel:destinations:list
    • Search hotels using hotel:searchby:destination
    • Get detailed information with hotel:fetch:detail
    • Check room availability using hotel:fetch:rooms
  2. Room Selection Understanding roomCombinationType:

    • FixedRoomCombination: Must select specific room combinations
    • FreeRoomCombination: Flexible room selection
    • IdenticalRoomCombination: All rooms must be same type
  3. Price Verification

    • Verify current room pricing using hotel:room:checkprice
    • This ensures prices haven't changed before booking
  4. Booking Phase

    • Create booking using hotel:book
    • Monitor status with hotel:fetch:booking
  5. Completion Phase Either:

    • Issue voucher using hotel:issue
    • Or cancel booking using hotel:cancel

View Complete Hotel Booking Example

💡 Integration Best Practices

  1. Performance Optimization

    • Enable HTTP compression for all requests
    • Consider implementing response caching for destination lists
    • Use separate requests per supplier for faster hotel searches
  2. Error Handling

    • Always check result.status in responses
    • Implement proper retry mechanisms for transient failures
  3. Booking Management

    • Implement automatic booking synchronization
    • Set up monitoring for booking deadlines
    • Handle cancellation deadlines proactively

🔒 Security Considerations

  1. Token Management

    • Store tokens securely
    • Implement token refresh mechanism
    • Never expose tokens in client-side code
  2. Request Signing

    • Always include proper signatures
    • Use secure random generators for nonces
    • Implement timestamp validation

🆘 Support

For technical support or questions:

  • Check our example implementations
  • Review the full API schema
  • Contact our support team (contact details in your service agreement)

For detailed schema definitions and data types, refer to the Schema Reference section below.

Request and response examples:

Consult the example folder for request and response examples.

Also see full flight booking flow and full hotel booking flow for end-to-end request and response examples.


Method Reference

Auth

"token:create"

  • Request Parameters

    • username (UserName, required) - Api credentials username
    • password (Password, required) - Api credentials password
    • signature (Signature, required) - Api credentials computed signature
  • Response

    • result (RPCResult, required)
    • token (string, required)

Flight

"flight:schedule:list"

  • Request Parameters

    • carriers (Carriers, required) - Array of carrier codes
    • paxCount (PaxCount, required) - Passenger counts
    • schedules (Array of Schedule, required) - Flight schedules
  • Response

"flight:schedule:fare"

"flight:book"

"flight:sync", "flight:cancel", "flight:issue"

Hotel

"hotel:destinations:list"

  • Request Parameters

    • term (Term, required) - Search term
  • Response

    • result (RPCResult, required)
    • destinations (Array of Destination, required)

"hotel:searchby:destination"

  • Request Parameters

    • destinationKey (DestinationKey, required)
    • totalRooms (number, required)
    • totalAdults (number, required)
    • totalChilds (number, required)
    • checkInDate (DateYMD, required)
    • checkOutDate (DateYMD, required)
    • childrenAges (ChildrenAges, required)
  • Response

    • result (RPCResult, required)
    • hotelLists (Array of HotelResult, required)

"hotel:fetch:detail"

  • Request Parameters

  • Response

    • result (RPCResult, required)
    • hotel (Hotel, required)

"hotel:fetch:rooms"

  • Request Parameters

    • id (HotelID, required)
    • searchKeyData (string, required)
    • agentCodes (Array of AgentCode, required)
  • Response

    • result (RPCResult, required)
    • hotelLists (Array of HotelResult, required)

"hotel:room:checkprice"

  • Request Parameters

  • Response

    • result (RPCResult, required)
    • hotelRoomCheckPriceResponse (HotelRoomCheckPriceResponse, required)

"hotel:book"

"hotel:fetch:booking", "hotel:cancel", "hotel:issue"

  • Request Parameters

    • agentCode (AgentCode, required)
    • bookingID (BookingID, required)
    • remark (string, required) - Only for cancel/issue
  • Response

    • result (RPCResult, required)
    • booking (Booking, required)

Schema Reference

Common Types

DateYMD (string)

Date in YYYY-MM-DD format

DateTimeLocal (string)

Date and time in YYYY-MM-DDTHH:mm format at local timezone

DateTimeUTC (string)

Date and time in YYYY-MM-DDTHH:mm format at UTC timezone

AgentCode (string)

Agent code identifier

AgentCodes (string[])

Array of agent codes

BookingID (string)

Booking identifier

BookingCode (string)

Booking code identifier

BookingStatus (enum)

Values: "BOOKED" | "CANCELLED" | "TICKETED"

SupplairCode (string)

Supplier airline code identifier

SupplierCode (string)

Supplier code identifier (e.g., "MGH")

VendorCode (string)

Vendor code identifier (e.g., "QILIN")

Response Types

RPCResult (object)

  • result (object, required)
    • time (ProcessTime, required)
    • status (ResultStatus, required)
    • errors (ResultErrors, optional)

ProcessTime (object)

  • request (number, required)
  • response (number, required)
  • process (number, required)
  • unit ("ms", required)

ResultStatus (enum)

Values: "OK" | "ERROR"

ResultErrors (string[])

Array of error messages

SearchKeyData (string)

Encrypted search key data used for hotel room searches

Flight Types

JourneyType (enum)

Values: "OW" (One Way) | "RT" (Round Trip)

JourneyID (string)

Journey identifier (e.g., "QG194HLPDPS")

SegmentID (string)

Segment identifier (e.g., "QG194~~HLPDPS2025-04-01T17:052025-04-01T19:55")

LegID (string)

Leg identifier (e.g., "HLPDPS2025-04-01T17:05~2025-04-01T19:55")

PaxType (enum)

Passenger type. Values: "ADT" (Adult) | "CHD" (Child) | "INF" (Infant)

PaxCount (object)

  • ADT (number, required) - Adult count, min: 1
  • CHD (number, required) - Child count, min: 0
  • INF (number, required) - Infant count, min: 0

Schedule (object)

  • origin (StationCode, required)
  • destination (StationCode, required)
  • departureDate (DateYMD, required)
  • returnDate (DateYMD, optional)

Journey (object)

  • journeyID (string, required)
  • origin (StationCode, required)
  • destination (StationCode, required)
  • segmentIDS (string[], required)

Segment (object)

  • segmentID (SegmentID, required)
  • origin (Station, required)
  • destination (Station, required)
  • arrivalDateTime (DateTimeLocal, required)
  • departureDateTime (DateTimeLocal, required)
  • stopOver (number, required)
  • operatingCarrierInfo (CarrierInfo, required)
  • marketingCarrierInfo (CarrierInfo, required)
  • legIDS (LegID[], required)

SegmentResult (object)

Used in schedule fare info response

  • segmentID (SegmentID, required)
  • operatingCarrierInfo (CarrierInfo, required)
  • marketingCarrierInfo (CarrierInfo, required)
  • originCode (StationCode, required)
  • destinationCode (StationCode, required)
  • departureDateTime (DateTimeLocal, required)
  • arrivalDateTime (DateTimeLocal, required)
  • arrivalTz (number, optional) - Timezone offset for arrival
  • departureTz (number, optional) - Timezone offset for departure

Leg (object)

  • legID (LegID, required)
  • origin (Station, required)
  • destination (Station, required)
  • departureDateTime (DateTimeLocal, required)
  • arrivalDateTime (DateTimeLocal, required)

ContactInfo (object)

  • title (string, required)
  • firstName (string, required)
  • lastName (string, required)
  • phoneNumber (string, required)
  • email (string, required)

Pax (object)

  • paxType (PaxType, required)
  • paxID (string, required)
  • paxRefID (string, optional) - Reference ID for passenger in booking
  • nationality (string, required) - ISO country code (e.g., "ID")
  • title (string, required) - e.g., "MR", "MRS", "MS"
  • firstName (string, required)
  • lastName (string, required)
  • dob (DateYMD, required) - Date of birth
  • freeCheckinBaggage (FreeCheckinBaggage[], optional)

FreeCheckinBaggage (object)

  • baggageRoute (string, required) - Route code (e.g., "HLP-DPS")
  • baggageWeight (string, required) - Weight value (e.g., "15")
  • baggageUnit (string, required) - Weight unit (e.g., "KG")

Booking Types

BookingPNR (object)

  • supplairCode (SupplairCode, required)
  • agentCode (AgentCode, required)
  • info (BookingInfo, required)
  • bookingSummary (BookingFareSummary, required)
  • bookingTimeLimit (DateTimeUTC, required)
  • bookingDateTime (DateTimeUTC, required)
  • scheduleFareDetail (ScheduleFareDetailResult[], required)
  • bookingID (BookingID, required)
  • bookingStatus (BookingStatus, required)
  • bookingCode (BookingCode, required)

BookingInfo (object)

  • contactInfo (ContactInfo, required)
  • paxs (Pax[], required)
  • journeys (BookingJourney[], required)
  • segments (SegmentResult[], required)

BookingJourney (object)

  • journeyID (JourneyID, required)
  • originCode (StationCode, required)
  • destinationCode (StationCode, required)
  • segmentIDS (SegmentID[], required)

BookingFareSummary (object)

  • totalBaseFare (number, required)
  • totalTax (number, required)
  • totalFare (number, required)
  • agentIssuedFee (number, optional)
  • agentSellingFare (number, optional)
  • agentServiceFee (number, optional)
  • agentServiceFeePPN (number, optional)
  • NTSA (number, required)
  • totalPrepaidBaggage (number, required)
  • totalNTA (number, required)
  • wholesalerFee (number, required)

Fare Types

Fare (object)

  • fareCode (string, required)
  • fareBasisCode (string, required)
  • fareGroupCode (FareGroupCode, required)
  • seatAvailable (number, required)
  • baggageFree (BaggageFree, required)
  • canBuyAdditionalBaggage (boolean, required)
  • currencyCode (string, required)
  • agentOffersFare (AgentOffers[], required)

BaggageFree (object)

  • weight (string, required) - Weight value (e.g., "15")
  • unit (string, required) - Weight unit (e.g., "KG")

FareGroupCode (enum)

Fare class codes. Values:

  • "E" - Economy
  • "PE" - Premium Economy
  • "B" - Business
  • "F" - First
  • "PF" - Premium First

AgentOffers (object)

  • agentCode (AgentCode, required)
  • supplairCode (SupplairCode, required)
  • isSupportNKRI (boolean, optional)
  • offers (Offer[], required)

Offer (object)

  • paxType (PaxType, required)
  • baseFare (number, required)
  • totalTax (number, required)
  • totalFare (number, required)
  • agentServiceFee (number, required)
  • agentServiceFeePPN (number, required)
  • agentIssuedFee (number, optional)
  • agentSellingFare (number, required)

FareDetail (object)

  • paxType (PaxType, required)
  • price (FarePrice, required)
  • fareComponent (FareComponent[], optional)
  • paxRefID (string, optional) - Reference to passenger ID

FarePrice (object)

  • baseFare (number, required)
  • taxs (FareTax[], required)
  • totalTax (number, required)
  • totalPublishFare (number, optional)
  • agentServiceFee (number, optional)
  • agentServiceFeePPN (number, optional)
  • agentIssuedFee (number, optional)
  • agentSellingFare (number, optional)

FareComponent (object)

  • fareGroupCode (FareGroupCode, required)
  • fareCode (string, required)
  • fareBasisCode (string, required)
  • segmentID (SegmentID, required)

FareTax (object)

  • taxCode (string, required) - Tax code (e.g., "SC", "IWJR", "PSC", "VAT", "VS")
  • taxFare (number, required)

FareSummary (object)

  • totalBaseFare (number, required)
  • totalTax (number, required)
  • totalFare (number, required)
  • totalPrepaidBaggage (number, optional)
  • agentServiceFee (number, optional)
  • agentServiceFeePPN (number, optional)
  • agentIssuedFee (number, optional)
  • agentSellingFare (number, optional)

FareSSR (object)

Special Service Request for baggage

  • ssrType (string, required) - Type of SSR (e.g., "BAGGAGE")
  • ssrCode (string, required)
  • ssrText (string, required)
  • ssrPrice (number, required)
  • ssrRoute (string, required)
  • ssrWeight (string, required)
  • ssrUnit (string, required)

FareSegmentSSR (object)

  • segmentID (SegmentID, required)
  • ssrs (FareSSR[], required)

JourneySegmentFare (object)

  • journeyID (JourneyID, required)
  • segmentFares (SegmentFare[], required)

SegmentFare (object)

  • segmentID (SegmentID, required)
  • fares (Fare[], required)

SegmentFareSelection (object)

Used in schedule fare request/booking params

  • fareGroupCode (FareGroupCode, required)
  • fareCode (string, required)
  • fareBasisCode (string, required)
  • segmentID (SegmentID, required)

Carrier Types

Carrier (string)

Carrier code (e.g., "QG", "GA")

CarrierCode (string)

Carrier/airline code identifier

FlightNumber (string)

Flight number (e.g., "194")

CarrierInfo (object)

  • carrierCode (CarrierCode, required)
  • flightNumber (FlightNumber, required)
  • opSuffix (string, optional)

Carriers (string[])

Array of carrier codes

Station Types

Station (object)

  • code (StationCode, required)
  • tz (number | "?", required)

StationCode (string)

Station code identifier

Hotel Types

HotelID (string)

Hotel ID identifier (hashed/encrypted ID)

Destination (object)

  • destinationName (string, required) - Destination name (e.g., "Malang")
  • destinationText (string, required) - Full destination text (e.g., "Malang, Indonesia")
  • destinationKey (DestinationKey, required) - Encrypted destination key for searches
  • countryCode (string, required) - ISO country code (e.g., "ID")

HotelResult (object)

Hotel search result from hotel:searchby:destination

  • id (HotelID, required)
  • name (string, required)
  • description (string, required)
  • address (string, required)
  • destinationName (string, required)
  • countryName (string, required)
  • countryCode (string, required)
  • star (number, required) - Hotel star rating (1-5)
  • latitude (number, required)
  • longitude (number, required)
  • pictureUrl (string, nullable)
  • agentSellingPrice (AgentSellingPrice[], required)

AgentSellingPrice (object)

  • agentCode (AgentCode, required)
  • vendorCode (VendorCode, required)
  • lowestPrice (LowestPrice, required)

LowestPrice (object)

  • currencyCode (string, required) - e.g., "IDR"
  • totalPrice (number, required)
  • supplierCode (SupplierCode, required)
  • typeOfRate (string, required) - e.g., "AG"

HotelInformation (object)

Hotel detail from hotel:fetch:detail

  • id (HotelID, required)
  • name (string, required)
  • description (string, required)
  • address (string, required)
  • destinationName (string, required)
  • countryName (string, required)
  • countryCode (string, required)
  • star (number, required)
  • latitude (number, required)
  • longitude (number, required)
  • pictureUrls (string[], required)
  • phoneNumber (string, optional)
  • fax (string, optional)
  • websiteUrl (string, optional)
  • checkinInfo (string, required) - Check-in time (e.g., "14:00:00")
  • checkoutInfo (string, required) - Check-out time (e.g., "12:00:00")
  • facilityList (string[], required)
  • roomFacilityList (string[], required)
  • amenityList (string[], required)
  • attractionList (string[], required)
  • locationList (string[], required)
  • typeOfRate (string, required)
  • supplierCode (SupplierCode, required)

HotelRoomInformation (object)

Room information from hotel:fetch:rooms

  • hotelID (HotelID, required)
  • agentCode (AgentCode, required)
  • supplierCode (SupplierCode, required)
  • checkInDate (DateYMD, required)
  • checkOutDate (DateYMD, required)
  • numberOfNights (number, required)
  • totalNumberOfRooms (number, required)
  • roomCombinationType (RoomCombinationType, required)
  • roomIndexCombinationList (RoomIndexCombination[], required)
  • roomInformations (RoomInformation[], required)
  • typeOfRate (string, required)

RoomCombinationType (enum)

Values:

  • "FixedRoomCombination" - Must select specific room combinations
  • "FreeRoomCombination" - Flexible room selection
  • "IdenticalRoomCombination" - All rooms must be same type

RoomIndexCombination (object)

  • numberOfRooms (number, required)
  • roomNumber (number, required)
  • roomGroup (number, required)
  • roomIndexSequence (number[], required) - Array of valid room indices

RoomInformation (object)

  • roomIndex (number, required)
  • roomID (string, required) - Room identifier/key
  • roomName (string, required)
  • roomDescription (string, required)
  • roomSize (string, required)
  • roomMaxOccupancy (number, required)
  • roomBoardCode (string, required) - e.g., "RO" (Room Only), "BDBF" (Breakfast)
  • roomBoardInclusion (string, required) - e.g., "Room Only", "Breakfast"
  • roomPrice (RoomPrice, required)
  • roomBed (RoomBed, required)
  • roomAmenities (string[], required)
  • roomSupplementList (object[], required)
  • roomCancellationPolicyList (RoomCancellationPolicyList, required)
  • nightlyRates (number[], optional) - Price per night breakdown

RoomPrice (object)

  • currencyCode (string, required)
  • totalPrice (number, required)
  • supplierNTA (number, optional) - Supplier net amount
  • agentServiceFee (number, optional)
  • agentServiceFeePPN (number, optional)
  • agentIssuedFee (number, optional)
  • agentSellingFare (number, optional)
  • TOPSellingFare (number, optional)
  • platformFee (number, optional)
  • platformFeeAmount (number, optional)
  • discountCBD (number, optional)
  • discountCBDAmount (number, optional)

RoomBed (object)

  • bedCount (string, required) - Number of beds or "N/A"
  • bedType (string, required) - Bed type or "N/A"
  • bedText (string, required) - Bed description or "N/A"

RoomCancellationPolicyList (object)

  • isCancellable (boolean, required)
  • lastCancellationDeadline (string, required) - ISO datetime
  • defaultPolicy (string, required)
  • autoCancellationText (string, required)
  • textualPolicyList (string[], required)
  • noShowCharges (object[], required)
  • roomCancellationCharges (RoomCancellationCharge[], required)

RoomCancellationCharge (object)

  • fromDate (string, required) - ISO datetime
  • toDate (string, required) - ISO datetime
  • chargeType (string, required) - e.g., "Percentage"
  • currencyCode (string, required)
  • chargeAmount (number, required) - Charge percentage or amount

RoomSelected (object)

  • agentCode (AgentCode, required)
  • hotelID (HotelID, required)
  • roomIDS (RoomID[], required)

RoomID (object)

  • roomNumber (number, required) - Room number in booking
  • roomID (string, required) - Room identifier from room search
  • roomPriceKey (string, optional) - Room price key

RoomHolder (object)

Contact person for hotel booking

  • firstName (string, required)
  • lastName (string, required)
  • email (string, optional)
  • phone (string, optional)

RoomGuest (object)

  • roomNumber (number, required) - Room number (1-indexed)
  • type (RoomGuestType, required)
  • title (string, required) - e.g., "MR", "MRS", "MS"
  • firstName (string, required)
  • lastName (string, required)

RoomGuestType (enum)

Values: "ADT" (Adult) | "CHD" (Child)

RoomGuestData (object)

  • roomHolder (RoomHolder, required)
  • roomGuestList (RoomGuest[], required)

SupplierInformation (object)

  • supplierCode (SupplierCode, required)
  • typeOfRate (string, required)
  • supplierTripId (string, optional)
  • supplierUpstreamVoucherCode (string, optional)
  • supplierUpstreamRef (string, optional)
  • supplierUpstreamConfirmationCode (string, optional)
  • supplierConfirmationCode (string, optional)
  • creationDate (string, nullable)
  • creationUser (string, nullable)
  • currencyCode (string, nullable)
  • pendingAmount (number, nullable)
  • invoiceCompany (string, nullable)
  • modificationPolicies (object, nullable)

VendorInformation (object)

  • vendorCode (VendorCode, required)
  • locatorCode (string, required)
  • toSupplierRef (string, required)
  • fromClientRef (string, required)
  • bookedAt (string, required) - ISO datetime
  • voucheredAt (string, nullable)
  • cancelledAt (string, nullable)
  • bookingStatus (string, required) - e.g., "CONFIRMED"
  • voucherStatus (string, nullable) - e.g., "VOUCHERED"
  • cancelStatus (string, nullable) - e.g., "CANCELLED"

HotelBookingResponse (object)

Response from hotel:book

  • agentCode (AgentCode, required)
  • bookingID (BookingID, required)
  • supplierInformation (SupplierInformation, required)
  • vendorInformation (VendorInformation, required)
  • hotelInformation (HotelBookingInfo, required)
  • hotelRoomInformation (HotelBookingRoomInfo[], required)
  • hotelRoomGuestData (RoomGuestData, required)
  • roomCombinationType (RoomCombinationType, required)
  • roomIndexCombinationList (RoomIndexCombination[], required)
  • remarkList (RemarkList, required)

HotelBookingInfo (object)

Hotel info in booking response

  • id (string, required) - Supplier hotel ID
  • name (string, required)
  • description (string, required)
  • address (string, required)
  • star (number, required)
  • checkInDate (DateYMD, required)
  • checkInInfo (string, required)
  • checkOutDate (DateYMD, required)
  • checkOutInfo (string, required)
  • countryCode (string, required)
  • countryName (string, required)
  • destinationName (string, required)
  • latitude (number, required)
  • longitude (number, required)
  • pictureUrl (string, required)
  • norms (string[], required)

HotelBookingRoomInfo (object)

  • roomIndex (number, required)
  • roomID (string, required)
  • roomName (string, required)
  • roomBoardInclusion (string, required)
  • roomSupplementList (object[], nullable)
  • roomPrice (RoomPrice, required)
  • roomNote (string, nullable)
  • numberOfRooms (number, required)
  • numberOfAdults (number, required)
  • numberOfChildrens (number, required)
  • numberOfInfants (number, required)
  • roomCancellationPolicyList (RoomCancellationPolicyList, required)

HotelRoomCheckPriceResponse (object)

Response from hotel:room:checkprice

  • hotelID (object, required)
    • supplierCode (SupplierCode, required)
    • hotelID (string, required) - Supplier hotel ID
  • agentCode (AgentCode, required)
  • supplierCode (SupplierCode, required)
  • checkInDate (DateYMD, required)
  • checkOutDate (DateYMD, required)
  • numberOfNights (number, required)
  • totalNumberOfRooms (number, required)
  • roomCombinationType (RoomCombinationType, required)
  • roomIndexCombinationList (RoomIndexCombination[], required)
  • roomInformations (RoomInformation[], required)

Other Types

ClientReference (string)

Client reference identifier

ChildrenAges (number[])

Array of children ages

RemarkList (string[])

Array of remarks

Term (string)

Search term

DestinationKey (string)

Destination key identifier

Auth Types

UserName (string)

Api credentials username

Password (string)

Api credentials password

Signature (string)

Api credentials computed signature md5(username + password + pre-shared-key)

Flight Types

ScheduleInfo (object)

  • journeys (Journey[], required)
  • segments (Segment[], required)
  • legs (Leg[], required)

ScheduleResult (object)

  • journeyType (JourneyType, required)
  • journeyIDS (JourneyID[], required)
  • segmentIDS (SegmentID[], required)
  • currencyCode (string, optional)
  • journeySegmentFares (JourneySegmentFare[], required)

ScheduleFareInfoParams (object)

  • totalPaxs (PaxCount, required)

ScheduleFareInfo (object)

  • totalPaxs (PaxCount, required)
  • segments (SegmentResult[], required)
  • journeys (BookingJourney[], optional)

ScheduleFareDetails (object)

  • journeyIDS (JourneyID[], required)
  • segmentIDS (SegmentID[], required)
  • agentCode (AgentCode, required)
  • journeySegmentFares (JourneySegmentFareSelection[], required)
  • isCombinedJourneys (boolean, required)

JourneySegmentFareSelection (object)

Used in schedule fare request

  • journeyID (JourneyID, required)
  • segmentFares (SegmentFareSelection[], required)

ScheduleFareDetailResult (object)

  • journeyIDS (JourneyID[], required)
  • segmentIDS (SegmentID[], required)
  • agentCode (AgentCode, required)
  • supplairCode (SupplairCode, required)
  • fareDetails (FareDetail[], required)
  • fareSummary (FareSummary, required)
  • segmentSSRS (FareSegmentSSR[], optional)

FlightBookInfo (object)

  • contactInfo (ContactInfo, required)
  • paxs (Pax[], required)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages