Fluxir DocsFluxir Docs

Get multiple travel services by list of IDs

GET/api/app/travel-services/bulk

Retrieve multiple travel service applications in a single call.

Header Parameters

X-Tenantstring

Tenant ID

Query Parameters

idsarray
withFeesboolean

Response

OK

itemsobject[]
Show items properties
idinteger<int64>
personIdinteger<int64>
billingTripIdinteger<int64>
billingTripFromstring<date>
billingTripTostring<date>
serviceType"Visa" | "Insurance" | "AirportLounge" | "FastTrack" | "Esim" | "FlightItineraryLetter" | "HotelItineraryLetter"
providerNamestring
serviceIntentKeystring
notesstring
descriptionstring
destinationCodestring
originationCodestring
state"Draft" | "ReadyForPayment" | "ReadyForReview" | "InReview" | "ReadyForApplication" | "ReviewFailed" | "Appointment" | "Applied" | "ApplicationRejected" | "ApplicationConfirmed" | "Cancelled" | "Aborted" | "InitialApprove"
documentobject
Show document properties
idinteger<int64>
documentsSchemeVersionIdinteger<int64>
itemsobject
pricingRecordsobject[]
Show pricingRecords properties
idinteger<int64>
serviceApplicationIdinteger<int64>
feeScope"Global" | "PerService"
paymentModel"OneTime" | "Subscription" | "Thirdparty"
serviceType"Visa" | "Insurance" | "AirportLounge" | "FastTrack" | "Esim" | "FlightItineraryLetter" | "HotelItineraryLetter"
titlestring
feeinteger<int32>
codestring
isPaidboolean
travelerFirstNamestring
travelerLastNamestring
creationTimestring<date-time>
lastModificationTimestring<date-time>
applyingTimestring<date-time>
dueDatestring<date>
expectedCompletionDatestring<date>
issuanceTimestring<date-time>
appointmentsobject[]
Show appointments properties
idinteger<int64>
status"Pending" | "Scheduled" | "Accomplished" | "Canceled"
visitDatestring<date>
visitTimestring<time>
addressstring
notesstring
tenantIdstring<uuid>

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/bulk?ids=<ids>&withFees=<withFees>" \
  -H "X-Tenant: <X-Tenant>"
Response
{
  "items": [
    {
      "id": 0,
      "personId": 0,
      "billingTripId": 0,
      "billingTripFrom": "2024-01-01",
      "billingTripTo": "2024-01-01",
      "serviceType": "Visa",
      "providerName": "string",
      "serviceIntentKey": "string",
      "notes": "string",
      "description": "string",
      "destinationCode": "string",
      "originationCode": "string",
      "state": "Draft",
      "document": {
        "id": 0,
        "documentsSchemeVersionId": 0,
        "items": {}
      },
      "pricingRecords": [
        {
          "id": 0,
          "serviceApplicationId": 0,
          "feeScope": "Global",
          "paymentModel": "OneTime",
          "serviceType": "Visa",
          "title": "string",
          "fee": 0,
          "code": "string"
        }
      ],
      "isPaid": true,
      "travelerFirstName": "string",
      "travelerLastName": "string",
      "creationTime": "1970-01-01T00:00:00.000Z",
      "lastModificationTime": "1970-01-01T00:00:00.000Z",
      "applyingTime": "1970-01-01T00:00:00.000Z",
      "dueDate": "2024-01-01",
      "expectedCompletionDate": "2024-01-01",
      "issuanceTime": "1970-01-01T00:00:00.000Z",
      "appointments": [
        {
          "id": 0,
          "status": "Pending",
          "visitDate": "2024-01-01",
          "visitTime": "string",
          "address": "string",
          "notes": "string",
          "tenantId": "00000000-0000-0000-0000-000000000000"
        }
      ]
    }
  ]
}