Fluxir DocsFluxir Docs

Get trip context by route and date

GET/api/app/trip/context

Header Parameters

X-Tenantstring

Tenant ID

Query Parameters

originationstring
destinationstring
fromstring
tostring

Response

OK

itemsobject

Global context key/value items shared across providers.

travelerContextsobject[]

Optional per-traveler context items used by provider-specific logic.

Show travelerContexts properties
personIdinteger<int64>
itemsobject

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/context?origination=<origination>&destination=<destination>&from=<from>&to=<to>" \
  -H "X-Tenant: <X-Tenant>"
Response
{
  "items": {},
  "travelerContexts": [
    {
      "personId": 0,
      "items": {}
    }
  ]
}