Fluxir DocsFluxir Docs

Get travel service intent details by key

GET/api/app/travel-services/service-intent

Retrieve the detailed definition of a travel service intent using its unique key.

Header Parameters

X-Tenantstring

Tenant ID

Query Parameters

keystring

Response

OK

serviceType"Visa" | "Insurance" | "AirportLounge" | "FastTrack" | "Esim" | "FlightItineraryLetter" | "HotelItineraryLetter"
providerstring
destinationCountryCodestring
serviceIntentKeystring
titlestring
descriptionstring
infostring
tagsstring[]
documentSchemeVersionIdinteger<int64>
pricingRecordsobject[]
Show pricingRecords properties
serviceType"Visa" | "Insurance" | "AirportLounge" | "FastTrack" | "Esim" | "FlightItineraryLetter" | "HotelItineraryLetter"
referenceIdinteger<int64>
feeScope"Global" | "PerService"
paymentModel"OneTime" | "Subscription" | "Thirdparty"
titlestring
feeinteger<int32>
commissioninteger<int32>
codestring
serviceTypeIdinteger<int64>
feeinteger<int32>
isSelectableboolean
callToActionsobject[]
Show callToActions properties
type"ServiceApplication" | "Internal" | "External" | "API"
titlestring
uristring
payloadobject
payloadsobject
extraPropertiesobject
isDisabledboolean
disableReasonsstring[]
imagesobject[]
Show images properties
orderinteger<int32>
urlstring
amenitiesobject[]
Show amenities properties
namestring
descriptionstring
termsstring
iconUrlstring

Bad Request

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Unauthorized

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Forbidden

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Not Found

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Internal Server Error

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Not Implemented

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]
Request
curl -X GET "https://api.example.com/api/app/travel-services/service-intent?key=<key>" \
  -H "X-Tenant: <X-Tenant>"
Response
{
  "serviceType": "Visa",
  "provider": "string",
  "destinationCountryCode": "string",
  "serviceIntentKey": "string",
  "title": "string",
  "description": "string",
  "info": "string",
  "tags": [
    "string"
  ],
  "documentSchemeVersionId": 0,
  "pricingRecords": [
    {
      "serviceType": "Visa",
      "referenceId": 0,
      "feeScope": "Global",
      "paymentModel": "OneTime",
      "title": "string",
      "fee": 0,
      "commission": 0,
      "code": "string"
    }
  ],
  "serviceTypeId": 0,
  "fee": 0,
  "isSelectable": true,
  "callToActions": [
    {
      "type": "ServiceApplication",
      "title": "string",
      "uri": "string",
      "payload": {},
      "payloads": {}
    }
  ],
  "extraProperties": {},
  "isDisabled": true,
  "disableReasons": [
    "string"
  ],
  "images": [
    {
      "order": 0,
      "url": "string"
    }
  ],
  "amenities": [
    {
      "name": "string",
      "description": "string",
      "terms": "string",
      "iconUrl": "string"
    }
  ]
}