Fluxir DocsFluxir Docs

Get country details by ISO alpha-3 code

GET/api/app/trip-country/by-code

Header Parameters

X-Tenantstring

Tenant ID

Query Parameters

codeAlpha3string

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/by-code?codeAlpha3=<codeAlpha3>" \
  -H "X-Tenant: <X-Tenant>"
Response
{
  "id": 0,
  "codeAlpha2": "string",
  "codeAlpha3": "string",
  "codeNumeric": 0,
  "title": "string",
  "dialCode": "string"
}