API Information

Response Format
JSON
Method/Endpoint
POST /v1.9.5.1/shop/calendar/flights/
Current Version
1.9.5.1
Target Audience
TN
Environment
Production
Documentation
Go to the Advanced Calendar Search documentation

What's New

  • enabletagging: returns a Request ID for the itinerary data set and a Tag ID for each itinerary in the response and stores in the Sabre cache. The request ID can be used to make "paginated" calls (using limit and offset) via the new Advanced Calendar Search - Pagination Request URL . The tag ID can be used to retrieve an itinerary via the new Advanced Calendar Search - Tag ID Lookup URL.
  • limit and offset: paginate search results for a given request ID by specifying how many itineraries to return per request in limit and specifying the starting position to begin retrieving itineraries in offset . This allows you to more quickly retrieve and return search qu eries for mobile application requests. Rather than returning all results, you could return 5 results per request in limit (limit=5) and specify a starting position of 1 in offset (offset=1). Then you can select a starting position of 6 (offset=6) to retrieve the next 5 results (limit=5).
  • view: use a Sabre default response view or create a custom response view. To create a custom response view, define the response paths to include or exclude using the Custom Response View API , then pass the view as a filter in the request URI, e.g., view=NOWARNINGS to format the response. See the Response View Lookup API for a list of Sabre response views.

New Features

In the Request

Optional

Parameter: enabletagging

Type: boolean

Description: Returns a RequestID for the itinerary data set and stores in the Sabre cache. The request ID can be used to make "paginated" calls (using limit and offset) via the Pagination Request URL at: GET /v1.9.5.1/shop/calendar/flights/{requestid}. Returns a TagID for each itinerary and stores in the Sabre cache. The tag ID can be used to retrieve an itinerary from the Tag ID Lookup URL at: GET /v1.9.5.1/shop/calendar/flights/tags/{tagid}. See documentation for new methods and endpoints.

Sample Value:

N/A
Note: enabletagging=true – returns and stores itineraries for subsequent calls to the Sabre cache
Parameter: limit

Type: string or number

Description: The number of itineraries to retrieve per request

Sample Value:

limit=50
Note: Default value: 50 itineraries per request . If limit is specified in the Pagination Request URL, then enabletagging=true must have been specified in the initial Advanced Calendar Search API request.
Parameter: offset

Type: number

Description: The starting position in the list of all itineraries that meet the query criteria

Sample Value:

offset=1
Note: Default value: 1. If offset is specified in the Pagination Request URL, then enabletagging=true must have been specified in the initial Advanced Calendar Search API request.
Parameter: view

Type: string

Description: The response view definition

Sample Value:

view=IF_ITIN_TOTAL_PRICE
Note: Note: You can either use a Sabre default response view or create a custom response view us ing the Custom Response View API .

In the Response

N/A

Parameter: RequestID

Type: string

Description: The request ID that corresponds to the itinerary data set

Sample Value:

N/A
Note: A request ID is returned when enabletagging=true is used in a previous Advanced Calendar Search API request. The request ID can be used to make "paginated" calls (using limit and offset) via the Pagination Request URL. See documentation for details on request ID expiration values.
Parameter: TagID

Type: string

Description: The tag ID for the respective itinerary

Sample Value:

N/A
Note: A tag ID is returned when enabletagging=true is used in a previous Advanced Calendar Search API request. The tag ID can be used to retrieve an itinerary from the Tag ID Lookup URL. See documentation for details on tag ID expiration values.
Parameter: paginatedRequestLinkTemplate

Type: N/A

Description: Formats an API request with placeholders to retrieve the itinerary data set associated with a given request ID

Sample Value:

N/A
Parameter: tagLookupLinkTemplate

Type: N/A

Description: Formats an API request with placeholders to retrieve the itinerary associated with a given tag ID

Sample Value:

N/A