API reference
/Air
/- Get transferable unused credits for a company
Get unused credits for a traveler
Get unused credits for a company
Migrate Unused Credits of a traveler to and fro Company Credits
Get transferable unused c...
Returns the list of transferable company unused credits which can be used by any employees of the company. The unused credits can be transferred to another traveler.
Security
Bearer
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v3/air/company-transferable-unused-credits/list
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/airapi/v3/air/company-transferable-unused-credits/list
curl -i -X POST \
https://api-ext-sboxmeta.partners.spotnana.com/v3/air/company-transferable-unused-credits/list \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"companyId": {
"id": "edd5b835-8001-430c-98f8-fedeccebe4cf"
},
"companyCreditFilter": {
"supplier": "SABRE",
"selectedAirlines": [
"AA"
],
"expiryDateRange": {
"expiryDateStart": "2023-01-31",
"expiryDateEnd": "2023-12-01"
},
"fopLabel": [
"Company Central Card",
"Personal Card"
],
"pcc": "LA5K",
"pccs": [
"AK5L",
"BE6C"
],
"fopCardAccessType": [
"CARD_ACCESS_CENTRAL"
],
"legalEntityNames": [
"string"
]
},
"offset": 0
}'OK
List of distinct FOP labels for company transferable credits
Example:
[ "Personal Visa", "Personal Mastercard" ]
List of distinct PCCs for company transferable credits
Example:
[ "AK5L", "BE6C" ]
List of distinct legal entity names for company transferable credits
Response
{ "unusedCreditInfos": [ { … } ], "paginationParams": { "offset": 0, "totalRecords": 100 }, "companyTransferableFopLabels": [ "Personal Visa", "Personal Mastercard" ], "companyTransferablePccs": [ "AK5L", "BE6C" ], "companyTransferableLegalEntityNames": [ "string" ], "supportedAirlines": [ { … } ] }