Developer documentation

Flights API

950+ airlines aggregated from multiple OTA and GDS. IATA not mandatory. Reference for every flights method: search, pricing, booking and post-booking.

All requests share the same headers: Content-Type: application/json, Accept-encoding: gzip, your PID and x-api-key. Pass the end customer's IPv4 address as Customer-Ip.

POST

Airport (IATA) Search

IATA codes are an integral part of the travel industry, and essential for the identification of an airline, its destinations and its traffic documents. They are also fundamental to the smooth running of hundreds of electronic applications which have been built around these coding systems for passenger and cargo traffic purposes. This GET call does not have any specific parameters. It enables the user to get a list of all airlines (both LC - legacy carrier and LCC - low cost carrier) together with their codes.

Parameters

Acceptstringheader

application/json

Accept - Encodingstringheader

gzip

Authorizationstringheader

Your PID

Your API Key

Customer-Ipstringheader

IP address of the customer, as captured by your integration. Send IPV4 addresses only.

Ensure your integration passes the customer’s IP, not your own. This value helps determine their location and other settings.

Also used for fraud recovery and other important analytics.

actionstringquery

"getLocations" as parameter

Action methods in Web API controller can have one or more parameters of different types. It can be either primitive type or complex type. Web API binds action method parameters either with URL's query string or with request body depending on the parameter type.

termstringquery

Relevant regions.

Specific information about the region e.g. whether it covers surrounding areas for a city. Only present when relevant for a region.

limitstringquery

Limit the number of records returned.

Request

POSThttps://your-end-point/api/v1/travel-api/flights/
Request
header: array(
'Content-Type:application/json',
'Accept-encoding: gzip',
'PID:'ADD-PID-KEY',
'x-api-key:'ADD-API-YOUR-KEY'
);

POST
{
  "action": "getLocations",
  "limit":"5",
  "locale":"en",
  "term":"delhi"

}

Response

The API returns an HTTP response, which generally includes the result of the request invocation

200 · application/json
 {
    "airports": [
        {
            "city_fullname": "Delhi,India",
            "code": "DEL",
            "CountryCode": "IN ",
            "CityCode": "DEL",
            "CityName": "Delhi",
            "search_type": 2,
            "PopularSearchCount": 0,
            "name": "Indira Gandhi Airport",
            "CountryName": "India"
        }
    ]
}
GET

Authenticate

Authenticate method will return the Token ID that needs to be echoed back in every subsequent request..

Parameters

Acceptstringheaderrequired

application/json

Accept - Encodingstringheaderrequired

gzip

Authorizationstringheaderrequired

Your API Key

Customer-Ipstringheaderrequired

IP address of the customer, as captured by your integration. Send IPV4 addresses only.

Ensure your integration passes the customer's IP, not your own. This value helps determine their location and other settings.

Also used for fraud recovery and other important analytics.

actionstringqueryrequired

"createToken" as a parameter

Request

GEThttps://your-end-point/api/v1/travel-api/flights/
Request
header: array(
'Content-Type:application/json',
'Accept-encoding: gzip',
'PID:'ADD-YOUR-PID'
'x-api-key:'ADD-YOUR-KEY'
);

GET: https://your-end-point/api/v1/travel-api/flights/?action=createToken

Response

The API returns an HTTP response, which generally includes the result of the request invocation

200 · application/json
{

      "TokenId": "b33c72c2-d87b-4e6a-a8a2-3a476ddb0fd0",
}
POST

Flights Fare Rule

This method is used to get the fare rules and condition of a specific flight option. It contains the fare basis code and the relevant details associated with it, such as restrictions and penalties(cancellation fees).

Parameters

Acceptstringheader

application/json

Accept - Encodingstringheader

gzip

Authorizationstringheader

Your PID

Your API Key

Customer-Ipstringheader

IP address of the customer, as captured by your integration. Send IPV4 addresses only.

Ensure your integration passes the customer’s IP, not your own. This value helps determine their location and other settings.

Also used for fraud recovery and other important analytics.

Definition and request parameters for flight farerule
actionstringquery

"fareRule" as parameter

Action methods in Web API controller can have one or more parameters of different types. It can be either primitive type or complex type. Web API binds action method parameters either with URL's query string or with request body depending on the parameter type.

ModeTypestringquery

either "Test" or "LIVE"

Your application must be approved from the Travlix team. All the transactions will be treated as LIVE once the parameter is set to LIVE.

ResultIndexstringquery

Result Index ie. "OB1"

TraceIdstringquery

Trace Id (Get Trace Id from search response)

Request

POSThttps://your-end-point/api/v1/travel-api/flights/
Request
header: array(
'Content-Type:application/json',
'Accept-encoding: gzip',
'PID:'ADD-YOUR-KEY',
'x-api-key:'ADD-YOUR-KEY'
);

POST:
{
  "action": "fareRule",
  "mode": "Test",
  "ResultIndex": "OB1",
  "TraceId": "da0b789a-f1c7-43dd-bcda-772890fe6edd"
}

Response

The API returns an HTTP response, which generally includes the result of the request invocation

200 · application/json
{
  "status": "200",
  "status_message": "OK",
  "responseData": {
    "Response": {
      "Error": {
        "ErrorCode": 0,
        "ErrorMessage": ""
      },
      "FareRules": [
        {
          "Airline": "AI",
          "DepartureTime": "2021-09-09T07:15:00",
          "Destination": "JAI",
          "FareBasisCode": "EIP9I",
          "FareRestriction": "",
          "FareRuleDetail": "Category- 16Details:- PENALTIES\nWITHIN INDIA FOR E-9I TYPE FARES\n  CHANGES/CANCELLATIONS\n    BEFORE DEPARTURE\n      PER COUPON CHARGE INR 3000 FOR CANCEL/REISSUE/\n        REVALIDATION.\n         NOTE -\n          FIRST CHANGE FREE FOR TICKETS ISSUED FOR TRAVEL\n          ON OR BEFORE 31 MAY 2021 TILL EXISTING TICKET\n          VALIDITY FOR 9I OPERATED FLTS ONLY\n          REISSUANCE FOR FIRST FREE CHANGE ONLY\n          PERMITTED BY AI ATO/CTO/GDS AND AI CALL CENTRE.\n          IN CASE OF CHANGE TO HIGHER RBD FOR TRAVEL\n          RE-ISSUANCE FEE WILL NOT BE  APPLICABLE. ONLY\n          DIFFERENCE IN TOTAL FARE IS TO BE  COLLECTED.\n          DOWNSELLING IS NOT ALLOWED\n          -------------------------------------------------\n          TEXT BELOW NOT VALIDATED FOR AUTOPRICING.\n          RE-ISSUANCE / RE-VALIDATION / CANCELLATION FEE -\n          INR 3000 OR BASIC FARE WHICH EVER IS LOWER TILL\n          24 HR BEFORE DEP. NOT PERMITTED LESS\n          THAN 24 HOURS BEFORE DEPARTURE.\n          --------------------------------------------------\n          THE CHANGE/REISSUE CHARGE IS NON - REFUNDABLE\n          --------------------------------------------------\n          NO RE-VALIDATION OR CANCELLATION FEE WOULD BE APPL\n          ICABLE ON INFANT TICKETS.\n          --------------------------------------------------\n          CANCELLATION FEE OF PARTLY USED TICKET\n          DEDUCT ONEWAY FARE AND LEVIES FOR THE TRAVELLED\n          SECTOR PLUS CANCELLATION FEE.\n          --------------------------------------------------\n          IN CASE OF CHANGE TO HIGHER RBD FOR TRAVEL ON THE\n          SAME DAY/SAME FLIGHT/RE-ISSUANCE FEE WILL NOT BE\n          APPLICABLE.ONLY DIFFERENCE IN TOTAL FARE IS TO BE\n          COLLECTED.\n          --------------------------------------------------\n          FOR WAIVER OF PENALTY ON ACCOUNT OF DEATH OF\n          PASSENGER OR IMMEDIATE FAMILY MEMBER PLS REFER\n          LAST PAGE\n          --------------------------------------------------\n          RESERVATIONS BOOKED MORE THAN 7 DAYS PRIOR TO\n          COMMENCEMENT OF TRAVEL MAY BE CANCELLED OR\n          AMENDED WITHIN 24 HOURS OF BOOKING TICKET WITHOUT\n          PENALTY.RESERVATIONS BOOKED WITHIN 7 DAYS OF\n          COMMENCEMENT OF TRAVEL ARE SUBJECT TO THE\n          APPLICABLE CANCELLATION PENALTY.\n    CHANGES/CANCELLATIONS PERMITTED FOR NO-SHOW.\n         NOTE -\n          TEXT BELOW NOT VALIDATED FOR AUTOPRICING.\n          CHANGES / CANCELLATION FEE IF CANCELLED\n          LESS THAN 24 HOUR BEFORE DEPARTURE - 100 PERCENT\n          OF BASIC FARE WILL BE FORFEITED.\n          --------------------------------------------------\n          THE CHANGE/REISSUE CHARGE IS NON - REFUNDABLE\n          --------------------------------------------------\n          CHARGES ARE NON-COMMISISONABLE.  APPLICABLE GST\n          WILL BE ADDITIONAL.\n          --------------------------------------------------\n          AIR INDIA NO-SHOW WAIVER AT AIRPORT - FOR RBDS -\n          H/K/Q/V/W/G/L/U/T/S/E IN CASE THE PASSENGER HAS\n          REPORTED AT THE AIRPORT AFTER CLOSURE OF COUNTER\n          BUT BEFORE DEPARTURE OF FLIGHT WOULD BE PERMITTED\n          TO ROLL OVER ON NO-SHOW AT A CHARGE OF INR 3500.\n          --------------------------------------------------\n          THIS WILL BE AUTHORISED AT THE AIRPORT AT THE\n          TIME OF FLIGHT ONLY AND CANNOT BE LEVIED/ WAIVED\n          AT CBO.\n          --------------------------------------------------\n          THE WAIVER OF NO-SHOW IN SUCH CASES TO BE\n          AUTHORISED BY THE DUTY MANAGER.\n          --------------------------------------------------\n          FURTHER FARE DIFFERENCE IF ANY AS PER THE RBD /\n          FARE BASIS AVAILABLE / APPLICABLE ON THE NEXT\n          AVAILABLE FLIGHT WILL HAVE TO BE CHARGED FROM THE\n          PASSENGER IN ADDITION TO THE ROLL-OVER CHARGE.\n          --------------------------------------------------\n          FOR WAIVER OF PENALTY ON ACCOUNT OF DEATH OF\n          PASSENGER OR IMMEDIATE FAMILY MEMBER PLS REFER\n          LAST PAGE\n         NOTE -\n          IN CASE OF DEATH OF A PASSENGER OR IMMEDIATE\n          FAMILY MEMBER BEFORE COMMENCEMENT OF TRAVEL\n          PENALTY CHARGES STAND WAIVED OFF. THE ABOVE IS\n          APPLICABLE ONLY WHEN TICKET IS PURCHASED BEFORE\n          DEATH OF PASSENGER OR IMMEDIATE FAMILY MEMBER IS\n          OCCURRED.\n          -------------------------------------------------\n          IMMEDIATE FAMILY SHALL BE LIMITED TO SPOUSE\n          CHILDREN INCLUDING ADOPTED CHILDREN PARENTS\n          BROTHERS SISTERS GRAND-PARENTS GRANDCHILDREN FA\n          FATHER IN LAW MOTHER IN LAW SISTER IN LAW BROTHER\n          IN LAW SON IN LAW AND DAUGHTER IN LAW\n          -----------------------------------------------\n          IN CASE OF DEATH OF A PASSENGER OR IMMEDIATE\n          FAMILY MEMBER OCCURRED AFTER COMMENCEMENT OF\n          TRAVEL PENALTY CHARGES STAND WAIVED OFF.\n          -------------------------------------------------\n          IN CASE OF DEATH OF PASSENGER OCCURRED AFTER\n          COMMENCEMENT OF TRAVEL ACCOMPANYING PASSENGER MAY\n          TERMINATE TRAVEL OR INTERRUPT TRAVEL UNTIL\n          COMPLETION OF FORMALITIES AND RELIGIOUS CUSTOMS\n          IF ANY BUT IN NO EVENT LATER THAN FORTY FIVE 45\n          DAYS AFTER TRAVEL IS INTERRUPTED. THE TICKET OF\n          RETURNING PASSENGERS WILL BE ENDORSED RETURN\n          ACCOUNT DEATH NAME  AND SUCH ENDORSEMENT SHALL BE\n          AUTHENTICATED BY VALIDATION OR OTHER DUTY MANAGER\n          OFFICIAL STAMP. REFUND MAY BE ARRANGED. RE-\n          ROUTING MAY BE PERMITTED APPLICABLE PENALTY IF\n          ANY MAY BE WAIVED. DIFFERENCE OF FARE NEEDS TO BE\n          COLLECTED.\n          ----------------------------------------------\n          FOR RETURN-ONWARD TICKER REFUND DEDUCT ONE WAY\n          FARE AND LEVIES FOR THE TRAVELLED SECTOR AND\n          BALANCE AMOUNT MAY BE REFUNDED.\n          -----------------------------------------------\n          PENALTY ON ABOVE ACCOUNT IS WAIVED FOR FIRST\n          TRANSACTION ONLY. SUBSEQUENT TRANSACTION IF ANY\n          WILL ATTRACT APPLICABLE PENALTY.Category- 31Details:- VOLUNTARY CHANGES\nDO A CATEGORY 31 SPECIFIC TEXT ENTRY TO VIEW CONTENTS\nALSO REFERENCE 16 PENALTIES - FOR ADDITIONAL CHANGE INFORMATIONCategory- 33Details:- VOLUNTARY REFUNDS\nFOR E-9I TYPE FARES\n  APPLIES IN THE CASE OF DEATH OF PASSENGER OR FAMILY\n   MEMBER.\n  REFUND MAY BE REQUESTED ANYTIME.\n  NO CHARGE. IF ALL PENALTIES IN PRICING UNIT ARE PER FARE\n   COMPONENT COLLECT EACH. IF MIX OF PER FARE COMPONENT AND\n   PER PRICING UNIT CALCULATE EACH AS PER PRICING UNIT AND\n   COLLECT HIGHEST.\n  FORM OF REFUND - ORIGINAL FORM OF PAYMENT. ONLY VALIDATING\n   CARRIER MAY REFUND TICKET.\n  REPRICE FLOWN PORTION USING FARES IN EFFECT ON TICKET\n   ISSUANCE DATE. FOR FULLY FLOWN FARE COMPONENTS FARE BREAK\n   POINTS MAY NOT BE CHANGED. FOR PARTIALLY FLOWN FARE\n   COMPONENTS ONLY DESTINATION FARE BREAK POINTS MAY BE\n   CHANGED. REPRICE USING NORMAL/SPECIAL ONE WAY/ROUND TRIP\n   FARES/ANY RULE/FARE CLASS/EQUAL OR HIGHER RBD. PUBLIC\n   FARES ARE USED IF TICKETED FARE IS IN PUBLIC TARIFF.\n   QUALIFIED PRIVATE FARES OR PUBLIC FARES ARE USED IF\n   TICKETED FARE IS IN PRIVATE TARIFF. NEW FARE FOR FULLY\n   FLOWN FARE COMPONENTS MUST BE EQUAL TO OR HIGHER THAN\n   TICKETED FARE.\n  OR -\n  VALID FOR INFANT WITHOUT A SEAT.\n  REFUND MAY BE REQUESTED ANYTIME.\n  NO CHARGE. IF ALL PENALTIES IN PRICING UNIT ARE PER FARE\n   COMPONENT COLLECT EACH. IF MIX OF PER FARE COMPONENT AND\n   PER PRICING UNIT CALCULATE EACH AS PER PRICING UNIT AND\n   COLLECT HIGHEST. NO CHARGE FOR INFANT WITHOUT SEAT.\n  FORM OF REFUND - ORIGINAL FORM OF PAYMENT. ONLY VALIDATING\n   CARRIER MAY REFUND TICKET.\n  REPRICE FLOWN PORTION USING FARES IN EFFECT ON TICKET\n   ISSUANCE DATE. FOR FULLY FLOWN FARE COMPONENTS FARE BREAK\n   POINTS MAY NOT BE CHANGED. FOR PARTIALLY FLOWN FARE\n   COMPONENTS ONLY DESTINATION FARE BREAK POINTS MAY BE\n   CHANGED. REPRICE USING NORMAL/SPECIAL ONE WAY/ROUND TRIP\n   FARES/ANY RULE/FARE CLASS/EQUAL OR HIGHER RBD. PUBLIC\n   FARES ARE USED IF TICKETED FARE IS IN PUBLIC TARIFF.\n   QUALIFIED PRIVATE FARES OR PUBLIC FARES ARE USED IF\n   TICKETED FARE IS IN PRIVATE TARIFF. NEW FARE FOR FULLY\n   FLOWN FARE COMPONENTS MUST BE EQUAL TO OR HIGHER THAN\n   TICKETED FARE.\n  REFUND REQUEST REQUIRED 24 HOURS BEFORE ORIGINALLY\n   SCHEDULED FLIGHT OF FIRST UNUSED TICKET COUPON.\n  CHARGE INR 3150 PER FARE COMPONENT. IF ALL PENALTIES IN\n   PRICING UNIT ARE PER FARE COMPONENT COLLECT EACH. IF MIX\n   OF PER FARE COMPONENT AND PER PRICING UNIT CALCULATE EACH\n   AS PER PRICING UNIT AND COLLECT HIGHEST. NO CHARGE FOR\n   INFANT WITHOUT SEAT.\n  FORM OF REFUND - ORIGINAL FORM OF PAYMENT. ONLY VALIDATING\n   CARRIER MAY REFUND TICKET.\n  REPRICE FLOWN PORTION USING FARES IN EFFECT ON TICKET\n   ISSUANCE DATE. FOR FULLY FLOWN FARE COMPONENTS FARE BREAK\n   POINTS MAY NOT BE CHANGED. FOR PARTIALLY FLOWN FARE\n   COMPONENTS ONLY DESTINATION FARE BREAK POINTS MAY BE\n   CHANGED. REPRICE USING NORMAL/SPECIAL ONE WAY/ROUND TRIP\n   FARES/ANY RULE/FARE CLASS/EQUAL OR HIGHER RBD. PUBLIC\n   FARES ARE USED IF TICKETED FARE IS IN PUBLIC TARIFF.\n   QUALIFIED PRIVATE FARES OR PUBLIC FARES ARE USED IF\n   TICKETED FARE IS IN PRIVATE TARIFF. NEW FARE FOR FULLY\n   FLOWN FARE COMPONENTS MUST BE EQUAL TO OR HIGHER THAN\n   TICKETED FARE.\n  OR -\n  FARE IS NONREFUNDABLE BEFORE ORIGINALLY SCHEDULED FLIGHT\n   OF FIRST UNUSED TICKET COUPON.\n  IF MIX OF PER FARE COMPONENT AND PER PRICING UNIT\n   CALCULATE EACH AS PER PRICING UNIT AND COLLECT HIGHEST.\n  REPRICE USING EQUAL OR HIGHER RBD.\n  OR -\n  FARE IS NONREFUNDABLE ANYTIME AFTER ORIGINALLY SCHEDULED\n   FLIGHT OF FIRST UNUSED TICKET COUPON.\n  IF MIX OF PER FARE COMPONENT AND PER PRICING UNIT\n   CALCULATE EACH AS PER PRICING UNIT AND COLLECT HIGHEST.\n  REPRICE USING EQUAL OR HIGHER RBD. ",
          "FlightId": 0,
          "Origin": "DEL",
          "ReturnDate": "2021-09-09T08:15:00"
        }
      ],
      "ResponseStatus": 1,
      "TraceId": "da0b789a-f1c7-43dd-bcda-772890fe6edd",
      "PenaltyCharges": {
        "ReissueCharge": "3000 INR",
        "CancellationCharge": "3000 INR"
      }
    }
  }
}
POST

Flights Fare Quote

This method is required to re-price the selected itinerary.

Parameters

Acceptstringheader

application/json

Accept - Encodingstringheader

gzip

Authorizationstringheader

Your PID

Your API Key

Customer-Ipstringheader

IP address of the customer, as captured by your integration. Send IPV4 addresses only.

Ensure your integration passes the customer’s IP, not your own. This value helps determine their location and other settings.

Also used for fraud recovery and other important analytics.

Definition and request parameters for flight farerule
actionstringquery

"fareQuote" as parameter

Action methods in Web API controller can have one or more parameters of different types. It can be either primitive type or complex type. Web API binds action method parameters either with URL's query string or with request body depending on the parameter type.

ModeTypestringquery

either "Test" or "LIVE"

Your application must be approved from the Travlix team. All the transactions will be treated as LIVE once the parameter is set to LIVE.

ResultIndexstringquery

Result Index ie. "OB1"

TraceIdstringquery

Trace Id (Get Trace Id from search response)

Request

POSThttps://your-end-point/api/v1/travel-api/flights/
Request
header: array(
'Content-Type:application/json',
'Accept-encoding: gzip',
'PID:'ADD-YOUR-KEY',
'x-api-key:'ADD-YOUR-KEY'
);

POST:
{
  "action": "fareQuote",
  "mode": "Test",
  "ResultIndex": "OB1",
  "TraceId": "da0b789a-f1c7-43dd-bcda-772890fe6edd"
}

Response

The API returns an HTTP response, which generally includes the result of the request invocation

200 · application/json
{
    "status": "200",
    "status_message": "OK",
    "responseData": {
        "Response": {
            "Error": {
                "ErrorCode": 0,
                "ErrorMessage": ""
            },
            "InsuranceResult": {
                "Results": [
                    {
                        "InsuranceResultIndex": 1,
                        "PlanCode": "820ed27f-49df-4c00-9464-ed9664ef3c9d",
                        "PlanCoverage": 4,
                        "PlanDescription": "Axa Spl Smart Domestic Plan",
                        "PlanName": "Axa Spl Smart Domestic Plan",
                        "PlanType": 1,
                        "PolicyEndDate": "2021-09-09T23:59:59",
                        "PolicyStartDate": "2021-09-09T00:00:00",
                        "PremiumList": [
                            {
                                "MaxAge": 70,
                                "MinAge": 0,
                                "PassengerCount": 1,
                                "Price": {
                                    "CommissionEarned": 48.3,
                                    "Currency": "INR",
                                    "GrossFare": 161,
                                    "KrishiKalyanTax": 0,
                                    "OfferedPrice": 112.7,
                                    "OfferedPriceRoundedOff": 112.7,
                                    "PublishedPrice": 161,
                                    "PublishedPriceRoundedOff": 161,
                                    "ServiceTax": 0,
                                    "SwachhBharatTax": 0,
                                    "TdsOnCommission": 19.32
                                }
                            }
                        ],
                        "Price": {
                            "CommissionEarned": 48.3,
                            "Currency": "INR",
                            "GrossFare": 161,
                            "KrishiKalyanTax": 0,
                            "OfferedPrice": 112.7,
                            "OfferedPriceRoundedOff": 112.7,
                            "PublishedPrice": 161,
                            "PublishedPriceRoundedOff": 161,
                            "ServiceTax": 0,
                            "SwachhBharatTax": 0,
                            "TdsOnCommission": 19.32
                        }
                    }
                ]
            },
            "IsPriceChanged": false,
            "ResponseStatus": 1,
            "Results": {
                "IsHoldAllowedWithSSR": true,
                "ResultIndex": "OB1",
                "Source": 5,
                "IsLCC": false,
                "IsRefundable": true,
                "IsPanRequiredAtBook": false,
                "IsPanRequiredAtTicket": false,
                "IsPassportRequiredAtBook": false,
                "IsPassportRequiredAtTicket": false,
                "GSTAllowed": true,
                "IsCouponAppilcable": true,
                "IsGSTMandatory": false,
                "IsHoldAllowed": true,
                "AirlineRemark": "CORPORATE FARE.",
                "ResultFareType": "RegularFare",
                "Fare": {
                    "Currency": "INR",
                    "BaseFare": 1000,
                    "Tax": 703,
                    "TaxBreakup": [
                        {
                            "key": "K3",
                            "value": 63
                        },
                        {
                            "key": "YQTax",
                            "value": 0
                        },
                        {
                            "key": "YR",
                            "value": 250
                        },
                        {
                            "key": "PSF",
                            "value": 0
                        },
                        {
                            "key": "UDF",
                            "value": 0
                        },
                        {
                            "key": "INTax",
                            "value": 63
                        },
                        {
                            "key": "TransactionFee",
                            "value": 0
                        },
                        {
                            "key": "OtherTaxes",
                            "value": 327
                        }
                    ],
                    "YQTax": 0,
                    "AdditionalTxnFeeOfrd": 0,
                    "AdditionalTxnFeePub": 0,
                    "PGCharge": 0,
                    "OtherCharges": 0,
                    "ChargeBU": [
                        {
                            "key": "TBOMARKUP",
                            "value": 0
                        },
                        {
                            "key": "GLOBALPROCUREMENTCHARGE",
                            "value": 0
                        },
                        {
                            "key": "CONVENIENCECHARGE",
                            "value": 0
                        },
                        {
                            "key": "OTHERCHARGE",
                            "value": 0
                        }
                    ],
                    "Discount": 0,
                    "PublishedFare": 1703,
                    "CommissionEarned": 8.81,
                    "PLBEarned": 0,
                    "IncentiveEarned": 0,
                    "OfferedFare": 1694.19,
                    "TdsOnCommission": 3.52,
                    "TdsOnPLB": 0,
                    "TdsOnIncentive": 0,
                    "ServiceFee": 0,
                    "TotalBaggageCharges": 0,
                    "TotalMealCharges": 0,
                    "TotalSeatCharges": 0,
                    "TotalSpecialServiceCharges": 0
                },
                "FareBreakdown": [
                    {
                        "Currency": "INR",
                        "PassengerType": 1,
                        "PassengerCount": 1,
                        "BaseFare": 1000,
                        "Tax": 703,
                        "TaxBreakUp": [
                            {
                                "key": "YR",
                                "value": 250
                            },
                            {
                                "key": "INTax",
                                "value": 63
                            },
                            {
                                "key": "K3",
                                "value": 63
                            },
                            {
                                "key": "OtherTaxes",
                                "value": 327
                            }
                        ],
                        "YQTax": 0,
                        "AdditionalTxnFeeOfrd": 0,
                        "AdditionalTxnFeePub": 0,
                        "PGCharge": 0,
                        "SupplierReissueCharges": 0
                    }
                ],
                "Segments": [
                    [
                        {
                            "Baggage": "15KG",
                            "CabinBaggage": null,
                            "CabinClass": 0,
                            "TripIndicator": 1,
                            "SegmentIndicator": 1,
                            "Airline": {
                                "AirlineCode": "AI",
                                "AirlineName": "Air India",
                                "FlightNumber": "9843",
                                "FareClass": "E",
                                "OperatingCarrier": "9I-843"
                            },
                            "Origin": {
                                "Airport": {
                                    "AirportCode": "DEL",
                                    "AirportName": "Indira Gandhi Airport",
                                    "Terminal": "3",
                                    "CityCode": "DEL",
                                    "CityName": "Delhi",
                                    "CountryCode": "IN",
                                    "CountryName": "India"
                                },
                                "DepTime": "2021-09-09T07:15:00"
                            },
                            "Destination": {
                                "Airport": {
                                    "AirportCode": "JAI",
                                    "AirportName": "Jaipur",
                                    "Terminal": "2",
                                    "CityCode": "JAI",
                                    "CityName": "Jaipur",
                                    "CountryCode": "IN",
                                    "CountryName": "India"
                                },
                                "ArrTime": "2021-09-09T08:15:00"
                            },
                            "Duration": 60,
                            "GroundTime": 0,
                            "Mile": 0,
                            "StopOver": false,
                            "FlightInfoIndex": "",
                            "StopPoint": "",
                            "StopPointArrivalTime": "0001-01-01T00:00:00",
                            "StopPointDepartureTime": "0001-01-01T00:00:00",
                            "Craft": "ATR",
                            "Remark": null,
                            "IsETicketEligible": true,
                            "FlightStatus": "Confirmed",
                            "Status": ""
                        }
                    ]
                ],
                "LastTicketDate": "2021-09-09T23:59:00.000",
                "TicketAdvisory": null,
                "FareRules": [
                    {
                        "Origin": "DEL",
                        "Destination": "JAI",
                        "Airline": "AI",
                        "FareBasisCode": "EIP9I",
                        "FareRuleDetail": "",
                        "FareRestriction": "",
                        "FareFamilyCode": "",
                        "FareRuleIndex": ""
                    }
                ],
                "PenaltyCharges": {
                    "ReissueCharge": "3000 INR",
                    "CancellationCharge": "3000 INR"
                },
                "AirlineCode": "AI",
                "ValidatingAirline": "AI"
            },
            "TraceId": "da0b789a-f1c7-43dd-bcda-772890fe6edd"
        }
    }
}
POST

Flights SSR

This method is used to obtain the online prices of Special Service Request like Excess Baggage and Meal for LCC airlines like Indigo, Spice Jet, Air Asia, Air Arabia, Fly Dubai, etc.

Parameters

Acceptstringheader

application/json

Accept - Encodingstringheader

gzip

Authorizationstringheader

Your PID

Your API Key

Customer-Ipstringheader

IP address of the customer, as captured by your integration. Send IPV4 addresses only.

Ensure your integration passes the customer’s IP, not your own. This value helps determine their location and other settings.

Also used for fraud recovery and other important analytics.

Definition and request parameters for SSR
actionstringquery

"flightSSR" as parameter

Action methods in Web API controller can have one or more parameters of different types. It can be either primitive type or complex type. Web API binds action method parameters either with URL's query string or with request body depending on the parameter type.

ModeTypestringquery

either "Test" or "LIVE"

Your application must be approved from the Travlix team. All the transactions will be treated as LIVE once the parameter is set to LIVE.

ResultIndexstringquery

Result Index ie. "OB1"

TraceIdstringquery

Trace Id (Get Trace Id from search response)

Request

POSThttps://your-end-point/api/v1/travel-api/flights/
Request
header: array(
'Content-Type:application/json',
'Accept-encoding: gzip',
'PID:'ADD-YOUR-KEY',
'x-api-key:'ADD-YOUR-KEY'
);

POST:
{
  "action": "flightSSR",
  "mode": "Test",
  "ResultIndex": "OB1",
  "TraceId": "da0b789a-f1c7-43dd-bcda-772890fe6edd"
}

Response

The API returns an HTTP response, which generally includes the result of the request invocation

200 · application/json
{
    "status": "200",
    "status_message": "OK",
    "responseData": {
        "Response": {
            "Meal": [
                {
                    "Code": "AVML",
                    "Description": "Vegetarian Hindu"
                },
                {
                    "Code": "BBML",
                    "Description": "Baby/Infant Food"
                },
                {
                    "Code": "BLML",
                    "Description": "Bland"
                },
                {
                    "Code": "CHML",
                    "Description": "Child Food"
                },
                {
                    "Code": "DBML",
                    "Description": "Diabetic"
                },
                {
                    "Code": "FPML",
                    "Description": "Fruit Meal"
                },
                {
                    "Code": "GFML",
                    "Description": "Gluten Intolerant"
                },
                {
                    "Code": "HFML",
                    "Description": "High Fiber"
                },
                {
                    "Code": "HNML",
                    "Description": "Hindu - Non Veg"
                },
                {
                    "Code": "KSML",
                    "Description": "Kosher"
                },
                {
                    "Code": "LCML",
                    "Description": "Low Calorie"
                },
                {
                    "Code": "LFML",
                    "Description": "Low Fat"
                },
                {
                    "Code": "LPML",
                    "Description": "Low Protein"
                },
                {
                    "Code": "LSML",
                    "Description": "Low Salt Meal"
                },
                {
                    "Code": "MOML",
                    "Description": "Moslem"
                },
                {
                    "Code": "NLML",
                    "Description": "Low Lactose Meal"
                },
                {
                    "Code": "ORML",
                    "Description": "Oriental"
                },
                {
                    "Code": "PRML",
                    "Description": "Low Purin"
                },
                {
                    "Code": "RVML",
                    "Description": "Raw Vegetarian"
                },
                {
                    "Code": "SFML",
                    "Description": "Seafood"
                },
                {
                    "Code": "SPML",
                    "Description": "Special Meal"
                },
                {
                    "Code": "VGML",
                    "Description": "Veg/Non Dairy"
                },
                {
                    "Code": "VJML",
                    "Description": "Vegetarian Jain"
                },
                {
                    "Code": "VLML",
                    "Description": "Veg/Milk/Eggs"
                },
                {
                    "Code": "VOML",
                    "Description": "Vegetarian Oriental"
                }
            ],
            "SeatPreference": [
                {
                    "Code": "A",
                    "Description": "Aisle"
                },
                {
                    "Code": "W",
                    "Description": "Window"
                }
            ],
            "ResponseStatus": 1,
            "Error": {
                "ErrorCode": 0,
                "ErrorMessage": ""
            },
            "TraceId": "da0b789a-f1c7-43dd-bcda-772890fe6edd"
        }
    }
}
POST

GDS Flight Book

Book method is to hold the Booking of NonLCC airline. Every NonLCC airline must be Hold first before ticketing. It will not work for LCC airline because LCC airline is ticketed directly.

Parameters

Acceptstringheader

application/json

Accept - Encodingstringheader

gzip

Authorizationstringheader

Your PID

Your API Key

Customer-Ipstringheader

IP address of the customer, as captured by your integration. Send IPV4 addresses only.

Ensure your integration passes the customer’s IP, not your own. This value helps determine their location and other settings.

Also used for fraud recovery and other important analytics.

Definition and request parameters for Flight Book Method
actionstringquery

"flightBook" as parameter

Action methods in Web API controller can have one or more parameters of different types. It can be either primitive type or complex type. Web API binds action method parameters either with URL's query string or with request body depending on the parameter type.

ResultIndexstringquery

Result Index ie. "OB1"

TraceIdstringquery

Trace Id (Get Trace Id from search response)

IsLCCstringquery

IsLCC (IsLCC="0")

isonewaystringquery

oneway Or return trip (isoneway="Yes" or isoneway="No")

isDomesticstringquery

isDomestic (isDomestic="Yes" or isDomestic="No")

IsDomesticReturnstringquery

IsDomesticReturn (isDomestic="Yes" or isDomestic="No")

PassengersArray

Passengers details for the ticket

Titlestringquery

Title (Adult Mr/Mrs Child Miss/Mstr Infant Miss/Mstr)

FirstNamestringquery

First name

LastNamestringquery

Last Name

PaxTypeStringquery

Pax type (Adult = 1,Child = 2,Infant = 3)

DateOfBirthDate Time

String

( query )

GenderStringquery

Gender (Male=1,Female=2)

PassportNoStringquery

Passport no

PassportExpiryDate timequery

Passport expiry

AddressLine1Stringquery

Address

AddressLine2Stringquery

Address

CityStringquery

City

CountryCodeStringquery

Country code

CountryNameStringquery

Country Name

NationalityStringquery

Nationality

ContactNoStringquery

Contact no

EmailStringquery

Email

IsLeadPaxBooleanquery

Represent the lead guest of the booking (Value True/ False)

FareArray

Fare details for the ticket

CurrencyStringquery

Currency

BaseFaredecimalquery

Base fare

Taxdecimalquery

Tax

YQTaxdecimalquery

Fuel Surcharge

AdditionalTxnFeePubdecimalquery

Additional Transaction Fee Published

AdditionalTxnFeeOfrddecimalquery

Additional Transaction Fee Offered

OtherChargesdecimalquery

Other Charges

Discountdecimalquery

Discount

PublishedFaredecimalquery

Published Fare

OfferedFaredecimalquery

Offered Fare

TdsOnCommissiondecimalquery

Tds On Commission

TdsOnPLBdecimalquery

Tds On PLB

TdsOnIncentivedecimalquery

Tds On Incentive

ServiceFeedecimalquery

Service Fee

GSTCompanyAddressStringquery

GSTCompanyAddress

GSTCompanyContactNumberStringquery

GSTCompanyContactNumber

GSTCompanyNameStringquery

GSTCompanyName

GSTNumberStringquery

GSTNumber

GSTCompanyEmailStringquery

GSTCompanyEmail

Request

POSThttps://your-end-point/api/v1/travel-api/flights/
Request
header: array(
'Content-Type:application/json',
'Accept-encoding: gzip',
'PID:'ADD-YOUR-KEY',
'x-api-key:'ADD-YOUR-KEY'
);

POST:
{
  "action": "flightBook",
  "IsLCC": "0",
  "isoneway": "Yes",
  "isDomestic": "Yes",
  "IsDomesticReturn": "No",
  "TraceId": "6fda2744-05e6-47fb-98b4-73e12c30ef73",
  "ResultIndex": "OB35",
  "Passengers": [
    {
      "Title": "Mr",
      "FirstName": "Test",
      "LastName": "Booking",
      "PaxType": "1",
      "DateOfBirth": "1995-07-17T00:00:00",
      "Gender": 1,
      "AddressLine1": "D-88 Ground Floor Sector 17 Vashi, Navi mumbai",
      "AddressLine2": "",
      "City": "Navi Mumbai",
      "CountryCode": "IN",
      "CountryName": "India",
      "Nationality": "IN",
      "ContactNo": "9988776655",
      "Email": "test@gmail.com",
      "IsLeadPax": true,
      "PassportNo": "",
      "PassportExpiry": "",
      "Fare": {
        "Currency": "INR",
        "BaseFare": 1000,
        "Tax": 518,
        "YQTax": 0,
        "AdditionalTxnFeePub": 0,
        "AdditionalTxnFeeOfrd": 0,
        "OtherCharges": 640,
        "Discount": 0,
        "PublishedFare": 2158,
        "OfferedFare": 2158,
        "TdsOnCommission": 0,
        "TdsOnPLB": 0,
        "TdsOnIncentive": 0,
        "ServiceFee": 0
      },
      "GSTCompanyAddress": null,
      "GSTCompanyContactNumber": null,
      "GSTCompanyName": null,
      "GSTNumber": null,
      "GSTCompanyEmail": null
    }
  ]
}

Response

The API returns an HTTP response, which generally includes the result of the request invocation

200 · application/json
{
  "status": "200",
  "status_message": "OK",
  "responseData": {
    {
  "Error": {
    "ErrorCode": 0,
    "ErrorMessage": ""
  },
  "TraceId": "5cfdf80d-7b55-4e9d-a6c1-21f091dc6ee7",
  "ResponseStatus": 1,
  "Response": {
    "PNR": "WFWVIA",
    "BookingId": 1304924,
    "SSRDenied": false,
    "SSRMessage": null,
    "Status": 1,
    "IsPriceChanged": false,
    "IsTimeChanged": false,
    "FlightItinerary": {
      "BookingAllowedForRoamer": true,
      "BookingId": 1304924,
      "PNR": "WFWVIA",
      "IsManual": false,
      "Source": 4,
      "IsDomestic": true,
      "Origin": "DEL",
      "Destination": "BOM",
      "AirlineCode": "AI",
      "ValidatingAirlineCode": "AI",
      "LastTicketDate": "29JUN17",
      "AirlineTollFreeNo": "1800-1100-2200-100",
      "IsLCC": false,
      "NonRefundable": true,
      "AirlineRemark": "",
      "FareType": "RP",
      "CreditNoteNo": null,
      "BaseCurrencyFare": {
        "Currency": "INR",
        "BaseFare": 3171.0,
        "Tax": 1284.0,
        "TaxBreakup": [
          {
            "Key": "YQTax",
            "Value": 0.0
          },
          {
            "Key": "YR",
            "Value": 140.0
          },
          {
            "Key": "TotalTax",
            "Value": 1284.0
          }
        ],
        "YQTax": 0.0,
        "AdditionalTxnFeePub": 0.0,
        "PGCharge": 0.0,
        "AdditionalTxnFeeOfrd": 0.0,
        "OtherCharges": 116.96,
        "ChargeBU": [
          {
            "Key": "TBOMARKUP",
            "Value": 26.81
          },
          {
            "Key": "CONVENIENCECHARGE",
            "Value": 0.0
          },
          {
            "Key": "OTHERCHARGE",
            "Value": 90.15
          }
        ],
        "Discount": 0.0,
        "PublishedFare": 4581.96,
        "CommissionEarned": 63.42,
        "PLBEarned": 91.36,
        "IncentiveEarned": 62.15,
        "OfferedFare": 4355.03,
        "TdsOnCommission": 6.34,
        "TdsOnPLB": 9.14,
        "TdsOnIncentive": 6.22,
        "ServiceFee": 10.0,
        "TotalBaggageCharges": 0.0,
        "TotalMealCharges": 0.0,
        "TotalSeatCharges": 0.0,
        "TotalSpecialServiceCharges": 0.0
      },
      "Fare": {
        "Currency": "INR",
        "BaseFare": 3171.0,
        "Tax": 1284.0,
        "TaxBreakup": [
          {
            "Key": "YQTax",
            "Value": 0.0
          },
          {
            "Key": "YR",
            "Value": 140.0
          },
          {
            "Key": "TotalTax",
            "Value": 1284.0
          }
        ],
        "YQTax": 0.0,
        "AdditionalTxnFeePub": 0.0,
        "PGCharge": 0.0,
        "AdditionalTxnFeeOfrd": 0.0,
        "OtherCharges": 116.96,
        "ChargeBU": [
          {
            "Key": "TBOMARKUP",
            "Value": 26.81
          },
          {
            "Key": "CONVENIENCECHARGE",
            "Value": 0.0
          },
          {
            "Key": "OTHERCHARGE",
            "Value": 90.15
          }
        ],
        "Discount": 0.0,
        "PublishedFare": 4581.96,
        "CommissionEarned": 63.42,
        "PLBEarned": 91.36,
        "IncentiveEarned": 62.15,
        "OfferedFare": 4355.03,
        "TdsOnCommission": 6.34,
        "TdsOnPLB": 9.14,
        "TdsOnIncentive": 6.22,
        "ServiceFee": 10.0,
        "TotalBaggageCharges": 0.0,
        "TotalMealCharges": 0.0,
        "TotalSeatCharges": 0.0,
        "TotalSpecialServiceCharges": 0.0
      },
      "CreditNoteCreatedOn": null,
      "Passenger": [
        {
          "PaxId": 1785775,
          "Title": "Mr",
          "FirstName": "hgjsshsxsgjh",
          "LastName": "tbotest",
          "PaxType": 1,
          "DateOfBirth": "1987-12-06T00:00:00",
          "Gender": 1,
          "PassportNo": "KJHHJKHKJH",
          "PassportExpiry": "2020-12-06T00:00:00",
          "AddressLine1": "123, Test",
          "AddressLine2": "",
          "Fare": {
            "Currency": "INR",
            "BaseFare": 3171.0,
            "Tax": 1284.0,
            "TaxBreakup": [
              {
                "Key": "YQTax",
                "Value": 0.0
              },
              {
                "Key": "YR",
                "Value": 140.0
              },
              {
                "Key": "TotalTax",
                "Value": 1284.0
              }
            ],
            "YQTax": 0.0,
            "AdditionalTxnFeePub": 0.0,
            "PGCharge": 0.0,
            "AdditionalTxnFeeOfrd": 0.0,
            "OtherCharges": 116.96,
            "ChargeBU": [
              {
                "Key": "TBOMARKUP",
                "Value": 26.81
              },
              {
                "Key": "CONVENIENCECHARGE",
                "Value": 0.0
              },
              {
                "Key": "OTHERCHARGE",
                "Value": 90.15
              }
            ],
            "Discount": 0.0,
            "PublishedFare": 4581.96,
            "CommissionEarned": 63.42,
            "PLBEarned": 91.36,
            "IncentiveEarned": 62.15,
            "OfferedFare": 4355.03,
            "TdsOnCommission": 6.34,
            "TdsOnPLB": 9.14,
            "TdsOnIncentive": 6.22,
            "ServiceFee": 10.0,
            "TotalBaggageCharges": 0.0,
            "TotalMealCharges": 0.0,
            "TotalSeatCharges": 0.0,
            "TotalSpecialServiceCharges": 0.0
          },
          "City": "Gurgaon",
          "CountryCode": "IN",
          "CountryName": "India",
          "Nationality": "IN",
          "ContactNo": "+92581-1234567890",
          "Email": "harsh@tbtq.in",
          "IsLeadPax": true,
          "FFAirlineCode": null,
          s"FFNumber": "",
          "GSTCompanyAddress": "A-fhgjkhsjkfd",
          "GSTCompanyContactNumber": "98881063278748979",
          "GSTCompanyName": "nikhil",
          "GSTNumber": "700932234532413",
          "GSTCompanyEmail": "nikhil123@gmail.com"
        }
      ],
      "CancellationCharges": null,
      "Segments": [
        {
          "Baggage": null,
          "CabinBaggage": null,
          "TripIndicator": 1,
          "SegmentIndicator": 1,
          "Airline": {
            "AirlineCode": "AI",
            "AirlineName": "Air India",
            "FlightNumber": "544",
            "FareClass": "S",
            "OperatingCarrier": "AI"
          },
          "AirlinePNR": "",
          "Origin": {
            "Airport": {
              "AirportCode": "DEL",
              "AirportName": "Indira Gandhi Airport",
              "Terminal": "3",
              "CityCode": "DEL",
              "CityName": "Delhi",
              "CountryCode": "IN",
              "CountryName": "India"
            },
            "DepTime": "2017-08-15T13:15:00"
          },
          "Destination": {
            "Airport": {
              "AirportCode": "HYD",
              "AirportName": "Shamsabad International Airport",
              "Terminal": "",
              "CityCode": "HYD",
              "CityName": "Hyderabad",
              "CountryCode": "IN",
              "CountryName": "India"
            },
            "ArrTime": "2017-08-15T15:15:00"
          },
          "Duration": 0,
          "GroundTime": 0,
          "Mile": 0,
          "StopOver": false,
          "StopPoint": "",
          "StopPointArrivalTime": "2017-08-15T15:15:00",
          "StopPointDepartureTime": "2017-08-15T13:15:00",
          "Craft": "320",
          "Remark": "DEPARTURE DEL TERMINAL 3 / ARRIVAL HYD TERMINAL, SEE RTSVC",
          "IsETicketEligible": false,
          "FlightStatus": "Confirmed",
          "Status": "HK"
        },
        {
          "Baggage": null,
          "CabinBaggage": null,
          "TripIndicator": 1,
          "SegmentIndicator": 2,
          "Airline": {
            "AirlineCode": "AI",
            "AirlineName": "Air India",
            "FlightNumber": "318",
            "FareClass": "S",
            "OperatingCarrier": "AI"
          },
          "AirlinePNR": "",
          "Origin": {
            "Airport": {
              "AirportCode": "HYD",
              "AirportName": "Shamsabad International Airport",
              "Terminal": "",
              "CityCode": "HYD",
              "CityName": "Hyderabad",
              "CountryCode": "IN",
              "CountryName": "India"
            },
            "DepTime": "2017-08-15T17:00:00"
          },
          "Destination": {
            "Airport": {
              "AirportCode": "BOM",
              "AirportName": "Mumbai",
              "Terminal": "",
              "CityCode": "BOM",
              "CityName": "Mumbai",
              "CountryCode": "IN",
              "CountryName": "India"
            },
            "ArrTime": "2017-08-15T18:25:00"
          },
          "AccumulatedDuration": 310,
          "Duration": 0,
          "GroundTime": 0,
          "Mile": 0,
          "StopOver": false,
          "StopPoint": "",
          "StopPointArrivalTime": "2017-08-15T18:25:00",
          "StopPointDepartureTime": "2017-08-15T17:00:00",
          "Craft": "319",
          "Remark": null,
          "IsETicketEligible": false,
          "FlightStatus": "Confirmed",
          "Status": "HK"
        }
      ],
      "FareRules": [
        {
          "Origin": "DEL",
          "Destination": "HYD",
          "Airline": "AI",
          "FareBasisCode": "SAP20",
          "FareRuleDetail": " Advance Purchase Fare Component SAP20  Sector DEL-HYD  Fare Component SAP20  Sector HYD-BOM   Earliest reservation date before departure No restriction Earliest ticketing date before departure No restriction Latest reservation date before departure No restriction Latest ticketing date before departure 26JUL17  2359 Latest ticketing date after reservation No restriction There is no Minimum Stay requirement There is no Maximum Stay requirement Adult Revalidation/Reissue Fare Component SAP20  Sector DEL-HYD   Revalidation before/after departure, including failure to show at first/subsequent flight(s) : Not Allowed Reissue, including failure to show at first flight : Allowed with Restrictions Prior to Departure of journey Reissue Penalty fee : 2500 INR(at today exchange rates 2500 INR)  Maximum reissue penalty fee for entire ticket (per reissue) : 5000 INR Revalidation/Reissue request must be made prior to : No restriction Failure to show at first flight Reissue Penalty fee between : 0 INR/2500 INR Maximum reissue penalty fee for entire ticket (per reissue) : 5000 INR Revalidation/Reissue request must be made prior to : No restriction After departure of journey Revalidation/Reissue request must be made prior to : No restriction Failure to show at subsequent flight(s) Revalidation/Reissue request must be made prior to : No restriction Revalidation/Reissue Fare Component SAP20  Sector HYD-BOM   Revalidation before/after departure, including failure to show at first/subsequent flight(s) : Not Allowed Reissue before/after departure, including failure to show at first/subsequent flight(s) : Allowed with Restrictions Prior to Departure of journey Reissue Penalty fee : 2500 INR(at today exchange rates 2500 INR)  Maximum reissue penalty fee for entire ticket (per reissue) : 5000 INR Revalidation/Reissue request must be made prior to : No restriction Failure to show at first flight Reissue Penalty fee between : 0 INR/5000 INR Maximum reissue penalty fee for entire ticket (per reissue) : 5000 INR Revalidation/Reissue request must be made prior to : No restriction After departure of journey Reissue Penalty fee : 2500 INR(at today exchange rates 2500 INR)  Maximum reissue penalty fee for entire ticket (per reissue) : 2500 INR Revalidation/Reissue request must be made prior to : No restriction Failure to show at subsequent flight(s) Reissue Penalty fee between : 0 INR/2500 INR Maximum reissue penalty fee for entire ticket (per reissue) : 2500 INR Revalidation/Reissue request must be made prior to : No restriction Refund Fare Component SAP20  Sector DEL-HYD   Refund, including failure to show at subsequent flight(s) : Not Allowed Prior to Departure of journey Refund : Not Allowed Refund request must be made prior to : No restriction Failure to show at first flight Refund : Allowed with Restrictions Penalty fee : 2500 INR(at today exchange rates 2500 INR)  Maximum Refund penalty fee for entire ticket : 2500 INR Refund request must be made prior to : No restriction After departure of journey Refund request must be made prior to : No restriction Failure to show at subsequent flight(s) Refund request must be made prior to : No restriction Refund Fare Component SAP20  Sector HYD-BOM   Prior to Departure of journey Refund : Not Allowed Refund request must be made prior to : No restriction Failure to show at first flight Refund : Allowed with Restrictions Refund : Allowed, Check with Agent for further details Maximum Refund penalty fee for entire ticket : 2500 INR Refund request must be made prior to : No restriction After departure of journey Refund : Not Allowed Refund request must be made prior to : No restriction Failure to show at subsequent flight(s) Refund : Allowed with Restrictions Refund : Allowed, Check with Agent for further details Maximum Refund penalty fee for entire ticket : No charge Refund request must be made prior to : No restriction  * Revalidation is a modification of the original ticket without any reissue of a new ticket. * For Reissue, Penalty fees are in addition to any difference in fare. * For Refund, certain Taxes are non-refundable. ",
          "FareRestriction": "Y"
        },
        {
          "Origin": "HYD",
          "Destination": "BOM",
          "Airline": "AI",
          "FareBasisCode": "SAP20",
          "FareRuleDetail": "Please refer above.",
          "FareRestriction": "Y"
        }
      ],
      "Status": 1,
      "BookingHistory": [
        {
          "BookingId": 1304924,
          "EventCategory": 1,
          "Remarks": "Booking is on hold. (through BookingEngine Service),  Booked By Auto (IP Address :- 192.168.11.58) | MSDTC OFF",
          "CreatedOn": "2017-06-29T16:13:12",
          "CreatedBy": 9102,
          "CreatedByName": "Vikask test",
          "LastModifiedOn": "2017-06-29T16:13:12",
          "LastModifiedBy": 9102,
          "LastModifiedByName": "Vikask test"
        }
      ]
    }
  }
}
  }
}
POST

LCC Flights Ticket

This method is to be called to generate ticket for LCCs flight.

Parameters

Acceptstringheader

application/json

Accept - Encodingstringheader

gzip

Authorizationstringheader

Your PID

Your API Key

Customer-Ipstringheader

IP address of the customer, as captured by your integration. Send IPV4 addresses only.

Ensure your integration passes the customer’s IP, not your own. This value helps determine their location and other settings.

Also used for fraud recovery and other important analytics.

Definition and request parameters for Flight Book Method
actionstringquery

"ticketForLcc" as parameter

Action methods in Web API controller can have one or more parameters of different types. It can be either primitive type or complex type. Web API binds action method parameters either with URL's query string or with request body depending on the parameter type.

ResultIndexstringquery

ResultIndex ie. "OB1"

TraceIdstringquery

Trace Id (Get Trace Id from search response)

IsLCCstringquery

IsLCC (IsLCC="1")

isonewaystringquery

oneway Or return trip (isoneway="Yes" or isoneway="No")

isDomesticstringquery

isDomestic (isDomestic="Yes" or isDomestic="No")

IsDomesticReturnstringquery

IsDomesticReturn (isDomestic="Yes" or isDomestic="No")

PassengersArray

Passengers details for the ticket

Titlestringquery

Title (Adult Mr/Mrs Child Miss/Mstr Infant Miss/Mstr)

FirstNamestringquery

First name

LastNamestringquery

Last Name

PaxTypeStringquery

Pax type (Adult = 1,Child = 2,Infant = 3)

DateOfBirthDate Time

String

( query )

GenderStringquery

Gender (Male=1,Female=2)

PassportNoStringquery

Passport no

PassportExpiryDate timequery

Passport expiry

AddressLine1Stringquery

Address

AddressLine2Stringquery

Address

CityStringquery

City

CountryCodeStringquery

Country code

CountryNameStringquery

Country Name

NationalityStringquery

Nationality

ContactNoStringquery

Contact no

EmailStringquery

Email

IsLeadPaxBooleanquery

Represent the lead guest of the booking (Value True/ False)

FareArray

Fare details for the ticket

CurrencyStringquery

Currency

BaseFaredecimalquery

Base fare

Taxdecimalquery

Tax

YQTaxdecimalquery

Fuel Surcharge

AdditionalTxnFeePubdecimalquery

Additional Transaction Fee Published

AdditionalTxnFeeOfrddecimalquery

Additional Transaction Fee Offered

OtherChargesdecimalquery

Other Charges

Discountdecimalquery

Discount

PublishedFaredecimalquery

Published Fare

OfferedFaredecimalquery

Offered Fare

TdsOnCommissiondecimalquery

Tds On Commission

TdsOnPLBdecimalquery

Tds On PLB

TdsOnIncentivedecimalquery

Tds On Incentive

ServiceFeedecimalquery

Service Fee

GSTCompanyAddressStringquery

GSTCompanyAddress

GSTCompanyContactNumberStringquery

GSTCompanyContactNumber

GSTCompanyNameStringquery

GSTCompanyName

GSTNumberStringquery

GSTNumber

GSTCompanyEmailStringquery

GSTCompanyEmail

SegmentsArrayquery

Flight segments(from response of fareQuote method)

Request

POSThttps://your-end-point/api/v1/travel-api/flights/
Request
header: array(
'Content-Type:application/json',
'Accept-encoding: gzip',
'PID:'ADD-YOUR-KEY',
'x-api-key:'ADD-YOUR-KEY'
);

POST:
{
  "action": "ticketForLcc",
  "IsLCC": "1",
  "isoneway": "Yes",
  "isDomestic": "Yes",
  "IsDomesticReturn": "No",
  "TraceId": "1a29b8a2-hhhh-5555-88b0-eebc6d5a2bbc",
  "ResultIndex": "OB2",
  "Segments": [
    [
      {
        "Baggage": "15KG",
        "CabinBaggage": "7 KG",
        "CabinClass": 2,
        "TripIndicator": 1,
        "SegmentIndicator": 1,
        "Airline": {
          "AirlineCode": "6E",
          "AirlineName": "Indigo",
          "FlightNumber": "2098",
          "FareClass": "SN",
          "OperatingCarrier": ""
        },
        "Origin": {
          "Airport": {
            "AirportCode": "DEL",
            "AirportName": "Indira Gandhi Airport",
            "Terminal": "2",
            "CityCode": "DEL",
            "CityName": "Delhi",
            "CountryCode": "IN",
            "CountryName": "India"
          },
          "DepTime": "2021-09-09T06:15:00"
        },
        "Destination": {
          "Airport": {
            "AirportCode": "JAI",
            "AirportName": "Jaipur",
            "Terminal": "2",
            "CityCode": "JAI",
            "CityName": "Jaipur",
            "CountryCode": "IN",
            "CountryName": "India"
          },
          "ArrTime": "2021-09-09T07:10:00"
        },
        "Duration": 55,
        "GroundTime": 0,
        "Mile": 0,
        "StopOver": false,
        "FlightInfoIndex": "",
        "StopPoint": "",
        "StopPointArrivalTime": "0001-01-01T00:00:00",
        "StopPointDepartureTime": "0001-01-01T00:00:00",
        "Craft": "321",
        "Remark": null,
        "IsETicketEligible": true,
        "FlightStatus": "Confirmed",
        "Status": ""
      }
    ]
  ],
  "Passengers": [
    {
      "Title": "Mr",
      "FirstName": "Test",
      "LastName": "Booking",
      "PaxType": "1",
      "DateOfBirth": "1995-07-17T00:00:00",
      "Gender": 1,
      "AddressLine1": "D-88 Ground Floor Sector 17 Vashi, Navi mumbai",
      "AddressLine2": "",
      "City": "Navi Mumbai",
      "CountryCode": "IN",
      "CountryName": "India",
      "Nationality": "IN",
      "ContactNo": "9988776655",
      "Email": "test@gmail.com",
      "IsLeadPax": true,
      "PassportNo": "",
      "PassportExpiry": "",
      "Fare": {
        "Currency": "INR",
        "BaseFare": 3911,
        "Tax": 822,
        "YQTax": 0,
        "AdditionalTxnFeePub": 0,
        "AdditionalTxnFeeOfrd": 0,
        "OtherCharges": 59,
        "Discount": 0,
        "PublishedFare": 4792,
        "OfferedFare": 4617.22,
        "TdsOnCommission": 8.74,
        "TdsOnPLB": 0,
        "TdsOnIncentive": 0,
        "ServiceFee": 0
      },
      "GSTCompanyAddress": null,
      "GSTCompanyContactNumber": null,
      "GSTCompanyName": null,
      "GSTNumber": null,
      "GSTCompanyEmail": null
    }
  ]
}

Response

The API returns an HTTP response, which generally includes the result of the request invocation

200 · application/json
{
    "status": "200",
    "status_message": "OK",
    "responseData": {
  "Response": {
    "B2B2BStatus": false,
    "Error": {
      "ErrorCode": 0,
      "ErrorMessage": ""
    },
    "ResponseStatus": 1,
    "TraceId": "1a29b8a2-hhhh-5555-88b0-eebc6d5a2bbc",
    "Response": {
      "PNR": "VIUEUG",
      "BookingId": 1489562,
      "SSRDenied": false,
      "SSRMessage": null,
      "Status": 1,
      "IsPriceChanged": false,
      "IsTimeChanged": false,
      "FlightItinerary": {
        "IssuancePcc": "OTI011",
        "TripIndicator": 1,
        "BookingAllowedForRoamer": true,
        "BookingId": 1489562,
        "IsCouponAppilcable": true,
        "IsManual": false,
        "PNR": "VIUEUG",
        "AgentReferenceNo": "2036462127",
        "IsDomestic": true,
        "Source": 6,
        "Origin": "DEL",
        "Destination": "GOI",
        "AirlineCode": "6E",
        "LastTicketDate": "2019-07-27T01:29:41",
        "ValidatingAirlineCode": "6E",
        "AirlineRemark": "",
        "AirlineTollFreeNo": "1800-0001-5456-51515",
        "IsLCC": true,
        "NonRefundable": false,
        "FareType": "PUB",
        "CreditNoteNo": null,
        "Fare": {
          "Currency": "INR",
          "BaseFare": 2649,
          "Tax": 926,
          "TaxBreakup": [
            {
              "key": "K3",
              "value": 158.00
            },
            {
              "key": "PSF",
              "value": 91.00
            },
            {
              "key": "YR",
              "value": 50.00
            },
            {
              "key": "YQTax",
              "value": 400.00
            },
            {
              "key": "OtherTaxes",
              "value": 177.00
            },
            {
              "key": "TotalTax",
              "value": 926.00
            }
          ],
          "YQTax": 400,
          "AdditionalTxnFeeOfrd": 0,
          "AdditionalTxnFeePub": 0,
          "PGCharge": 0,
          "OtherCharges": 236.00,
          "ChargeBU": [
            {
              "key": "TBOMARKUP",
              "value": 0
            },
            {
              "key": "OTHERCHARGE",
              "value": 236.00
            },
            {
              "key": "CONVENIENCECHARGE",
              "value": 0
            }
          ],
          "Discount": 0.00,
          "PublishedFare": 3811,
          "CommissionEarned": 61.99,
          "PLBEarned": 64.85,
          "IncentiveEarned": 43.98,
          "OfferedFare": 3640.18,
          "TdsOnCommission": 24.80,
          "TdsOnPLB": 25.94,
          "TdsOnIncentive": 17.59,
          "ServiceFee": 0,
          "TotalBaggageCharges": 0,
          "TotalMealCharges": 0,
          "TotalSeatCharges": 0,
          "TotalSpecialServiceCharges": 0
        },
        "CreditNoteCreatedOn": null,
        "Passenger": [
          {
            "PaxId": 2138382,
            "Title": "Mr",
            "FirstName": "krishna",
            "LastName": "singh",
            "PaxType": 1,
            "DateOfBirth": "1879-03-03T00:00:00",
            "Gender": 1,
            "PassportNo": "",
            "AddressLine1": "saket",
            "AddressLine2": "",
            "Fare": {
              "Currency": "INR",
              "BaseFare": 2649,
              "Tax": 926,
              "TaxBreakup": [
                {
                  "key": "K3",
                  "value": 158.00
                },
                {
                  "key": "PSF",
                  "value": 91.00
                },
                {
                  "key": "YR",
                  "value": 50.00
                },
                {
                  "key": "YQTax",
                  "value": 400.00
                },
                {
                  "key": "OtherTaxes",
                  "value": 177.00
                },
                {
                  "key": "TotalTax",
                  "value": 926.00
                }
              ],
              "YQTax": 400,
              "AdditionalTxnFeeOfrd": 0,
              "AdditionalTxnFeePub": 0,
              "PGCharge": 0,
              "OtherCharges": 236.00,
              "ChargeBU": [
                {
                  "key": "TBOMARKUP",
                  "value": 0
                },
                {
                  "key": "OTHERCHARGE",
                  "value": 236.00
                },
                {
                  "key": "CONVENIENCECHARGE",
                  "value": 0
                }
              ],
              "Discount": 0.00,
              "PublishedFare": 3811,
              "CommissionEarned": 61.99,
              "PLBEarned": 64.85,
              "IncentiveEarned": 43.98,
              "OfferedFare": 3640.18,
              "TdsOnCommission": 24.80,
              "TdsOnPLB": 25.94,
              "TdsOnIncentive": 17.59,
              "ServiceFee": 0,
              "TotalBaggageCharges": 0,
              "TotalMealCharges": 0,
              "TotalSeatCharges": 0,
              "TotalSpecialServiceCharges": 0
            },
            "City": "Seattle",
            "CountryCode": "IN",
            "CountryName": "India",
            "Nationality": "IN",
            "ContactNo": "09540121212",
            "Email": "krishna@thewebconz.com",
            "IsLeadPax": true,
            "FFAirlineCode": null,
            "FFNumber": null,
            "Baggage": [
              {
                "AirlineCode": "6E",
                "FlightNumber": "399",
                "WayType": 2,
                "Code": "No Baggage",
                "Description": 2,
                "Weight": 0,
                "Currency": "INR",
                "Price": 0,
                "Origin": "DEL",
                "Destination": "GOI"
              }
            ],
            "Ssr": [

            ],
            "Ticket": {
              "TicketId": 1755678,
              "TicketNumber": "VIUEUG",
              "IssueDate": "2019-07-27T00:59:43",
              "ValidatingAirline": "708",
              "Remarks": "",
              "ServiceFeeDisplayType": "ShowInTax",
              "Status": "OK",
              "ConjunctionNumber": "     ",
              "TicketType": "N"
            },
            "SegmentAdditionalInfo": [
              {
                "FareBasis": "R0IP",
                "NVA": "",
                "NVB": "",
                "Baggage": "15 KG",
                "Meal": "0 Platter",
                "Seat": "",
                "SpecialService": ""
              }
            ]
          }
        ],
        "CancellationCharges": null,
        "Segments": [
          {
            "Baggage": null,
            "CabinBaggage": null,
            "TripIndicator": 1,
            "SegmentIndicator": 1,
            "Airline": {
              "AirlineCode": "6E",
              "AirlineName": "IndiGo",
              "FlightNumber": "399",
              "FareClass": "R",
              "OperatingCarrier": ""
            },
            "AirlinePNR": "",
            "Origin": {
              "Airport": {
                "AirportCode": "DEL",
                "AirportName": "Indira Gandhi Airport",
                "Terminal": "1",
                "CityCode": "DEL",
                "CityName": "Delhi",
                "CountryCode": "IN",
                "CountryName": "India"
              },
              "DepTime": "2019-08-05T15:40:00"
            },
            "Destination": {
              "Airport": {
                "AirportCode": "GOI",
                "AirportName": "Dabolim",
                "Terminal": "",
                "CityCode": "GOI",
                "CityName": "Goa",
                "CountryCode": "IN",
                "CountryName": "India"
              },
              "ArrTime": "2019-08-05T18:15:00"
            },
            "Duration": 155,
            "GroundTime": 0,
            "Mile": 0,
            "StopOver": false,
            "FlightInfoIndex": "",
            "StopPoint": "",
            "StopPointArrivalTime": "2019-08-05T18:15:00",
            "StopPointDepartureTime": "2019-08-05T15:40:00",
            "Craft": "320",
            "Remark": null,
            "IsETicketEligible": true,
            "FlightStatus": "Confirmed",
            "Status": "HK"
          }
        ],
        "FareRules": [
          {
            "Origin": "DEL",
            "Destination": "GOI",
            "Airline": "6E",
            "FareBasisCode": "R0IP",
            "FareRuleDetail": "",
            "FareRestriction": null
          }
        ],
        "Status": 5,
        "InvoiceAmount": 3709.00,
        "InvoiceNo": "DW\/1920\/21113",
        "InvoiceStatus": 3,
        "InvoiceCreatedOn": "2019-07-27T00:59:43",
        "Remarks": ""
      },
      "TicketStatus": 1
    }
  }
}
}
POST

Ticket Request for NONLCC

This method is to be called to generate ticket for Non LCCs (already booked itinerary).

Parameters

Acceptstringheader

application/json

Accept - Encodingstringheader

gzip

Authorizationstringheader

Your PID

Your API Key

Customer-Ipstringheader

IP address of the customer, as captured by your integration. Send IPV4 addresses only.

Ensure your integration passes the customer’s IP, not your own. This value helps determine their location and other settings.

Also used for fraud recovery and other important analytics.

Definition and request parameters for Flight Ticket For NonLCC Method
actionstringquery

"ticketForNonLcc" as parameter

Action methods in Web API controller can have one or more parameters of different types. It can be either primitive type or complex type. Web API binds action method parameters either with URL's query string or with request body depending on the parameter type.

order_idstringquery

Order id(from book method)

PNRstringquery

PNR number(from book method)

BookingIdstringquery

Unique booking id

TraceIdstringquery

Trace Id (Get Trace Id from search response)

IsLCCstringquery

IsLCC (IsLCC="0")

isonewaystringquery

oneway Or return trip (isoneway="Yes" or isoneway="No")

isDomesticstringquery

isDomestic (isDomestic="Yes" or isDomestic="No")

IsDomesticReturnstringquery

IsDomesticReturn (isDomestic="Yes" or isDomestic="No")

PassengersArray

Passengers details for the ticket

Titlestringquery

Title (Adult Mr/Mrs Child Miss/Mstr Infant Miss/Mstr)

FirstNamestringquery

First name

LastNamestringquery

Last Name

PaxTypeStringquery

Pax type (Adult = 1,Child = 2,Infant = 3)

DateOfBirthDate Time

String

( query )

GenderStringquery

Gender (Male=1,Female=2)

PassportNoStringquery

Passport no

PassportExpiryDate timequery

Passport expiry

AddressLine1Stringquery

Address

AddressLine2Stringquery

Address

CityStringquery

City

CountryCodeStringquery

Country code

CountryNameStringquery

Country Name

NationalityStringquery

Nationality

ContactNoStringquery

Contact no

EmailStringquery

Email

IsLeadPaxBooleanquery

Represent the lead guest of the booking (Value True/ False)

FareArray

Fare details for the ticket

CurrencyStringquery

Currency

BaseFaredecimalquery

Base fare

Taxdecimalquery

Tax

YQTaxdecimalquery

Fuel Surcharge

AdditionalTxnFeePubdecimalquery

Additional Transaction Fee Published

AdditionalTxnFeeOfrddecimalquery

Additional Transaction Fee Offered

OtherChargesdecimalquery

Other Charges

Discountdecimalquery

Discount

PublishedFaredecimalquery

Published Fare

OfferedFaredecimalquery

Offered Fare

TdsOnCommissiondecimalquery

Tds On Commission

TdsOnPLBdecimalquery

Tds On PLB

TdsOnIncentivedecimalquery

Tds On Incentive

ServiceFeedecimalquery

Service Fee

GSTCompanyAddressStringquery

GSTCompanyAddress

GSTCompanyContactNumberStringquery

GSTCompanyContactNumber

GSTCompanyNameStringquery

GSTCompanyName

GSTNumberStringquery

GSTNumber

GSTCompanyEmailStringquery

GSTCompanyEmail

SegmentsArrayquery

Flight segments(from response of fareQuote method)

Request

POSThttps://your-end-point/api/v1/travel-api/flights/
Request
header: array(
'Content-Type:application/json',
'Accept-encoding: gzip',
'PID:'ADD-YOUR-KEY',
'x-api-key:'ADD-YOUR-KEY'
);

POST:
{
  "action": "ticketForNonLcc",
  "PNR": "TESTPNR",
  "BookingId": "123456",
  "order_id": "610b986b67fea",
  "IsLCC": "0",
  "isoneway": "Yes",
  "isDomestic": "Yes",
  "IsDomesticReturn": "No",
  "TraceId": "1a29b8a2-hhhh-5555-88b0-eebc6d5a2bbc",
  "Segments": [
    [
      {
        "Baggage": "15KG",
        "CabinBaggage": "7 KG",
        "CabinClass": 2,
        "TripIndicator": 1,
        "SegmentIndicator": 1,
        "Airline": {
          "AirlineCode": "6E",
          "AirlineName": "Indigo",
          "FlightNumber": "2098",
          "FareClass": "SN",
          "OperatingCarrier": ""
        },
        "Origin": {
          "Airport": {
            "AirportCode": "DEL",
            "AirportName": "Indira Gandhi Airport",
            "Terminal": "2",
            "CityCode": "DEL",
            "CityName": "Delhi",
            "CountryCode": "IN",
            "CountryName": "India"
          },
          "DepTime": "2021-09-09T06:15:00"
        },
        "Destination": {
          "Airport": {
            "AirportCode": "JAI",
            "AirportName": "Jaipur",
            "Terminal": "2",
            "CityCode": "JAI",
            "CityName": "Jaipur",
            "CountryCode": "IN",
            "CountryName": "India"
          },
          "ArrTime": "2021-09-09T07:10:00"
        },
        "Duration": 55,
        "GroundTime": 0,
        "Mile": 0,
        "StopOver": false,
        "FlightInfoIndex": "",
        "StopPoint": "",
        "StopPointArrivalTime": "0001-01-01T00:00:00",
        "StopPointDepartureTime": "0001-01-01T00:00:00",
        "Craft": "321",
        "Remark": null,
        "IsETicketEligible": true,
        "FlightStatus": "Confirmed",
        "Status": ""
      }
    ]
  ],
  "Passengers": [
    {
      "Title": "Mr",
      "FirstName": "Test",
      "LastName": "Booking",
      "PaxType": "1",
      "DateOfBirth": "1995-07-17T00:00:00",
      "Gender": 1,
      "AddressLine1": "D-88 Ground Floor Sector 17 Vashi, Navi mumbai",
      "AddressLine2": "",
      "City": "Navi Mumbai",
      "CountryCode": "IN",
      "CountryName": "India",
      "Nationality": "IN",
      "ContactNo": "9988776655",
      "Email": "test@gmail.com",
      "IsLeadPax": true,
      "PassportNo": "",
      "PassportExpiry": "",
      "Fare": {
        "Currency": "INR",
        "BaseFare": 3911,
        "Tax": 822,
        "YQTax": 0,
        "AdditionalTxnFeePub": 0,
        "AdditionalTxnFeeOfrd": 0,
        "OtherCharges": 59,
        "Discount": 0,
        "PublishedFare": 4792,
        "OfferedFare": 4617.22,
        "TdsOnCommission": 8.74,
        "TdsOnPLB": 0,
        "TdsOnIncentive": 0,
        "ServiceFee": 0
      },
      "GSTCompanyAddress": null,
      "GSTCompanyContactNumber": null,
      "GSTCompanyName": null,
      "GSTNumber": null,
      "GSTCompanyEmail": null
    }
  ]
}

Response

The API returns an HTTP response, which generally includes the result of the request invocation

200 · application/json
{
  "status": "600",
  "status_message": "Booking Has Been Confirmed",
  "responseData": {
    {
  "Response": {
    "B2B2BStatus": false,
    "Error": {
      "ErrorCode": 0,
      "ErrorMessage": ""
    },
    "ResponseStatus": 1,
    "TraceId": "1a29b8a2-hhhh-5555-88b0-eebc6d5a2bbc",
    "Response": {
      "PNR": "TESTPNR",
      "BookingId": 1234567,
      "SSRDenied": false,
      "SSRMessage": null,
      "IsPriceChanged": false,
      "IsTimeChanged": false,
      "FlightItinerary": {
        "AgentRemarks": "",
        "CommentDetails": null,
        "IssuancePcc": "74HR",
        "JourneyType": 1,
        "TripIndicator": 1,
        "BookingAllowedForRoamer": true,
        "BookingId": 1234567,
        "IsCouponAppilcable": true,
        "IsManual": false,
        "PNR": "TESTPNR",
        "IsDomestic": false,
        "ResultFareType": "RegularFare",
        "Source": 5,
        "Origin": "AUH",
        "Destination": "VTZ",
        "AirlineCode": "AI",
        "LastTicketDate": "2021-08-07T23:59:00",
        "ValidatingAirlineCode": "AI",
        "AirlineRemark": "--",
        "IsLCC": false,
        "NonRefundable": false,
        "FareType": "PUB",
        "CreditNoteNo": null,
        "Fare": {
          "Currency": "INR",
          "BaseFare": 12740,
          "Tax": 2697,
          "TaxBreakup": [
            {
              "key": "K3",
              "value": 0
            },
            {
              "key": "YR",
              "value": 270
            },
            {
              "key": "TotalTax",
              "value": 2697
            },
            {
              "key": "OtherTaxes",
              "value": 2427
            }
          ],
          "YQTax": 0,
          "AdditionalTxnFeeOfrd": 0,
          "AdditionalTxnFeePub": 0,
          "PGCharge": 0,
          "OtherCharges": 0,
          "ChargeBU": [
            {
              "key": "TBOMARKUP",
              "value": 0
            },
            {
              "key": "GLOBALPROCUREMENTCHARGE",
              "value": 0
            },
            {
              "key": "OTHERCHARGE",
              "value": 0
            },
            {
              "key": "CONVENIENCECHARGE",
              "value": 0
            }
          ],
          "Discount": 0,
          "PublishedFare": 15437,
          "CommissionEarned": 156.7,
          "PLBEarned": 0,
          "IncentiveEarned": 0,
          "OfferedFare": 15280.3,
          "TdsOnCommission": 7.84,
          "TdsOnPLB": 0,
          "TdsOnIncentive": 0,
          "ServiceFee": 0,
          "TotalBaggageCharges": 0,
          "TotalMealCharges": 0,
          "TotalSeatCharges": 0,
          "TotalSpecialServiceCharges": 0
        },
        "CreditNoteCreatedOn": null,
        "Passenger": [
          {
            "PaxId": 52595522,
            "Title": "Mr",
            "FirstName": "GONDESI APPALA",
            "LastName": "REDDY",
            "PaxType": 1,
            "DateOfBirth": "1979-09-03T00:00:00",
            "Gender": 1,
            "IsPANRequired": false,
            "IsPassportRequired": false,
            "PAN": "",
            "PassportNo": "Y3917275",
            "AddressLine1": "NPCC",
            "Fare": {
              "Currency": "INR",
              "BaseFare": 12740,
              "Tax": 2697,
              "TaxBreakup": [
                {
                  "key": "K3",
                  "value": 0
                },
                {
                  "key": "YR",
                  "value": 270
                },
                {
                  "key": "TotalTax",
                  "value": 2697
                },
                {
                  "key": "OtherTaxes",
                  "value": 2427
                }
              ],
              "YQTax": 0,
              "AdditionalTxnFeeOfrd": 0,
              "AdditionalTxnFeePub": 0,
              "PGCharge": 0,
              "OtherCharges": 0,
              "ChargeBU": [
                {
                  "key": "TBOMARKUP",
                  "value": 0
                },
                {
                  "key": "GLOBALPROCUREMENTCHARGE",
                  "value": 0
                },
                {
                  "key": "OTHERCHARGE",
                  "value": 0
                },
                {
                  "key": "CONVENIENCECHARGE",
                  "value": 0
                }
              ],
              "Discount": 0,
              "PublishedFare": 15437,
              "CommissionEarned": 156.7,
              "PLBEarned": 0,
              "IncentiveEarned": 0,
              "OfferedFare": 15280.3,
              "TdsOnCommission": 7.84,
              "TdsOnPLB": 0,
              "TdsOnIncentive": 0,
              "ServiceFee": 0,
              "TotalBaggageCharges": 0,
              "TotalMealCharges": 0,
              "TotalSeatCharges": 0,
              "TotalSpecialServiceCharges": 0
            },
            "City": "Abu Dhabi",
            "CountryCode": "AE",
            "Nationality": "AE",
            "ContactNo": "567122683",
            "Email": "chauhantravel271@gmail.com",
            "IsLeadPax": true,
            "FFAirlineCode": null,
            "FFNumber": null,
            "Ssr": [
              {
                "Detail": "Y3917275-AE",
                "SsrCode": "PSPT",
                "SsrStatus": null,
                "Status": 3
              }
            ],
            "Ticket": {
              "TicketId": 49867726,
              "TicketNumber": "4725102698",
              "IssueDate": "2021-08-01T23:00:07",
              "ValidatingAirline": "098",
              "Remarks": "",
              "ServiceFeeDisplayType": "ShowInTax",
              "Status": "OK",
              "ConjunctionNumber": "     ",
              "TicketType": "N"
            },
            "SegmentAdditionalInfo": [
              {
                "FareBasis": "ULOWAHBM",
                "NVA": "",
                "NVB": "",
                "Baggage": "30K",
                "Meal": "0 Platter",
                "Seat": "",
                "SpecialService": ""
              },
              {
                "FareBasis": "WIP",
                "NVA": "",
                "NVB": "",
                "Baggage": "30K",
                "Meal": "0 Platter",
                "Seat": "",
                "SpecialService": ""
              }
            ]
          }
        ],
        "CancellationCharges": null,
        "Segments": [
          {
            "Baggage": null,
            "CabinBaggage": null,
            "CabinClass": 0,
            "TripIndicator": 1,
            "SegmentIndicator": 1,
            "Airline": {
              "AirlineCode": "AI",
              "AirlineName": "Air India",
              "FlightNumber": "1966",
              "FareClass": "U",
              "OperatingCarrier": ""
            },
            "AirlinePNR": "HR388",
            "Origin": {
              "Airport": {
                "AirportCode": "AUH",
                "AirportName": "Abu Dhabi Int'l",
                "Terminal": "1",
                "CityCode": "AUH",
                "CityName": "Abu Dhabi",
                "CountryCode": "AE",
                "CountryName": "United Arab Emirates"
              },
              "DepTime": "2021-08-07T00:15:00"
            },
            "Destination": {
              "Airport": {
                "AirportCode": "DEL",
                "AirportName": "Indira Gandhi Airport",
                "Terminal": "3",
                "CityCode": "DEL",
                "CityName": "Delhi",
                "CountryCode": "IN",
                "CountryName": "India"
              },
              "ArrTime": "2021-08-07T05:55:00"
            },
            "Duration": 250,
            "GroundTime": 0,
            "Mile": 0,
            "StopOver": false,
            "FlightInfoIndex": "1",
            "StopPoint": "",
            "StopPointArrivalTime": null,
            "StopPointDepartureTime": null,
            "Craft": "32B",
            "Remark": null,
            "IsETicketEligible": true,
            "FlightStatus": "Confirmed",
            "Status": "  "
          },
          {
            "Baggage": null,
            "CabinBaggage": null,
            "CabinClass": 0,
            "TripIndicator": 1,
            "SegmentIndicator": 2,
            "Airline": {
              "AirlineCode": "AI",
              "AirlineName": "Air India",
              "FlightNumber": "451",
              "FareClass": "W",
              "OperatingCarrier": ""
            },
            "AirlinePNR": "HR388",
            "Origin": {
              "Airport": {
                "AirportCode": "DEL",
                "AirportName": "Indira Gandhi Airport",
                "Terminal": "3",
                "CityCode": "DEL",
                "CityName": "Delhi",
                "CountryCode": "IN",
                "CountryName": "India"
              },
              "DepTime": "2021-08-07T15:00:00"
            },
            "Destination": {
              "Airport": {
                "AirportCode": "VTZ",
                "AirportName": "Vishakhapatnam",
                "Terminal": "",
                "CityCode": "VTZ",
                "CityName": "Vishakhapatnam",
                "CountryCode": "IN",
                "CountryName": "India"
              },
              "ArrTime": "2021-08-07T17:15:00"
            },
            "AccumulatedDuration": 930,
            "Duration": 135,
            "GroundTime": 545,
            "Mile": 0,
            "StopOver": false,
            "FlightInfoIndex": "2",
            "StopPoint": "",
            "StopPointArrivalTime": null,
            "StopPointDepartureTime": null,
            "Craft": "321",
            "Remark": null,
            "IsETicketEligible": true,
            "FlightStatus": "Confirmed",
            "Status": "  "
          }
        ],
        "FareRules": [
          {
            "Origin": "DEL",
            "Destination": "VTZ",
            "Airline": "AI",
            "FareBasisCode": "WIP",
            "FareRuleDetail": "",
            "FareRestriction": "",
            "FareFamilyCode": "",
            "FareRuleIndex": ""
          },
          {
            "Origin": "AUH",
            "Destination": "DEL",
            "Airline": "AI",
            "FareBasisCode": "ULOWAHBM",
            "FareRuleDetail": "",
            "FareRestriction": "",
            "FareFamilyCode": "",
            "FareRuleIndex": ""
          }
        ],
        "PenaltyCharges": {
          "ReissueCharge": "2500 INR",
          "CancellationCharge": "4045 INR"
        },
        "Status": 5,
        "Invoice": [
          {
            "GSTIN": "07BDAPR4555F2ZI",
            "InvoiceCreatedOn": "2021-08-01T23:00:07",
            "InvoiceId": 662733,
            "InvoiceNo": "IW\/2122\/662733",
            "InvoiceAmount": 15288,
            "Remarks": "",
            "InvoiceStatus": 3
          }
        ],
        "InvoiceAmount": 15288,
        "InvoiceNo": "IW\/2122\/662733",
        "InvoiceStatus": 3,
        "InvoiceCreatedOn": "2021-08-01T23:00:07",
        "Remarks": "",
        "IsWebCheckInAllowed": false
      },
      "Message": "",
      "TicketStatus": 1
    }
  }
}
  }
}
POST

Retrieve Booking

Discover how to use Retrieve API calls to retrieve existing bookings. This can be called directly with your API key with booking reference id. It returns details about a booking details associated with the booking id along with cancel links to cancel the booking.

Parameters

Acceptstringheader

application/json

Accept - Encodingstringheader

gzip

Authorizationstringheader

Your PID

Your API Key

Customer-Ipstringheader

IP address of the customer, as captured by your integration. Send IPV4 addresses only.

Ensure your integration passes the customer’s IP, not your own. This value helps determine their location and other settings.

Also used for fraud recovery and other important analytics.

Definition and request parameters to get flight booking details
actionstringquery

"getBookingDetails" as parameter

Action methods in Web API controller can have one or more parameters of different types. It can be either primitive type or complex type. Web API binds action method parameters either with URL's query string or with request body depending on the parameter type.

ModeTypestringquery

either "Test" or "LIVE"

Your application must be approved from the Travlix team. All the transactions will be treated as LIVE once the parameter is set to LIVE.

BookingIdstringquery

Unique booking id of the >successful booking

PNRstringquery

PNR

TraceIdstringquery

Trace Id

Request

POSThttps://your-end-point/api/v1/travel-api/flights/
Request
header: array(
'Content-Type:application/json',
'Accept-encoding: gzip',
'PID:'ADD-YOUR-KEY',
'x-api-key:'ADD-YOUR-KEY'
);

POST:
{
  "action": "getBookingDetails",
  "mode": "Test",
  "TraceId": "5e43160c-8953-4c6e-bd4b-47267e644d00",
  "BookingId": "1697020",
  "PNR": "EYVFPN"
}

Response

The API returns an HTTP response, which generally includes the result of the request invocation

200 · application/json
{
  "Response": {
    "Error": {
      "ErrorCode": 0,
      "ErrorMessage": ""
    },
    "ResponseStatus": 1,
    "TraceId": "5e43160c-8953-4c6e-bd4b-47267e644d00",
    "FlightItinerary": {
      "AgentRemarks": "",
      "CommentDetails": null,
      "IsAutoReissuanceAllowed": true,
      "IssuancePcc": "otaapi",
      "JourneyType": 1,
      "TripIndicator": 1,
      "BookingAllowedForRoamer": true,
      "BookingId": 1697020,
      "IsCouponAppilcable": true,
      "IsManual": false,
      "PNR": "EYVFPN",
      "AgentReferenceNo": "1084776888",
      "IsDomestic": true,
      "ResultFareType": "RegularFare",
      "Source": 44,
      "Origin": "DEL",
      "Destination": "JAI",
      "AirlineCode": "G8",
      "LastTicketDate": "9999-12-31T00:00:00",
      "ValidatingAirlineCode": "G8",
      "AirlineRemark": "G8 di G8I",
      "AirlineTollFreeNo": "9876543210",
      "IsLCC": true,
      "NonRefundable": false,
      "FareType": "PUB",
      "CreditNoteNo": null,
      "Fare": {
        "Currency": "INR",
        "BaseFare": 17859,
        "Tax": 2807,
        "TaxBreakup": [
          {
            "key": "K3",
            "value": 962
          },
          {
            "key": "UDF",
            "value": 63
          },
          {
            "key": "YR",
            "value": 60
          },
          {
            "key": "YQTax",
            "value": 750
          },
          {
            "key": "TotalTax",
            "value": 2807
          },
          {
            "key": "OtherTaxes",
            "value": 922
          }
        ],
        "YQTax": 750,
        "AdditionalTxnFeeOfrd": 0,
        "AdditionalTxnFeePub": 0,
        "PGCharge": 0,
        "OtherCharges": 64,
        "ChargeBU": [
          {
            "key": "TBOMARKUP",
            "value": 0
          },
          {
            "key": "GLOBALPROCUREMENTCHARGE",
            "value": 0
          },
          {
            "key": "OTHERCHARGE",
            "value": 64
          },
          {
            "key": "CONVENIENCECHARGE",
            "value": 0
          }
        ],
        "Discount": 0,
        "PublishedFare": 20730,
        "CommissionEarned": 0,
        "PLBEarned": 0,
        "IncentiveEarned": 0,
        "OfferedFare": 20730,
        "TdsOnCommission": 0,
        "TdsOnPLB": 0,
        "TdsOnIncentive": 0,
        "ServiceFee": 0,
        "TotalBaggageCharges": 0,
        "TotalMealCharges": 0,
        "TotalSeatCharges": 0,
        "TotalSpecialServiceCharges": 0
      },
      "CreditNoteCreatedOn": null,
      "Passenger": [
        {
          "PaxId": 2826188,
          "Title": "Mr",
          "FirstName": "Test",
          "LastName": "Booking",
          "PaxType": 1,
          "DateOfBirth": "1995-07-17T00:00:00",
          "Gender": 1,
          "IsPANRequired": false,
          "IsPassportRequired": false,
          "PAN": "",
          "PassportNo": "",
          "AddressLine1": "D-88 Ground Floor Sector 17 Vashi, Navi mumbai",
          "Fare": {
            "Currency": "INR",
            "BaseFare": 17859,
            "Tax": 2807,
            "TaxBreakup": [
              {
                "key": "K3",
                "value": 962
              },
              {
                "key": "UDF",
                "value": 63
              },
              {
                "key": "YR",
                "value": 60
              },
              {
                "key": "YQTax",
                "value": 750
              },
              {
                "key": "TotalTax",
                "value": 2807
              },
              {
                "key": "OtherTaxes",
                "value": 922
              }
            ],
            "YQTax": 750,
            "AdditionalTxnFeeOfrd": 0,
            "AdditionalTxnFeePub": 0,
            "PGCharge": 0,
            "OtherCharges": 64,
            "ChargeBU": [
              {
                "key": "TBOMARKUP",
                "value": 0
              },
              {
                "key": "GLOBALPROCUREMENTCHARGE",
                "value": 0
              },
              {
                "key": "OTHERCHARGE",
                "value": 64
              },
              {
                "key": "CONVENIENCECHARGE",
                "value": 0
              }
            ],
            "Discount": 0,
            "PublishedFare": 20730,
            "CommissionEarned": 0,
            "PLBEarned": 0,
            "IncentiveEarned": 0,
            "OfferedFare": 20730,
            "TdsOnCommission": 0,
            "TdsOnPLB": 0,
            "TdsOnIncentive": 0,
            "ServiceFee": 0,
            "TotalBaggageCharges": 0,
            "TotalMealCharges": 0,
            "TotalSeatCharges": 0,
            "TotalSpecialServiceCharges": 0
          },
          "City": "Navi Mumbai",
          "CountryCode": "IN",
          "Nationality": "IN",
          "ContactNo": "9988776655",
          "Email": "test@gmail.com",
          "IsLeadPax": true,
          "FFAirlineCode": null,
          "FFNumber": null,
          "Baggage": [
            {
              "AirlineCode": "G8",
              "FlightNumber": "2501",
              "WayType": 2,
              "Code": "NONE           ",
              "Description": 2,
              "Weight": 0,
              "Currency": "INR",
              "Price": 0,
              "Origin": "DEL",
              "Destination": "JAI",
              "Text": ""
            }
          ],
          "Ssr": [

          ],
          "Ticket": {
            "TicketId": 1974505,
            "TicketNumber": "EYVFPN",
            "IssueDate": "2021-08-12T17:47:49",
            "ValidatingAirline": "82*",
            "Remarks": "",
            "ServiceFeeDisplayType": "ShowInTax",
            "Status": "OK",
            "ConjunctionNumber": "     ",
            "TicketType": "N"
          },
          "SegmentAdditionalInfo": [
            {
              "FareBasis": "AO9RBINX",
              "NVA": "",
              "NVB": "",
              "Baggage": "15KG",
              "Meal": "0 Platter",
              "Seat": "",
              "SpecialService": ""
            },
            {
              "FareBasis": "AO9RBINX",
              "NVA": "",
              "NVB": "",
              "Baggage": "15KG",
              "Meal": "0 Platter",
              "Seat": "",
              "SpecialService": ""
            }
          ]
        }
      ],
      "CancellationCharges": null,
      "Segments": [
        {
          "Baggage": null,
          "CabinBaggage": null,
          "CabinClass": 2,
          "TripIndicator": 1,
          "SegmentIndicator": 1,
          "Airline": {
            "AirlineCode": "G8",
            "AirlineName": "GoAir",
            "FlightNumber": "2501",
            "FareClass": "A",
            "OperatingCarrier": ""
          },
          "AirlinePNR": "",
          "Origin": {
            "Airport": {
              "AirportCode": "DEL",
              "AirportName": "Indira Gandhi Airport",
              "Terminal": "2",
              "CityCode": "DEL",
              "CityName": "Delhi",
              "CountryCode": "IN",
              "CountryName": "India"
            },
            "DepTime": "2021-09-09T02:40:00"
          },
          "Destination": {
            "Airport": {
              "AirportCode": "BOM",
              "AirportName": "Mumbai",
              "Terminal": "2",
              "CityCode": "BOM",
              "CityName": "Mumbai",
              "CountryCode": "IN",
              "CountryName": "India"
            },
            "ArrTime": "2021-09-09T04:45:00"
          },
          "Duration": 125,
          "GroundTime": 0,
          "Mile": 0,
          "StopOver": false,
          "FlightInfoIndex": "1",
          "StopPoint": "",
          "StopPointArrivalTime": null,
          "StopPointDepartureTime": null,
          "Craft": "32N",
          "Remark": null,
          "IsETicketEligible": true,
          "FlightStatus": "Confirmed",
          "Status": "HK"
        },
        {
          "Baggage": null,
          "CabinBaggage": null,
          "CabinClass": 2,
          "TripIndicator": 1,
          "SegmentIndicator": 2,
          "Airline": {
            "AirlineCode": "G8",
            "AirlineName": "GoAir",
            "FlightNumber": "2607",
            "FareClass": "A",
            "OperatingCarrier": ""
          },
          "AirlinePNR": "",
          "Origin": {
            "Airport": {
              "AirportCode": "BOM",
              "AirportName": "Mumbai",
              "Terminal": "2",
              "CityCode": "BOM",
              "CityName": "Mumbai",
              "CountryCode": "IN",
              "CountryName": "India"
            },
            "DepTime": "2021-09-09T16:10:00"
          },
          "Destination": {
            "Airport": {
              "AirportCode": "JAI",
              "AirportName": "Sanganeer",
              "Terminal": "2",
              "CityCode": "JAI",
              "CityName": "Jaipur",
              "CountryCode": "IN",
              "CountryName": "India"
            },
            "ArrTime": "2021-09-09T18:00:00"
          },
          "AccumulatedDuration": 920,
          "Duration": 110,
          "GroundTime": 685,
          "Mile": 0,
          "StopOver": false,
          "FlightInfoIndex": "2",
          "StopPoint": "",
          "StopPointArrivalTime": null,
          "StopPointDepartureTime": null,
          "Craft": "32N",
          "Remark": null,
          "IsETicketEligible": true,
          "FlightStatus": "Confirmed",
          "Status": "HK"
        }
      ],
      "FareRules": [
        {
          "Origin": "DEL",
          "Destination": "BOM",
          "Airline": "G8",
          "FareBasisCode": "AO9RBINX",
          "FareRuleDetail": "The FareBasisCode is: AO9RBINX ",
          "FareRestriction": "",
          "FareFamilyCode": "",
          "FareRuleIndex": ""
        },
        {
          "Origin": "BOM",
          "Destination": "JAI",
          "Airline": "G8",
          "FareBasisCode": "AO9RBINX",
          "FareRuleDetail": "Please refer above ",
          "FareRestriction": "",
          "FareFamilyCode": "",
          "FareRuleIndex": ""
        }
      ],
      "PenaltyCharges": {
        "ReissueCharge": "",
        "CancellationCharge": ""
      },
      "Status": 5
    }
  }
}
POST

Cancel Booking

Discover how to use Cancel API calls to cancel existing itineraries. This can be called directly with your API key with booking reference id. It returns details about a booking details associated with the itinerary id along with cancel links to cancel the booking.

Parameters

Acceptstringheader

application/json

Accept - Encodingstringheader

gzip

Authorizationstringheader

Your PID

Your API Key

Customer-Ipstringheader

IP address of the customer, as captured by your integration. Send IPV4 addresses only.

Ensure your integration passes the customer’s IP, not your own. This value helps determine their location and other settings.

Also used for fraud recovery and other important analytics.

Definition and request parameters for ticket cancellation
actionstringquery

"ticketCancel" as parameter

Action methods in Web API controller can have one or more parameters of different types. It can be either primitive type or complex type. Web API binds action method parameters either with URL's query string or with request body depending on the parameter type.

order_idstringquery

The Order ID generated at the time of booking.

ChangeRequestDataarrayquery

an array with the following parameters

TokenIdstringquery

(Token Id to be echoed back from Authenticate response)

BookingIdstringquery

The Booking Id generated at the time of booking.

RequestTypeEnumerationquery

Request type

NotSet = 0,FullCancellation = 1,PartialCancellation = 2,Reissuance = 3

CancellationTypeEnumerationquery

Cancellation type

NotSet = 0,NoShow = 1,FlightCancelled = 2,Others = 3

SectorsArrayquery

Mandatory only in case of partial cancellation

Originstringquery

Origin Iata Code

Destinationstringquery

Destination Iata Code

TicketIdArrayquery

[ may send multiple comma separated ticket ids]

EndUserIpstringquery

IP Address of the end user

Remarksstringquery

Remarks for cancelling the booking

Request

POSThttps://your-end-point/api/v1/travel-api/flights/
Request
header: array(
'Content-Type:application/json',
'Accept-encoding: gzip',
'PID:'ADD-YOUR-KEY',
'x-api-key:'ADD-YOUR-KEY'
);

POST:
{
  "action": "ticketCanceltest",
  "order_id": "610b986b67fea",
  "ChangeRequestData": {
    "BookingId": 1697020,
    "RequestType": 1,
    "CancellationType": 3,
    "Sectors": [
      {
        "Origin": "DEL",
        "Destination": "SVO"
      }
    ],
    "TicketId": [
      1567415,
      1567416
    ],
    "Remarks": "Test remarks",
    "EndUserIp": "192.168.11.23",
    "TokenId": "a3db0ecd-079e-4fa4-abda-157f5a8b2a60"
  }
}

Response

The API returns an HTTP response, which generally includes the result of the request invocation

status:

200

regionid:

28.632558|77.220036

destination:

null

rooms:

1

adults:

2

children:

0

checkIn:

05/30/2019

checkOut:

05/31/2019

200 · application/json
{
    "status": "200",
    "status_message": "OK",
    "responseData": {
        "Response": {
            "B2B2BStatus": false,
            "TicketCRInfo": [
                {
                    "ChangeRequestId": 282283,
                    "TicketId": 1567415,
                    "Status": 1,
                    "Remarks": "Successful",
                    "ChangeRequestStatus": 1
                },
                {
                    "ChangeRequestId": 282284,
                    "TicketId": 1567416,
                    "Status": 1,
                    "Remarks": "Successful",
                    "ChangeRequestStatus": 1
                }

            ],
            "ResponseStatus": 1,
            "TraceId": "5e43160c-8953-4c6e-bd4b-47267e644d00"
        }
    }
}
Ready to get started?

Start your own travel agency with Travlix.

Trusted by 100+ travel agencies globally, with 25% growth every month. Book a free live demo of the Travlix admin portal.