Fluxir DocsFluxir Docs

Get all supported countries for trip planning

GET/api/app/trip-country/countries

Header Parameters

X-Tenantstring

Tenant ID

Response

OK

idinteger<int64>
codeAlpha2string
codeAlpha3string
codeNumericinteger<int32>
titlestring
dialCodestring

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/trip-country/countries" \
  -H "X-Tenant: <X-Tenant>"
Response
[
  {
    "id": 0,
    "codeAlpha2": "string",
    "codeAlpha3": "string",
    "codeNumeric": 0,
    "title": "string",
    "dialCode": "string"
  }
]