Air

Check whether the given unused credit's market is supported for the company.

Changed on
post/v3/air/unused-credits/check-market-support

Request

  • Base URL
    https://api-ext-sboxmeta.partners.spotnana.com
  • Auth
    HTTP bearer

Request body

pccstring

PCC of the credit being entered on the manual-create form; used to resolve the PoS country.

airlinestring

IATA airline code of the credit being entered; checked against supported airline codes.

tmcIdstring

TMC id used (with supplier) to resolve the PCC's point-of-sale country.

supplier'UNKNOWN_SOURCE' | 'SABRE' | 'TRAVEL_FUSION' | 'AVIA' | 'NDC' | 'TRAINLINE' | 'ATPCO_NDC' | 'FARELOGIX_NDC' | 'OFFLINE' | 'CONNEXUS' | 'ROUTEHAPPY' | 'AMADEUS' | 'GIATA' | 'QBR' | 'BCD' | 'QANTAS_HOTELS' | 'SOUTHWEST' | 'EXPEDIA' | 'HOTEL_HUB' | 'MARRIOTT' | 'CLEARTRIP' | 'KYTE' | 'GROUNDSPAN' | 'SABRE_NDC' | 'BOOKING_COM' | 'CARTRAWLER' | 'PREMIER_INN' | 'TRAVELODGE' | 'ENTERPRISE' | 'HYATT' | 'HILTON' | 'EUROSTAR' | 'NATIONAL' | 'ALAMO' | 'AVIS' | 'BUDGET' | 'HERTZ' | 'DOLLAR' | 'THRIFTY' | 'FIREFLY' | 'AMADEUS_NDC' | 'SIXT'
organizationIdstring

Organization (company) id whose UnusedCreditBlockingConfig governs the supported markets.

Example request

{
  "pcc": "J8FK",
  "airline": "UA",
  "tmcId": "tmc-id-123",
  "supplier": "SABRE",
  "organizationId": "org-id-456"
}

Response

OK

isMarketSupportedboolean

False when the credit's PoS country and/or airline is outside the company's supported set; the FE renders the manual-create visibility notice in that case. True (shown) when suppression is disabled, the supported list is empty, or the input is blank/unresolved (lenient).

Changes