Top Banner
Developer Administration Guide Bargain Finder Max API Shop for NDC Carrier Content / Integrate NDC Offers in Shopping Schema Version 1 Release 2019.03 (March 2018)
33

Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Apr 30, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide Bargain Finder Max API

Shop for NDC Carrier Content / Integrate NDC Offers in Shopping

Schema Version 1

Release 2019.03

(March 2018)

Page 2: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Schema version 1

Document Edition 1.0 (March 2019)

This documentation is the confidential and proprietary information

of Sabre Inc. Any unauthorized use, reproduction, preparation of

derivative works, performance, or display of this document, or

software represented by this document, without the express written

permission of Sabre Inc., is strictly prohibited.

Sabre and Sabre Dev Studio are trademarks and/or service marks

of an affiliate of Sabre Corporation. All other trademarks, service

marks, and trade names are the property of their respective

owners.

© 2019 Sabre Inc. All rights reserved.

Page 3: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Table of Contents iii

Table of Contents

1 A P I O v e r v i e w 1 - 1

Bargain Finder Max Introduction ......................................................................................................... 1-1 About This Guide ................................................................................................................................ 1-1 Getting Started .................................................................................................................................... 1-2 API Information ................................................................................................................................... 1-2 Shop for NDC carrier content with Bargain Finder Max API ............................................................... 1-4

2 Q u i c k S t a r t G u i d e 2 - 5

Product Usage and Examples ............................................................................................................ 2-5

3 A P I R e f e r e n c e 3 - 1 3

The beginner’s guide to Air Shopping ............................................................................................... 3-13 Schema definitions............................................................................................................................ 3-13 Parameters introduced to the Request schema ................................................................................ 3-13 Parameters introduced to the Response schema ............................................................................. 3-15

4 E r r o r M e s s a g e s a n d S t a t u s C o d e s 4 - 1

Introduction ......................................................................................................................................... 4-1 Status Codes ...................................................................................................................................... 4-9

G l o s s a r y 1

Page 4: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Table of Contents iv

• • •

Page 5: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 API Overview 1-1

B a r g a i n F i n d e r M a x I n t r o d u c t i o n

Bargain Finder Max (BFM), our best-in-class low fare search product, is used to search for the best

available priced itineraries based upon a specific date. Bargain Finder Max is an interface into the Air

Shopping engine through a Universal Service Gateway (USG) and 2nd Generation Services Gateway

(2SG) that allows users to use the shopping engine without a traditional Sabre terminal. When a

shopper searches for low fares, the JSON (JavaScript Object Notation) within Bargain Finder Max

communicates with the shopping engine and returns the appropriate response.

NDC Update

New enhancements to our shopping capabilities were made so Bargain Finder Max searches for air

offers distributed through the NDC (New Distribution Capability) standard. The new capability

allows a Sabre agency to shop for NDC content, Low Cost Carrier (LCC) content, and traditionally

filed content (ATPCO), in one transaction. The returned content contains one integrated shopping

response from all sources.

A b o u t T h i s G u i d e

This guide provides information on the enhancements made to the Bargain Finder Max API that

allows users to search for air offers distributed through the NDC (New Distribution Capability)

standard. Each chapter is as follows:

• Chapter 1, “API Reference” describes the changes and new parameters added to the schemas.

• Chapter 2, “Error! Reference source not found.” describes the details of the product usage and e

xamples.

• Chapter 3, “Error! Reference source not found.” describes the error messages for Bargain F

inder Max functionality.

• Glossary, provides a glossary of terms used in this document.

1 API Overview 1

Page 6: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 API Overview 1-2

G e t t i n g S t a r t e d

This documentation is the confidential and proprietary product of Sabre Inc. Any unauthorized use,

reproduction, or transfer of this documentation, in any medium, or incorporation of this

software/documentation into any system or publication, is strictly prohibited. © 2008-2018 Sabre Inc.

All rights reserved.

A P I I n f o r m a t i o n

This service requires activation, if you are not a current BFM customer, please contact your Sabre

Account Representative for assistance.

1.4.1 T a r g e t A u d i e n c e

All Sabre APIs customers.

1.4.2 A u t h e n t i c a t i o n

Sessionless Token

1.4.3 V e r s i o n i n f o r m a t i o n

BargainFinderMax Request/Response Version 1

1.4.4 U R I S c h e m e

Environment Host BasePath Schemes

PROD https://api.havail.sabre.com/v1/offers/shop /v1

HTTP

CERT

https://api-

crt.cert.havail.sabre.com/v1/offers/shop

/v1

HTTP

TEST

https://api.tsts.havail.sabre.com/v1/offers/shop /v1

HTTP

Page 7: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 API Overview 1-3

1.4.5 M e t h o d s / E n d p o i n t s

1.4.6 P O S T / v 1 / o f f e r s / s h o p

Description

POST: Creates offers from the NDC, ATPCO, and LCC content sources.

1.4.7 T e c h n o l o g y / L a n g u a g e

REST/JSON

1.4.8 R e s p o n s e T y p e

GIR – Group Itinerary Response

1.4.9 C o n t a c t i n f o r m a t i o n

Email: [email protected]

Url: https://developer.sabre.com

Page 8: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 API Overview 1-4

S h o p f o r N D C c a r r i e r c o n t e n t w i t h B a r g a i n F i n d e r

M a x A P I

The purpose of this guide is to describe the NDC (New Distribution Capability) within the Bargain

FinderSM Max (BFM) API.

What is it?

The NDC Standard enhances the capability of communications between airlines and travel agents.

This capability enables Sabre to transform the way air products are retailed to leisure and business

travelers, by addressing the industry’s current distribution limitations:

▪ Product differentiation and time-to-market

▪ Access to full and rich air content

▪ Transparent shopping experience

What does it do?

Bargain Finder Max supports offer content provided by NDC-compliant carriers when shopping. This

solution:

▪ Reaches out to NDC carriers for offer details

▪ Interacts with the Offer Store, a database that allows storing retrieving Offers and their Offer

items.

▪ Enhances currently existing JSON BFM schemas

How does it work?

This enhancement adds the capability to search for offers distributed through the NDC Standard in

one integrated response from all sources.

The enhancement introduces additional parameters to the Bargain Finder Max API’s shopping

capabilities. The shopping service is available to developers via REST/JSON with the GIR response

type.

Page 9: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Quick Start Guide 2-5

This chapter includes the following:

• Product usage and example (see “Error! Reference source not found.,” page 2-5).

• JSON examples (see “Error! Reference source not found.,” page 2-5).

P r o d u c t U s a g e a n d E x a m p l e s

This section includes instructions on how to enable and get shopping offers with the different content

sources in the Bargain Finder Max API request and response.

2.1.1 T r y i n g t h e A P I

Use the API Explorer on Sabre Dev Studio to explore Sabre REST APIs by making calls to the test

environment. Please note that you first need to sign in before testing our APIs. You can also view

our written documentation.

2.1.2 U s e C a s e s & E x a m p l e s

The following use case is denoted via REST/JSON only.

USE CASE 1 (Bargain Finder Max request and response for simple one-way itinerary to return

solutions in which content source for NDC only is requested)

Example Request:

{ "OTA_AirLowFareSearchRQ": { "TruncateMessages": false, "Target": "Production", "Version": "0.0.1", "POS": { "Source": [ { "PseudoCityCode": "XXXX", "RequestorID": { "Type": "0.AAA.X", "ID": "REQ.ID", "CompanyName": { "Code": "TN" } }

2 Quick Start Guide 2

Page 10: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Quick Start Guide 2-6

} ] }, "OriginDestinationInformation": [ { "RPH": "1", "DepartureDateTime": "2019-01-03T00:00:00", "OriginLocation": { "LocationCode": "NYC" }, "DestinationLocation": { "LocationCode": "LAX" }, "TPA_Extensions": { "SegmentType": { "Code": "O" } } } ], "TravelPreferences": { "TPA_Extensions": { "NumTrips": { "Number": 10 }, "DataSources": { "NDC": "Enable", "ATPCO": "Disable", "LCC": "Disable" } } }, "TravelerInfoSummary": { "SeatsRequested": [ 1 ], "AirTravelerAvail": [ { "PassengerTypeQuantity": [ { "Code": "ADT", "Quantity": 1 } ] } ], "PriceRequestInformation": { "TPA_Extensions": { } } }, "TPA_Extensions": { "IntelliSellTransaction": { },

Page 11: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Quick Start Guide 2-7

"SabreAth": { "Value": "", "BinarySecToken": "", "ConversationID": "" } } } }

USE CASE 2 (Bargain Finder Max request and response for simple one-way itinerary to return

solutions in which content source for ATPCO only is requested)

Example Request:

{ "OTA_AirLowFareSearchRQ": { "TruncateMessages": false, "Target": "Production", "Version": "0.0.1", "POS": { "Source": [ { "PseudoCityCode": "XXXX", "RequestorID": { "Type": "0.AAA.X", "ID": "REQ.ID", "CompanyName": { "Code": "TN" } } } ] }, "OriginDestinationInformation": [ { "RPH": "1", "DepartureDateTime": "2019-01-03T00:00:00", "OriginLocation": { "LocationCode": "NYC" }, "DestinationLocation": { "LocationCode": "LAX" }, "TPA_Extensions": { "SegmentType": { "Code": "O" } } } ], "TravelPreferences": { "TPA_Extensions": {

Page 12: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Quick Start Guide 2-8

"NumTrips": { "Number": 10 }, "DataSources": { "NDC": "Disable", "ATPCO": "Enable", "LCC": "Disable" } } }, "TravelerInfoSummary": { "SeatsRequested": [ 1 ], "AirTravelerAvail": [ { "PassengerTypeQuantity": [ { "Code": "ADT", "Quantity": 1 } ] } ], "PriceRequestInformation": { "TPA_Extensions": { } } }, "TPA_Extensions": { "IntelliSellTransaction": { }, "SabreAth": { "Value": "", "BinarySecToken": "", "ConversationID": "" } } } }

Page 13: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Quick Start Guide 2-9

In the below example, we have an extract of a BFM response for simple one-way itinerary to return

solutions in which only the content source for ATPCO is requested. You can see an Offer with a

unique offerId is returned by ATPCO, which will be stored for 35 minutes in a database.

Example Response (extract):

"itineraryGroups": [ { "groupDescription": { "legDescriptions": [ { "departureDate": "2019-01-01", "departureLocation": "LAX", "arrivalLocation": "JFK" } ] }, "itineraries": [ { "id": 1, "pricingSource": "ADVJR1", "legs": [ { "ref": 1 } ], "pricingInformation": [ { "pricingSubsource": "MIP", "offer": { "offerId": "cdjnxalksm0-1", "ttl": 35, "source": "ATPCO" }, "fare": { "offerItemId": "cdjnxalksm0-1-1", "validatingCarrierCode": "DL", "vita": true, "eTicketable": true, "lastTicketDate": "2018-11-01", "governingCarriers": "DL", "serviceId": "cdjnxalksm0-1-1-1", "passengerInfoList": [ { "passengerInfo": { "passengerType": "ADT", "passengerNumber": 1, "nonRefundable": true, "fareComponents": [

Page 14: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Quick Start Guide 2-10

{ "ref": 5, "segments": [ { "segment": { "bookingCode": "E", "cabinCode": "Y", "seatsAvailable": 4, "availabilityBreak": true } } ] }, { "ref": 4, "segments": [ { "segment": { "bookingCode": "E", "cabinCode": "Y", "mealCode": "D", "seatsAvailable": 4, "availabilityBreak": true } } ] } ], "taxes": [ { "ref": 9 }, { "ref": 16 }, { "ref": 4 }, { "ref": 12 }, { "ref": 5 }, {

Page 15: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Quick Start Guide 2-11

"ref": 7 }, { "ref": 2 } ], "taxSummaries": [ { "ref": 5 }, { "ref": 1 }, { "ref": 2 }, { "ref": 3 } ], "currencyConversion": { "from": "USD", "to": "USD", "exchangeRateUsed": 1.0 }, "fareMessages": [ { "type": "N", "code": "0", "carrier": "DL", "info": "NONREF/NOCHGS/NOPRE RSVDSEAT" }, { "type": "W", "code": "0", "info": "VALIDATING CARRIER - DL" } ], "passengerTotalFare": { "totalFare": 188.4, "totalTaxAmount": 39.56, "currency": "USD", "baseFareAmount": 148.84, "baseFareCurrency": "USD", "equivalentAmount": 148.84, "equivalentCurrency": "USD", "constructionAmount": 148.84, "constructionCurrency": "USD", "commissionPercentage": 0.0, "commissionAmount": 0.0, "exchangeRateOne": 1.0, "totalTtypeObFee": 0.0 } } }

Page 16: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Quick Start Guide 2-12

], "totalFare": { "totalPrice": 188.4, "totalTaxAmount": 39.56, "currency": "USD", "baseFareAmount": 148.84, "baseFareCurrency": "USD", "constructionAmount": 148.84, "constructionCurrency": "USD", "equivalentAmount": 148.84, "equivalentCurrency": "USD", "totalTtypeObFee": 0.0 }, "validatingCarriers": [ { "ref": 1 } ] } } ] },

Page 17: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 API Reference 3-13

T h e b e g i n n e r ’ s g u i d e t o A i r S h o p p i n g

What is required in my shopping request?

Please see attached samples.

Looking for latest features and enhancements to Sabre APIs?

You are in the right place, check the Release Notes.

Sabre APIs currently supports up to 5 versions of an API.

Check the API Versioning page.

S c h e m a d e f i n i t i o n s

For information about parameter types and constraints, please refer to SDS resources for

BargainFinderMax API.

P a r a m e t e r s i n t r o d u c e d t o t h e R e q u e s t s c h e m a

3.3.1 D a t a S o u r c e s : o b j e c t

A parameter to choose which content source to drive at the request level. You will be able to drive all

content source ATPCO/LCC/NDC, NDC Only, or ATPCO Only, or any combination of them,

overriding current default.

ATPCO: string

3 API Reference 3

E2E_Sample _OfferShop.zip

Page 18: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 API Reference 3-14

Enables/Disables ATPCO content to be returned in the shopping response.

LCC: string

Enables/Disables LCC content to be returned in the shopping response.

NDC: string

Enables/Disables ‘default’ NDC content to be returned in the shopping response.

Example of an Offer request for NDC content only:

}, "DataSources": { "NDC": "Enable", "ATPCO": "Disable", "LCC": "Disable"

}

3.3.2 P r e f e r N D C S o u r c e O n T i e : o b j e c t

Allows sabre agency to choose which content source to drive at the request level. Customer will be

able to drive all content sources ATPCO/LCC/NDC, or NDC Only or ATPCO Only, or any

combination of them, overriding current default.

Value: boolean

Example of Prefer NDC Source on Tie:

}, "PreferNDCSourceOnTie": { "Value": true } }

}

Page 19: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 API Reference 3-15

P a r a m e t e r s i n t r o d u c e d t o t h e R e s p o n s e s c h e m a

3.4.1 O f f e r : o b j e c t

An Offer that contains NDC, ATPCO, or LCC Offer data.

offerId: string (required)

The unique identifier of an Offer within the context of one message. An OfferId is assigned to an

itinerary’s price point.

Example: "cdjnxalks”:

ttl: integer (required)

Time to Live in minutes. Specifies how log an offer is stored.

Example: 35

source: string , must match (ATPCO)|(LCC)|(NDC) (required)

Example: NDC, ATPCO, LCC

offerItemId: string

The unique identifier of the OfferItem instance. OfferItem is a priceable chunk of services.

Example: "cdjnxalksm0-1-1"

serviceId: string

The unique identifier of a service within the context of one message. A service is a feature/service

included in a given flight.

Example: "cdjnxalksm0-1-1-1"

Example of a response with an Offer returned with NDC content only. You can identify the source of

the content by looking at the value returned in the parameter e.g. "source": "NDC".

"itineraryGroups": [ { "groupDescription": { "legDescriptions": [ { "departureDate": "2019-01-03", "departureLocation": "EWR", "arrivalLocation": "LAX" } ] }, "itineraries": [

Page 20: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 API Reference 3-16

{ "id": 1, "pricingSource": "ADVJR1", "legs": [ { "ref": 13 } ], "pricingInformation": [ { "pricingSubsource": "NDC_CONNECTOR", "offer": { "offerId": "dx25jxjzpjpmqokbu0-9", "ttl": 29, "source": "NDC" }, "fare": { "offerItemId": "dx25jxjzpjpmqokbu0-9-1", "validatingCarrierCode": "", "eTicketable": true, "serviceId": "dx25jxjzpjpmqokbu0-9-1-1", "passengerInfoList": [ { "passengerInfo": { "passengerType": "", "passengerNumber": 1, "fareComponents": [ { "ref": 17, "segments": [ { "segment": { "bookingCode": "B", "cabinCode": "Y" } }, { "segment": { "bookingCode": "B",

Page 21: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 API Reference 3-17

"cabinCode": "Y" } } ] } ], "taxes": [ { "ref": 18 }, { "ref": 13 }, { "ref": 26 }, { "ref": 24 }, { "ref": 26 }, { "ref": 24 } ], "passengerTotalFare": { "totalFare": 345.81, "totalTaxAmount": 45.34, "currency": "USD", "baseFareAmount": 300.47, "baseFareCurrency": "USD", "equivalentAmount": 300.47, "equivalentCurrency": "USD" } } } ], "totalFare": { "totalPrice": 345.81, "totalTaxAmount": 45.34, "currency": "USD", "baseFareAmount": 300.47, "baseFareCurrency": "USD", "equivalentAmount": 300.47, "equivalentCurrency": "USD" }, "validatingCarriers": [ ] } }

Page 22: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 API Reference 3-18

] }

Page 23: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Error Messages and Status Codes 4-1

I n t r o d u c t i o n

4.1.1 A P I S p e c i f i c E r r o r s

Bargain Finder Max

# Error Cause Resolution

1 No Availability Either your PCC is not enabled to consume BFM or the tier level (50, 100, 200) you specified does not match your BFM agreement.

1. Ensure your PCC is enabled to consume BFM. Contact your Sabre account manager to validate if your PCC has been configured to consume BFM.

2. Adjust the BFM tier level to the appropriate one according to your BFM agreement.

2 NO FLIGHT SCHEDULES FOR QUALIFIERS USED

No flights results could be found with the qualifiers used in your request.

Review the qualifiers used on your request to ensure those are not overly-restrictive – Example, requesting non-stop flights in a route where non-stop flight do not operate.

3 Communication error code=104: Connection reset by peer

Temporary internal processing error.

1. Retry your request.

2. Contact Sabre support if error persists.

4 Communication error: Transmission timeout

Temporary internal processing error.

1. Retry your request.

2. Contact Sabre support if error persists.

5 DSF server returned an error: Insufficient resources to process the request

Temporary internal processing error.

1. Retry your request.

2. Contact Sabre support if error persists.

4 Error Messages and Status Codes 4

Page 24: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Error Messages and Status Codes 4-2

# Error Cause Resolution

6 MAX NBR COMBINATIONS EXCEEDED

Temporary internal processing error.

1. Retry your request.

2. Contact Sabre support if error persists.

4.1.2 R E S T A P I S C o m m o n e r r o r s

REST APIs: Verify your token credentials were set-up correctly.

#

HTTP Status Code Message Text Resolution

1 400 Bad Request

Invalid format for request 1. Verify your request includes valid parameters or values.

2. Verify the grant_type in the request payload.

2 400

ERR.2SG.CLIENT.INVALID_REQUEST Verify your request includes valid parameters or values. Check API documentation.

3 401 Unauthorized

Not authorized to make this request. Check access level and refer to API documentation for access information.

Verify your token credentials.

4 401 Unauthorized

invalid_client Verify your token credentials.

5 401 Unauthorized

Credentials are missing or the syntax is not correct Verify your base64-encoded token credentials

Page 25: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Error Messages and Status Codes 4-3

#

HTTP Status Code Message Text Resolution

were constructed properly.

6 401 Unauthorized

Wrong clientID or clientSecret Verify password for the client ID.

7 401 Unauthorized

ERR.2SG.SEC.MISSING_CREDENTIALS Verify you are using the correct data type.

8 401 Unauthorized

ERR.2SG.SEC.INVALID_CREDENTIALS Verify your token credentials.

9 403 Forbidden Request is for a resource that is forbidden 1. Verify your token credentials allow authorization to call this API.

2. Contact your Sabre account manager to verify access.

10

403

ERR.2SG.SEC.NOT_AUTHORIZED 1. Verify your token credentials allow authorization to call this API.

2. Contact your Sabre account manager to verify access.

11

403

ERR.2SG.CLIENT.SERVICE_UNKNOWN 1. Verify URL is valid.

2. Verify whether your request is

Page 26: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Error Messages and Status Codes 4-4

#

HTTP Status Code Message Text Resolution

required segments, such as a version number. Check API documentation.

12

404 Not Found Response does not contain any data 1. No data found to fulfill the request. You might to consider using fewer parameters/filters.

2. URL has missing segments, such as a version number. Check API documentation.

3. Verify URL is valid. Check API documentation.

13

405 Method Not Allowed

Method is not valid or authorized for this endpoint. Check API documentation.

14

406 Not Acceptable

Requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request.

Page 27: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Error Messages and Status Codes 4-5

#

HTTP Status Code Message Text Resolution

15

413

ERR.2SG.CLIENT.INVALID_REQUEST 1. Request URL too long.

2. Reduce the number of request parameters in the URL. Separate parameters into multiple requests.

16

413 FULL head

1. Request URL too long.

2. Reduce the number of request parameters in the URL. Separate parameters into multiple requests.

17

429 too many requests

temporarily_unavailable 1. Internal limit has been exceeded.

2. Wait at least 500 milliseconds and resend the request.

18

429 Throttled Active token count is exceeded 1. Maximum number of concurrent requests for the API have been exceeded. Contact your Sabre account manager to

Page 28: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Error Messages and Status Codes 4-6

#

HTTP Status Code Message Text Resolution

determine or increase your allocated concurrent request limit for this API.

2. Wait at least 500 milliseconds and resend the request.

19

429

ERR.2SG.GATEWAY.REQUEST_THROTTLED 1. Maximum number of concurrent requests for the API have been exceeded. Contact your Sabre account manager to determine or increase your allocated concurrent request limit for this API.

2. Wait at least 500 milliseconds and resend the request.

20

500 Server Error

1. API encountered an unexpected condition that prevented it from fulfilling the client's request.

2. Wait at least 500

Page 29: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Error Messages and Status Codes 4-7

#

HTTP Status Code Message Text Resolution

milliseconds and resend the request.

21

500

ERR.2SG.SEC.INTERNAL_PROCESSING_ERROR

1. API encountered an unexpected condition that prevented it from fulfilling the client's request.

2. Wait at least 500 milliseconds and resend the request.

22

500

ERR.2SG.GATEWAY.TIMEOUT Wait at least 500 milliseconds and resend the request.

23

500

ERR.2SG.GATEWAY.INTERNAL_PROCESSING_ERROR

Wait at least 500 milliseconds and resend the request.

24

500

ERR.2SG.GATEWAY.INVALID_PROVIDER_RESPONSE

1. The server cannot understand the response of the service because of bad format or failure to comply with protocol. Contact the Sabre support desk.

Page 30: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Error Messages and Status Codes 4-8

#

HTTP Status Code Message Text Resolution

2. Wait at least 500 milliseconds and resend the request.

25

500

ERR.2SG.GATEWAY.PROVIDER_CONNECTION_ERROR

1. Your request encountered a transport error.

2. Wait at least 500 milliseconds and resend the request.

26

503 Service Unavailable

Server is currently unavailable. Please try again later and report if problem persists.

Wait at least 500 milliseconds and resend the request.

27

504 Gateway Timeout

Server timed out trying to fulfill request. Please try again later and report if problem persists.

Wait at least 500 milliseconds and resend the request.

Page 31: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Error Messages and Status Codes 4-9

S t a t u s C o d e s

RESTful services use HTTP status codes to provide the result status of the executed service. For

example, 200 for success, 404 when a resource is not found.

HTTP status codes are defined by section 10 of RFC 2616, the Internet Assigned Numbers Authority

(IANA) maintains the official registry of HTTP status codes.

Range Meaning

2xx Successful operation. Indicates that a request

was successful, of which can succeed in

multiple ways.

4xx Client-side error. Usually, it indicates that there

was a problem with the data sent in the request,

but can also indicate infrastructure-related

issues, e.g. authentication, throttling. In most

cases the client can modify their request and

resubmit.

5xx Server-side error. Indicates a valid request was

sent by the client, but it could not be processed

due to software defects or external conditions

like downline system unavailability. 5xx range

status codes should not be utilized for validation

or logical error handling.

Page 32: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Error Messages and Status Codes 4-10

• • •

Page 33: Developer Administration Guidefiles.developer.sabre.com/doc/providerdoc/shopping/BargainFinderM… · Developer Administration Guide March 2019 API Overview 1-1 Bargain Finder Max

Developer Administration Guide March 2019 Glossary 1

Glossary

Term Description

2SG 2nd Generation Services Gateway

ATPCO Airline Tariff Publishing Company

BFM Bargain Finder Max

IATA International Air Transport Association

NDC New Distribution Capability, IATA xml communication standard.

OTA Online Travel Alliance

USG Universal Service Gateway