Download OpenAPI specification:
ConnectAPI is a family of APIs that standardize integration between provider and user of the services. It is designed to be RESTful, using standard HTTP methods like GET, POST, and DELETE, and it primarily exchanges data in JSON format. Connect API for Ground Transports focuses specifically on the ground transports services, including primarily shuttles and taxis, ferries, trains and buses.
The API definition below is designed to handle the whole lifecycle of the ground transports booking process, from searching for available ground transports to booking and cancelling them. The key functionalities of the Connect API for Ground Transports are:
Searching for Ground Transports: This endpoint lists all available ground transports based on the input criteria. Each ground transports comes with basic information like departure and arrival dates and times, prices, carrier name, etc.
Checking Ground Transports Availability: This endpoint extends the functionality above. In addition to providing ground transports details, it also verifies the the current status of the ground transports' availability. This call returns a quote ID. The quote ID is used to book the ground transports.
Booking a Ground Transports: This endpoint enables booking a specific ground transports. It requires the ID of the ground transports quote and customer details for a successful booking. This call returns a booking ID.
Canceling a Ground Transports booking: This endpoint cancels a specific ground transports booking. It requires the booking ID to perform the cancellation.
| API Version | Docs Version | Changes |
|---|---|---|
| 1.0 | 08.07.2025 | Initial version |
| 1.1 | 29.07.2025 | Added voucherUrls field to GroundTransportBooking response |
| 1.2 | 21.01.2026 | Added optional timeInterval and maxOffers parameters to search request |
| 1.3 | 26.01.2026 | Added GroundTransportSegmentCategory schema, startTime and segments to GroundTransportServiceCategory, id to GroundTransportSegmentOffer. Deprecated departureDatetime, arrivalDatetime, durationInMinutes in GroundTransportSegmentOffer |
| 1.4 | 29.01.2026 | Renamed maxOffers to maxServiceCategories in search request. Renamed startTime to departureTime in GroundTransportServiceCategory. Updated timeInterval, maxServiceCategories and departureTime descriptions. Made departureDatetime and arrivalDatetime non-required in GroundTransportSegmentOffer |
| 1.5 | 03.02.2026 | Added a new endpoint to get details of a specific offer. Extend segments to with carrierLogo and lineDetails. Extend GroundTransportRequestLocation with stationCode, cityCode, cityName, countryCode |
| 1.6 | 06.02.2026 | Extend availability request and booking request with more attributes (departureDateTime, arrivalDateTime, fareClass, carrier, etc). Extended GroundTransportResponseLocation with stationCode. |
| 1.7 | 25.02.2026 | Added travelAgentEmail, travelAgentFirstName, travelAgentLastName, travelAgencyShortName, travelAgencyEmail to Metadata |
| 1.8 | 09.03.2026 | Added includedAmenities each segment of the offer offer, added externalReference` on the service category |
| 1.9 | 20.04.2026 | Made Contract-Id optional, added Login and Password headers as alternative identification method |
| 1.9.1 | 29.04.2026 | Made connectionId required on the requests |
All API requests must be made over HTTPS.
Identification can be provided via either:
Contract-Id header identifying the contract configurationLogin and Password headers for login-based authenticationThe identification method should be agreed with Nezasa before integration development starts. Both methods may be provided simultaneously if required by the integration.
This endpoint, often known as a "health check" endpoint, is used for monitoring and assessing the status of the service. Its main function is to signal the health of the service, aiding in identifying any potential issues or service breakdowns.
TripBuilder will periodically call this endpoint to check the service's status. The response from this health check endpoint is used to assess the current condition of the service. If the service is operating correctly, the endpoint will return a positive acknowledgment, i.e. a HTTP 200 status code and a message indicating the service's health.
On the other hand, if the service is not functioning as expected, the endpoint will return an error status code and potentially additional data about the issue's nature.
This proactive health check allows for prompt detection and resolution of issues, ensuring the service's reliability and smooth functioning.
{- "code": 0,
- "details": [
- "details",
- "details"
], - "message": "message"
}Obtain a list of ground transport offers (taxis, shuttles, trains, buses, ferries, etc.) for a given connection. The connection is defined by the departure and the arrival location and time and can be further filtered by a set of filters.
| traceparent | string Example: 00-666b4b3800000000089918a4bf7e8d29-40eeac6740412d3f-01 For tracking and debugging, we will include a tracing header with every request. This trace ID follows the W3C Trace Context standard. Users can see this same header in the Trip Builder API responses and match it with data in the Supplier system if needed. |
| Contract-Id | string Example: nicetours, 123456 An identifier of the contract to differentiate configuration, options or settings. This is one of two supported identification methods. Either provide a Contract-Id header, or provide Login and Password headers. Both may be provided simultaneously if required by the integration. The identification method should be agreed with Nezasa before development starts. |
| Login | string Login identifier for supplier authentication. An alternative to the Contract-Id header. When using login-based authentication, both Login and Password headers should be provided. The identification method should be agreed with Nezasa before development starts. |
| Password | string <password> Password for supplier authentication. Used together with the Login header as an alternative to the Contract-Id header. The identification method should be agreed with Nezasa before development starts. |
| currency required | string Preferred currency. 3-letter code (ISO 4217). |
| lang required | string (Supported languages) Default: "de" Enum: "de" "en" "fr" "it" "nl" "es" "fi" "pt" "sv" "no" "da" "pl" 2-letter code (ISO 639-1) |
object (Paging management for a request) | |
required | Array of objects (GroundTransportConnection) non-empty Requested connections. For one way transports, a single element. For return transports, two elements. May contain more complex connection combinations. |
required | Array of objects (Basic representation of a pax) Passengers using the transport |
| transportTypes | Array of strings (TransportType) Items Enum: "Shuttle" "Taxi" "Bus" "Minibus" "Rail" "Ferry" "Boat" "Walk" Optional filter for specific types of transport. If not provided, all types will be considered. |
| timeInterval | integer <int32> >= 1 Minimum time interval in minutes between consecutive service category start times, within the same offer. |
| maxServiceCategories | integer <int32> >= 1 Maximum number of service categories per offer. |
{- "maxServiceCategories": 10,
- "timeInterval": 60,
- "currency": "currency",
- "paging": {
- "resultsFrom": 1,
- "total": 0,
- "pageSize": 6
}, - "lang": "de",
- "paxes": [
- {
- "passportNumber": "C3045654",
- "lastName": "Riverdance",
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "gender": "Male",
- "supplierRefId": "supplierRefId",
- "passengerReduction": "passengerReduction",
- "secondOrAdditionalNames": [
- "secondOrAdditionalNames",
- "secondOrAdditionalNames"
], - "frequentFlyerInfo": {
- "membershipNumber": "992003102855176",
- "airlineCode": "LH"
}, - "title": "MR",
- "birthDate": "1990-01-01",
- "firstName": "Mike",
- "nezasaRefId": "nezasaRefId",
- "nationality": "DE",
- "electronicContactDetails": {
- "website": "www.example.com",
- "phones": [
- {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}, - {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}
], - "email": "mike.riverdance@example.com"
}, - "passportIssuingCountryCode": "passportIssuingCountryCode",
- "isMainContact": true,
- "passportExpirationDate": "2030-01-01",
- "age": 30
}, - {
- "passportNumber": "C3045654",
- "lastName": "Riverdance",
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "gender": "Male",
- "supplierRefId": "supplierRefId",
- "passengerReduction": "passengerReduction",
- "secondOrAdditionalNames": [
- "secondOrAdditionalNames",
- "secondOrAdditionalNames"
], - "frequentFlyerInfo": {
- "membershipNumber": "992003102855176",
- "airlineCode": "LH"
}, - "title": "MR",
- "birthDate": "1990-01-01",
- "firstName": "Mike",
- "nezasaRefId": "nezasaRefId",
- "nationality": "DE",
- "electronicContactDetails": {
- "website": "www.example.com",
- "phones": [
- {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}, - {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}
], - "email": "mike.riverdance@example.com"
}, - "passportIssuingCountryCode": "passportIssuingCountryCode",
- "isMainContact": true,
- "passportExpirationDate": "2030-01-01",
- "age": 30
}
], - "connections": [
- {
- "arrivalMaxDatetime": "2024-06-16T00:00:00.000",
- "arrivalMinDatetime": "2024-06-15T10:00:00.000",
- "departureLocation": {
- "areaRadiusInKm": 5,
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "cityName": "cityName",
- "locode": "locode",
- "cityCode": "cityCode",
- "countryCode": "countryCode",
- "areaCoordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}
}, - "departureMaxDatetime": "2024-06-15T22:00:00.000",
- "connectionId": "connectionId",
- "departureMinDatetime": "2024-06-15T08:00:00.000",
- "arrivalLocation": {
- "areaRadiusInKm": 5,
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "cityName": "cityName",
- "locode": "locode",
- "cityCode": "cityCode",
- "countryCode": "countryCode",
- "areaCoordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}
}
}, - {
- "arrivalMaxDatetime": "2024-06-16T00:00:00.000",
- "arrivalMinDatetime": "2024-06-15T10:00:00.000",
- "departureLocation": {
- "areaRadiusInKm": 5,
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "cityName": "cityName",
- "locode": "locode",
- "cityCode": "cityCode",
- "countryCode": "countryCode",
- "areaCoordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}
}, - "departureMaxDatetime": "2024-06-15T22:00:00.000",
- "connectionId": "connectionId",
- "departureMinDatetime": "2024-06-15T08:00:00.000",
- "arrivalLocation": {
- "areaRadiusInKm": 5,
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "cityName": "cityName",
- "locode": "locode",
- "cityCode": "cityCode",
- "countryCode": "countryCode",
- "areaCoordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}
}
}
], - "transportTypes": [
- "Shuttle",
- "Shuttle"
]
}{- "offers": [
- {
- "reference": "reference",
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "serviceCategories": [
- {
- "reference": "reference",
- "externalReference": "externalReference",
- "departureTime": "08:30",
- "onRequest": true,
- "salesPrice": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "name",
- "description": "description",
- "cancellationPolicy": {
- "rules": [
- {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}, - {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}
], - "cancellationType": "Unknown"
}, - "segments": [
- {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}, - {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}
]
}, - {
- "reference": "reference",
- "externalReference": "externalReference",
- "departureTime": "08:30",
- "onRequest": true,
- "salesPrice": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "name",
- "description": "description",
- "cancellationPolicy": {
- "rules": [
- {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}, - {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}
], - "cancellationType": "Unknown"
}, - "segments": [
- {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}, - {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}
]
}
], - "connections": [
- {
- "departureName": "departureName",
- "departureAlignment": "AREA",
- "connectionId": "connectionId",
- "arrivalName": "arrivalName",
- "arrivalAlignment": "AREA",
- "description": "description",
- "segments": [
- {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}, - {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}
]
}, - {
- "departureName": "departureName",
- "departureAlignment": "AREA",
- "connectionId": "connectionId",
- "arrivalName": "arrivalName",
- "arrivalAlignment": "AREA",
- "description": "description",
- "segments": [
- {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}, - {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}
]
}
]
}, - {
- "reference": "reference",
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "serviceCategories": [
- {
- "reference": "reference",
- "externalReference": "externalReference",
- "departureTime": "08:30",
- "onRequest": true,
- "salesPrice": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "name",
- "description": "description",
- "cancellationPolicy": {
- "rules": [
- {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}, - {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}
], - "cancellationType": "Unknown"
}, - "segments": [
- {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}, - {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}
]
}, - {
- "reference": "reference",
- "externalReference": "externalReference",
- "departureTime": "08:30",
- "onRequest": true,
- "salesPrice": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "name",
- "description": "description",
- "cancellationPolicy": {
- "rules": [
- {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}, - {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}
], - "cancellationType": "Unknown"
}, - "segments": [
- {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}, - {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}
]
}
], - "connections": [
- {
- "departureName": "departureName",
- "departureAlignment": "AREA",
- "connectionId": "connectionId",
- "arrivalName": "arrivalName",
- "arrivalAlignment": "AREA",
- "description": "description",
- "segments": [
- {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}, - {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}
]
}, - {
- "departureName": "departureName",
- "departureAlignment": "AREA",
- "connectionId": "connectionId",
- "arrivalName": "arrivalName",
- "arrivalAlignment": "AREA",
- "description": "description",
- "segments": [
- {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}, - {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}
]
}
]
}
], - "rawRequests": [
- "{ queryId: 1257, success: true }"
], - "rawResponses": [
- "{ queryId: 1257, success: true }"
]
}Verifies the current availability status of a specific ground transport offer and prepares the offer for booking. After the availability has been confirmed, it is expected the offer booking is ensured for limited time, e.g. 30 minutes.
| traceparent | string Example: 00-666b4b3800000000089918a4bf7e8d29-40eeac6740412d3f-01 For tracking and debugging, we will include a tracing header with every request. This trace ID follows the W3C Trace Context standard. Users can see this same header in the Trip Builder API responses and match it with data in the Supplier system if needed. |
| Contract-Id | string Example: nicetours, 123456 An identifier of the contract to differentiate configuration, options or settings. This is one of two supported identification methods. Either provide a Contract-Id header, or provide Login and Password headers. Both may be provided simultaneously if required by the integration. The identification method should be agreed with Nezasa before development starts. |
| Login | string Login identifier for supplier authentication. An alternative to the Contract-Id header. When using login-based authentication, both Login and Password headers should be provided. The identification method should be agreed with Nezasa before development starts. |
| Password | string <password> Password for supplier authentication. Used together with the Login header as an alternative to the Contract-Id header. The identification method should be agreed with Nezasa before development starts. |
| reference required | string The offer |
| serviceCategoryReference required | string Selected service category reference. Successful response indicates this particular service category is still available. Provide quote only for this single category. |
| currency required | string Preferred currency. 3-letter code (ISO 4217). |
Array of objects (Basic representation of a pax) Passengers using the transport | |
object (GroundTransportRequestLocation) Description of the location. At least one of areaCoordinate + areaRadius, coordinate or iataCode is provided, but more than one can be supplied. The locations should be prioritised in the order of:
The response will indicate which location reference was used to align the transport offer to. | |
object (GroundTransportRequestLocation) Description of the location. At least one of areaCoordinate + areaRadius, coordinate or iataCode is provided, but more than one can be supplied. The locations should be prioritised in the order of:
The response will indicate which location reference was used to align the transport offer to. | |
| departureDateTime | string Earliest permitted arrival local date and time in ISO8601 format (yyyy-MM-ddTHH:mm:ss.SSS). |
| arrivalDateTime | string Earliest permitted arrival local date and time in ISO8601 format (yyyy-MM-ddTHH:mm:ss.SSS). |
| carrier | string The carrier code |
| fareClass | string The fare class code |
| lang required | string (Supported languages) Default: "de" Enum: "de" "en" "fr" "it" "nl" "es" "fi" "pt" "sv" "no" "da" "pl" 2-letter code (ISO 639-1) |
object (Metadata) |
{- "reference": "reference",
- "carrier": "carrier",
- "fareClass": "fareClass",
- "metadata": {
- "travelAgentEmail": "agent@agency.com",
- "travelAgencyShortName": "Best Travel AG",
- "travelAgentLastName": "Doe",
- "itineraryId": "1xinmvo5skro",
- "agencyId": "ABC12345",
- "travelAgentFirstName": "John",
- "travelAgencyEmail": "info@besttravelag.com"
}, - "departureLocation": {
- "areaRadiusInKm": 5,
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "cityName": "cityName",
- "locode": "locode",
- "cityCode": "cityCode",
- "countryCode": "countryCode",
- "areaCoordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}
}, - "departureDateTime": "2024-06-15T10:00:00.000",
- "currency": "EUR",
- "arrivalDateTime": "2024-06-15T11:00:00.000",
- "lang": "de",
- "paxes": [
- {
- "passportNumber": "C3045654",
- "lastName": "Riverdance",
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "gender": "Male",
- "supplierRefId": "supplierRefId",
- "passengerReduction": "passengerReduction",
- "secondOrAdditionalNames": [
- "secondOrAdditionalNames",
- "secondOrAdditionalNames"
], - "frequentFlyerInfo": {
- "membershipNumber": "992003102855176",
- "airlineCode": "LH"
}, - "title": "MR",
- "birthDate": "1990-01-01",
- "firstName": "Mike",
- "nezasaRefId": "nezasaRefId",
- "nationality": "DE",
- "electronicContactDetails": {
- "website": "www.example.com",
- "phones": [
- {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}, - {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}
], - "email": "mike.riverdance@example.com"
}, - "passportIssuingCountryCode": "passportIssuingCountryCode",
- "isMainContact": true,
- "passportExpirationDate": "2030-01-01",
- "age": 30
}, - {
- "passportNumber": "C3045654",
- "lastName": "Riverdance",
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "gender": "Male",
- "supplierRefId": "supplierRefId",
- "passengerReduction": "passengerReduction",
- "secondOrAdditionalNames": [
- "secondOrAdditionalNames",
- "secondOrAdditionalNames"
], - "frequentFlyerInfo": {
- "membershipNumber": "992003102855176",
- "airlineCode": "LH"
}, - "title": "MR",
- "birthDate": "1990-01-01",
- "firstName": "Mike",
- "nezasaRefId": "nezasaRefId",
- "nationality": "DE",
- "electronicContactDetails": {
- "website": "www.example.com",
- "phones": [
- {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}, - {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}
], - "email": "mike.riverdance@example.com"
}, - "passportIssuingCountryCode": "passportIssuingCountryCode",
- "isMainContact": true,
- "passportExpirationDate": "2030-01-01",
- "age": 30
}
], - "arrivalLocation": {
- "areaRadiusInKm": 5,
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "cityName": "cityName",
- "locode": "locode",
- "cityCode": "cityCode",
- "countryCode": "countryCode",
- "areaCoordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}
}, - "serviceCategoryReference": "serviceCategoryReference"
}{- "quote": {
- "offer": {
- "reference": "reference",
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "serviceCategories": [
- {
- "reference": "reference",
- "externalReference": "externalReference",
- "departureTime": "08:30",
- "onRequest": true,
- "salesPrice": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "name",
- "description": "description",
- "cancellationPolicy": {
- "rules": [
- {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}, - {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}
], - "cancellationType": "Unknown"
}, - "segments": [
- {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}, - {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}
]
}, - {
- "reference": "reference",
- "externalReference": "externalReference",
- "departureTime": "08:30",
- "onRequest": true,
- "salesPrice": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "name",
- "description": "description",
- "cancellationPolicy": {
- "rules": [
- {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}, - {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}
], - "cancellationType": "Unknown"
}, - "segments": [
- {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}, - {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}
]
}
], - "connections": [
- {
- "departureName": "departureName",
- "departureAlignment": "AREA",
- "connectionId": "connectionId",
- "arrivalName": "arrivalName",
- "arrivalAlignment": "AREA",
- "description": "description",
- "segments": [
- {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}, - {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}
]
}, - {
- "departureName": "departureName",
- "departureAlignment": "AREA",
- "connectionId": "connectionId",
- "arrivalName": "arrivalName",
- "arrivalAlignment": "AREA",
- "description": "description",
- "segments": [
- {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}, - {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}
]
}
]
}, - "remarks": [
- "Due to the renovation of platforms 1-6, the bus will depart from platform 15."
]
}, - "rawRequests": [
- "{ queryId: 1257, success: true }"
], - "rawResponses": [
- "{ queryId: 1257, success: true }"
]
}Books a specific ground transport offer.
| traceparent | string Example: 00-666b4b3800000000089918a4bf7e8d29-40eeac6740412d3f-01 For tracking and debugging, we will include a tracing header with every request. This trace ID follows the W3C Trace Context standard. Users can see this same header in the Trip Builder API responses and match it with data in the Supplier system if needed. |
| Contract-Id | string Example: nicetours, 123456 An identifier of the contract to differentiate configuration, options or settings. This is one of two supported identification methods. Either provide a Contract-Id header, or provide Login and Password headers. Both may be provided simultaneously if required by the integration. The identification method should be agreed with Nezasa before development starts. |
| Login | string Login identifier for supplier authentication. An alternative to the Contract-Id header. When using login-based authentication, both Login and Password headers should be provided. The identification method should be agreed with Nezasa before development starts. |
| Password | string <password> Password for supplier authentication. Used together with the Login header as an alternative to the Contract-Id header. The identification method should be agreed with Nezasa before development starts. |
| reference required | string The |
| serviceCategoryReference | string Selected service category reference. |
| lang required | string (Supported languages) Default: "de" Enum: "de" "en" "fr" "it" "nl" "es" "fi" "pt" "sv" "no" "da" "pl" 2-letter code (ISO 639-1) |
required | Array of objects (Basic representation of a pax) Passengers using the transport |
required | object (Basic representation of the contact) |
object (GroundTransportRequestLocation) Description of the location. At least one of areaCoordinate + areaRadius, coordinate or iataCode is provided, but more than one can be supplied. The locations should be prioritised in the order of:
The response will indicate which location reference was used to align the transport offer to. | |
object (GroundTransportRequestLocation) Description of the location. At least one of areaCoordinate + areaRadius, coordinate or iataCode is provided, but more than one can be supplied. The locations should be prioritised in the order of:
The response will indicate which location reference was used to align the transport offer to. | |
| departureDateTime | string Earliest permitted arrival local date and time in ISO8601 format (yyyy-MM-ddTHH:mm:ss.SSS). |
| arrivalDateTime | string Earliest permitted arrival local date and time in ISO8601 format (yyyy-MM-ddTHH:mm:ss.SSS). |
| carrier | string The carrier code |
| fareClass | string The fare class code |
| onRequestWebhookUrl | string URL of the webhook endpoint to be used to confirm or reject an on-request booking, i.e. booking which returned a |
object (Metadata) |
{- "metadata": {
- "travelAgentEmail": "agent@agency.com",
- "travelAgencyShortName": "Best Travel AG",
- "travelAgentLastName": "Doe",
- "itineraryId": "1xinmvo5skro",
- "agencyId": "ABC12345",
- "travelAgentFirstName": "John",
- "travelAgencyEmail": "info@besttravelag.com"
}, - "departureLocation": {
- "areaRadiusInKm": 5,
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "cityName": "cityName",
- "locode": "locode",
- "cityCode": "cityCode",
- "countryCode": "countryCode",
- "areaCoordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}
}, - "onRequestWebhookUrl": "onRequestWebhookUrl",
- "paxes": [
- {
- "passportNumber": "C3045654",
- "lastName": "Riverdance",
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "gender": "Male",
- "supplierRefId": "supplierRefId",
- "passengerReduction": "passengerReduction",
- "secondOrAdditionalNames": [
- "secondOrAdditionalNames",
- "secondOrAdditionalNames"
], - "frequentFlyerInfo": {
- "membershipNumber": "992003102855176",
- "airlineCode": "LH"
}, - "title": "MR",
- "birthDate": "1990-01-01",
- "firstName": "Mike",
- "nezasaRefId": "nezasaRefId",
- "nationality": "DE",
- "electronicContactDetails": {
- "website": "www.example.com",
- "phones": [
- {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}, - {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}
], - "email": "mike.riverdance@example.com"
}, - "passportIssuingCountryCode": "passportIssuingCountryCode",
- "isMainContact": true,
- "passportExpirationDate": "2030-01-01",
- "age": 30
}, - {
- "passportNumber": "C3045654",
- "lastName": "Riverdance",
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "gender": "Male",
- "supplierRefId": "supplierRefId",
- "passengerReduction": "passengerReduction",
- "secondOrAdditionalNames": [
- "secondOrAdditionalNames",
- "secondOrAdditionalNames"
], - "frequentFlyerInfo": {
- "membershipNumber": "992003102855176",
- "airlineCode": "LH"
}, - "title": "MR",
- "birthDate": "1990-01-01",
- "firstName": "Mike",
- "nezasaRefId": "nezasaRefId",
- "nationality": "DE",
- "electronicContactDetails": {
- "website": "www.example.com",
- "phones": [
- {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}, - {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}
], - "email": "mike.riverdance@example.com"
}, - "passportIssuingCountryCode": "passportIssuingCountryCode",
- "isMainContact": true,
- "passportExpirationDate": "2030-01-01",
- "age": 30
}
], - "arrivalLocation": {
- "areaRadiusInKm": 5,
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "cityName": "cityName",
- "locode": "locode",
- "cityCode": "cityCode",
- "countryCode": "countryCode",
- "areaCoordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}
}, - "reference": "reference",
- "carrier": "carrier",
- "fareClass": "fareClass",
- "contact": {
- "firstName": "Mike",
- "lastName": "Riverdance",
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "gender": "Male",
- "electronicContactDetails": {
- "website": "www.example.com",
- "phones": [
- {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}, - {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}
], - "email": "mike.riverdance@example.com"
}
}, - "departureDateTime": "2024-06-15T10:00:00.000",
- "arrivalDateTime": "2024-06-15T11:00:00.000",
- "lang": "de",
- "serviceCategoryReference": "serviceCategoryReference"
}{- "booking": {
- "bookingReference": "BOOKING-123456",
- "supplierReferences": [
- "SNCF:123",
- "RATP-54"
], - "salesPrice": {
- "currency": "EUR",
- "value": "230.20"
}, - "cancellationPolicy": {
- "rules": [
- {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}, - {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}
], - "cancellationType": "Unknown"
}, - "remarks": [
- "Due to the renovation of platforms 1-6, the bus will depart from platform 15."
], - "voucherUrls": [
], - "status": "Booked"
}, - "rawRequests": [
- "{ \"queryId\": 1257, \"endpoint\": \"/cancelBooking\", \"parameters\": { \"bookingId\": \"ABC123\", \"reason\": \"Client request\" }, \"requestTime\": \"2024-06-15T14:30:00Z\", \"success\": true }",
- "{ \"queryId\": 1258, \"endpoint\": \"/cancelBooking\", \"parameters\": { \"bookingId\": \"XYZ789\", \"reason\": \"System error\" }, \"requestTime\": \"2024-06-15T14:31:00Z\", \"success\": false }"
], - "rawResponses": [
- "{ \"queryId\": 1257, \"responseTime\": \"2024-06-15T14:30:05Z\", \"statusCode\": 200, \"body\": { \"message\": \"Cancellation confirmed\", \"cancellationId\": \"CANC123\" } }",
- "{ \"queryId\": 1258, \"responseTime\": \"2024-06-15T14:31:05Z\", \"statusCode\": 500, \"body\": { \"error\": \"Internal server error\" } }"
]
}Obtain the details of a ground transport offer (taxis, shuttles, trains, buses, ferries, etc.) for a given offer id.
| traceparent | string Example: 00-666b4b3800000000089918a4bf7e8d29-40eeac6740412d3f-01 For tracking and debugging, we will include a tracing header with every request. This trace ID follows the W3C Trace Context standard. Users can see this same header in the Trip Builder API responses and match it with data in the Supplier system if needed. |
| Contract-Id | string Example: nicetours, 123456 An identifier of the contract to differentiate configuration, options or settings. This is one of two supported identification methods. Either provide a Contract-Id header, or provide Login and Password headers. Both may be provided simultaneously if required by the integration. The identification method should be agreed with Nezasa before development starts. |
| Login | string Login identifier for supplier authentication. An alternative to the Contract-Id header. When using login-based authentication, both Login and Password headers should be provided. The identification method should be agreed with Nezasa before development starts. |
| Password | string <password> Password for supplier authentication. Used together with the Login header as an alternative to the Contract-Id header. The identification method should be agreed with Nezasa before development starts. |
| currency required | string Preferred currency. 3-letter code (ISO 4217). |
| lang required | string (Supported languages) Default: "de" Enum: "de" "en" "fr" "it" "nl" "es" "fi" "pt" "sv" "no" "da" "pl" 2-letter code (ISO 639-1) |
object (Paging management for a request) | |
| offerId | string ID of the requested offer |
required | Array of objects (GroundTransportConnection_1) non-empty Requested connections. For one way transports, a single element. For return transports, two elements. May contain more complex connection combinations. |
required | Array of objects (Basic representation of a pax) Passengers using the transport |
{- "offerId": "offerId",
- "currency": "currency",
- "paging": {
- "resultsFrom": 1,
- "total": 0,
- "pageSize": 6
}, - "lang": "de",
- "paxes": [
- {
- "passportNumber": "C3045654",
- "lastName": "Riverdance",
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "gender": "Male",
- "supplierRefId": "supplierRefId",
- "passengerReduction": "passengerReduction",
- "secondOrAdditionalNames": [
- "secondOrAdditionalNames",
- "secondOrAdditionalNames"
], - "frequentFlyerInfo": {
- "membershipNumber": "992003102855176",
- "airlineCode": "LH"
}, - "title": "MR",
- "birthDate": "1990-01-01",
- "firstName": "Mike",
- "nezasaRefId": "nezasaRefId",
- "nationality": "DE",
- "electronicContactDetails": {
- "website": "www.example.com",
- "phones": [
- {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}, - {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}
], - "email": "mike.riverdance@example.com"
}, - "passportIssuingCountryCode": "passportIssuingCountryCode",
- "isMainContact": true,
- "passportExpirationDate": "2030-01-01",
- "age": 30
}, - {
- "passportNumber": "C3045654",
- "lastName": "Riverdance",
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "gender": "Male",
- "supplierRefId": "supplierRefId",
- "passengerReduction": "passengerReduction",
- "secondOrAdditionalNames": [
- "secondOrAdditionalNames",
- "secondOrAdditionalNames"
], - "frequentFlyerInfo": {
- "membershipNumber": "992003102855176",
- "airlineCode": "LH"
}, - "title": "MR",
- "birthDate": "1990-01-01",
- "firstName": "Mike",
- "nezasaRefId": "nezasaRefId",
- "nationality": "DE",
- "electronicContactDetails": {
- "website": "www.example.com",
- "phones": [
- {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}, - {
- "mobile": true,
- "company": false,
- "landline": false,
- "fax": false,
- "value": "+41 44 123 45 67"
}
], - "email": "mike.riverdance@example.com"
}, - "passportIssuingCountryCode": "passportIssuingCountryCode",
- "isMainContact": true,
- "passportExpirationDate": "2030-01-01",
- "age": 30
}
], - "connections": [
- {
- "carrier": "carrier",
- "fareClass": "fareClass",
- "departureLocation": {
- "areaRadiusInKm": 5,
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "cityName": "cityName",
- "locode": "locode",
- "cityCode": "cityCode",
- "countryCode": "countryCode",
- "areaCoordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}
}, - "connectionId": "connectionId",
- "departureDateTime": "2024-06-15T10:00:00.000",
- "arrivalDateTime": "2024-06-15T11:00:00.000",
- "arrivalLocation": {
- "areaRadiusInKm": 5,
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "cityName": "cityName",
- "locode": "locode",
- "cityCode": "cityCode",
- "countryCode": "countryCode",
- "areaCoordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}
}
}, - {
- "carrier": "carrier",
- "fareClass": "fareClass",
- "departureLocation": {
- "areaRadiusInKm": 5,
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "cityName": "cityName",
- "locode": "locode",
- "cityCode": "cityCode",
- "countryCode": "countryCode",
- "areaCoordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}
}, - "connectionId": "connectionId",
- "departureDateTime": "2024-06-15T10:00:00.000",
- "arrivalDateTime": "2024-06-15T11:00:00.000",
- "arrivalLocation": {
- "areaRadiusInKm": 5,
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "cityName": "cityName",
- "locode": "locode",
- "cityCode": "cityCode",
- "countryCode": "countryCode",
- "areaCoordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}
}
}
]
}{- "offers": [
- {
- "reference": "reference",
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "serviceCategories": [
- {
- "reference": "reference",
- "externalReference": "externalReference",
- "departureTime": "08:30",
- "onRequest": true,
- "salesPrice": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "name",
- "description": "description",
- "cancellationPolicy": {
- "rules": [
- {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}, - {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}
], - "cancellationType": "Unknown"
}, - "segments": [
- {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}, - {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}
]
}, - {
- "reference": "reference",
- "externalReference": "externalReference",
- "departureTime": "08:30",
- "onRequest": true,
- "salesPrice": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "name",
- "description": "description",
- "cancellationPolicy": {
- "rules": [
- {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}, - {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}
], - "cancellationType": "Unknown"
}, - "segments": [
- {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}, - {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}
]
}
], - "connections": [
- {
- "departureName": "departureName",
- "departureAlignment": "AREA",
- "connectionId": "connectionId",
- "arrivalName": "arrivalName",
- "arrivalAlignment": "AREA",
- "description": "description",
- "segments": [
- {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}, - {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}
]
}, - {
- "departureName": "departureName",
- "departureAlignment": "AREA",
- "connectionId": "connectionId",
- "arrivalName": "arrivalName",
- "arrivalAlignment": "AREA",
- "description": "description",
- "segments": [
- {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}, - {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}
]
}
]
}, - {
- "reference": "reference",
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "serviceCategories": [
- {
- "reference": "reference",
- "externalReference": "externalReference",
- "departureTime": "08:30",
- "onRequest": true,
- "salesPrice": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "name",
- "description": "description",
- "cancellationPolicy": {
- "rules": [
- {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}, - {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}
], - "cancellationType": "Unknown"
}, - "segments": [
- {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}, - {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}
]
}, - {
- "reference": "reference",
- "externalReference": "externalReference",
- "departureTime": "08:30",
- "onRequest": true,
- "salesPrice": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "name",
- "description": "description",
- "cancellationPolicy": {
- "rules": [
- {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}, - {
- "startDatetime": "2023-08-01T00:00:00",
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "percentage": 50,
- "endDatetime": "2023-08-01T23:59:00"
}
], - "cancellationType": "Unknown"
}, - "segments": [
- {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}, - {
- "includedAmenities": [
- "includedAmenities",
- "includedAmenities"
], - "durationInMinutes": 0,
- "arrivalDatetime": "arrivalDatetime",
- "id": "id",
- "departureDatetime": "2024-06-15T08:00:00.000"
}
]
}
], - "connections": [
- {
- "departureName": "departureName",
- "departureAlignment": "AREA",
- "connectionId": "connectionId",
- "arrivalName": "arrivalName",
- "arrivalAlignment": "AREA",
- "description": "description",
- "segments": [
- {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}, - {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}
]
}, - {
- "departureName": "departureName",
- "departureAlignment": "AREA",
- "connectionId": "connectionId",
- "arrivalName": "arrivalName",
- "arrivalAlignment": "AREA",
- "description": "description",
- "segments": [
- {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}, - {
- "departureLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "isFlexible": true,
- "lineDetails": "lineDetails",
- "durationInMinutes": 7,
- "arrivalDatetime": "2024-06-15T09:30:00.000",
- "departureDatetime": "2024-06-15T08:00:00.000",
- "isPrivate": true,
- "arrivalLocation": {
- "stationCode": "stationCode",
- "coordinate": {
- "latitude": 6.027456183070403,
- "longitude": 1.4658129805029452
}, - "iataCode": "iataCode",
- "name": "name"
}, - "vehicle": {
- "passengers": 5,
- "carrierLogo": "carrierLogo",
- "acrissCode": "acrissCode",
- "pictures": [
- {
- "label": "label",
- "url": "url"
}, - {
- "label": "label",
- "url": "url"
}
], - "suitcases": 5
}, - "distanceInKm": 2,
- "marketingCarrier": "marketingCarrier",
- "transportType": "Shuttle",
- "id": "id",
- "operatingCarrier": "operatingCarrier"
}
]
}
]
}
], - "rawRequests": [
- "{ queryId: 1257, success: true }"
], - "rawResponses": [
- "{ queryId: 1257, success: true }"
]
}Cancels a specific ground transport booking.
| traceparent | string Example: 00-666b4b3800000000089918a4bf7e8d29-40eeac6740412d3f-01 For tracking and debugging, we will include a tracing header with every request. This trace ID follows the W3C Trace Context standard. Users can see this same header in the Trip Builder API responses and match it with data in the Supplier system if needed. |
| Contract-Id | string Example: nicetours, 123456 An identifier of the contract to differentiate configuration, options or settings. This is one of two supported identification methods. Either provide a Contract-Id header, or provide Login and Password headers. Both may be provided simultaneously if required by the integration. The identification method should be agreed with Nezasa before development starts. |
| Login | string Login identifier for supplier authentication. An alternative to the Contract-Id header. When using login-based authentication, both Login and Password headers should be provided. The identification method should be agreed with Nezasa before development starts. |
| Password | string <password> Password for supplier authentication. Used together with the Login header as an alternative to the Contract-Id header. The identification method should be agreed with Nezasa before development starts. |
| bookingReference required | string The |
object (Metadata) |
{- "bookingReference": "BOOKING-123456",
- "metadata": {
- "travelAgentEmail": "agent@agency.com",
- "travelAgencyShortName": "Best Travel AG",
- "travelAgentLastName": "Doe",
- "itineraryId": "1xinmvo5skro",
- "agencyId": "ABC12345",
- "travelAgentFirstName": "John",
- "travelAgencyEmail": "info@besttravelag.com"
}
}{- "rawRequests": [
- "{ \"queryId\": 1257, \"endpoint\": \"/cancelBooking\", \"parameters\": { \"bookingId\": \"ABC123\", \"reason\": \"Client request\" }, \"requestTime\": \"2024-06-15T14:30:00Z\", \"success\": true }",
- "{ \"queryId\": 1258, \"endpoint\": \"/cancelBooking\", \"parameters\": { \"bookingId\": \"XYZ789\", \"reason\": \"System error\" }, \"requestTime\": \"2024-06-15T14:31:00Z\", \"success\": false }"
], - "rawResponses": [
- "{ \"queryId\": 1257, \"responseTime\": \"2024-06-15T14:30:05Z\", \"statusCode\": 200, \"body\": { \"message\": \"Cancellation confirmed\", \"cancellationId\": \"CANC123\" } }",
- "{ \"queryId\": 1258, \"responseTime\": \"2024-06-15T14:31:05Z\", \"statusCode\": 500, \"body\": { \"error\": \"Internal server error\" } }"
]
}