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 Rental Cars focuses specifically on the rental car services, including cars, motorbikes and campers offered by car rental suppliers (e.g. desk-at-airport, city offices, harbour or railway stations).
The API definition below is designed to handle the whole lifecycle of the rental car booking process, from searching for available rental car offers to booking and cancelling them. The key functionalities of the Connect API for Rental Cars are:
Searching for Rental Cars: This endpoint lists all available rental car offers based on the input criteria (pickup/drop-off locations, travel period, driver age, ACRISS filters, etc.). Each rental car offer comes with basic information like pickup/drop-off location, vehicle category (ACRISS), included services, total price, cancellation policy, etc.
Getting Rental Car Offer Details: This endpoint returns the detailed view of a previously listed rental car offer. The details include the full set of equipment, included services, conditions, pictures, and the breakdown of the total price.
Checking Rental Car Availability: This endpoint extends the functionality above. In addition to providing rental car details, it also verifies the current status of the offer's availability. After the availability has been confirmed, it is expected the offer booking is ensured for a limited time, e.g. 30 minutes.
Booking a Rental Car: This endpoint enables booking a specific rental car offer. It requires the offer reference, the main contact passenger details. This call returns a booking reference.
Canceling a Rental Car booking: This endpoint cancels a specific rental car booking. It requires the booking reference to perform the cancellation and may return a cancellation fee.
| API Version | Docs Version | Changes |
|---|---|---|
| 1.0 | 18.05.2026 | Initial version |
| 1.1 | 16.06.2026 | Added optional requiredDriverData field to RentalCarOffer for supplier-driven driver data requirements |
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 rental car offers (cars, motorbikes, campers) for a given pickup/drop-off pair and travel period. Offers can be further constrained by an ACRISS filter (vehicle category, transmission, fuel, A/C, passengers, suitcases) and by the driver's birth date.
| 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: "en" 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 | object (CommonTravelPeriod) Generic travel period |
required | Array of objects (Basic representation of a pax) non-empty Passengers using the rental car. Used to determine the number of pax. |
required | object (RentalCarRequestLocation) Description of a rental pickup or drop-off location.
At least one of
|
required | object (RentalCarRequestLocation) Description of a rental pickup or drop-off location.
At least one of
|
object (AcrissDescriptionFilter) Optional filter on offers based on the ACRISS vehicle category code. Suppliers may use the filter on a best-effort basis. Any unset field acts as a wildcard. | |
| driverBirthDate | string Driver's birth date in ISO 8601 format (yyyy-MM-dd). Some suppliers require this for age-based offer filtering. |
| allRentalStations | boolean Default: false When |
| countryCodes required | Array of strings non-empty 2-letter (ISO 3166-1 alpha-2) codes of the countries the rental car will be driven through. Must be non-empty. |
| customerIp | string IP address of the customer, when the supplier requires it (e.g. for fraud-prevention checks). |
object (Metadata) |
{- "period": {
- "endDate": "2023-08-14",
- "nights": 1,
- "startTime": "12:00:00",
- "endTime": "16:00:00",
- "startDate": "2024-08-01"
}, - "metadata": {
- "travelAgentEmail": "agent@agency.com",
- "travelAgencyShortName": "Best Travel AG",
- "travelAgentLastName": "Doe",
- "itineraryId": "1xinmvo5skro",
- "agencyId": "ABC12345",
- "travelAgentFirstName": "John",
- "travelAgencyEmail": "info@besttravelag.com"
}, - "customerIp": "203.0.113.42",
- "dropoffLocation": {
- "iataCode": "ZRH",
- "geoCircle": {
- "coordinate": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "radius": 0
}, - "geoPolygon": {
- "points": [
- {
- "coordinate": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "index": 6
}, - {
- "coordinate": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "index": 6
}
]
}
}, - "paging": {
- "resultsFrom": 5,
- "total": 1,
- "pageSize": 5
}, - "pickupLocation": {
- "iataCode": "ZRH",
- "geoCircle": {
- "coordinate": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "radius": 0
}, - "geoPolygon": {
- "points": [
- {
- "coordinate": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "index": 6
}, - {
- "coordinate": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "index": 6
}
]
}
}, - "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
}
], - "allRentalStations": false,
- "countryCodes": [
- "DE",
- "DE"
], - "acrissFilter": {
- "passengers": 4,
- "acriss": "ECMR",
- "suitcases": 2
}, - "currency": "EUR",
- "lang": "en",
- "driverBirthDate": "1990-01-01"
}{- "offers": [
- {
- "componentSourceType": "Private",
- "period": {
- "endDate": "2023-08-14",
- "nights": 1,
- "startTime": "12:00:00",
- "endTime": "16:00:00",
- "startDate": "2024-08-01"
}, - "onRequest": false,
- "totalPrice": {
- "currency": "EUR",
- "value": "230.20"
}, - "includedServices": [
- {
- "amenity": "InfantSeat",
- "name": "Liability insurance",
- "category": "Default"
}, - {
- "amenity": "InfantSeat",
- "name": "Liability insurance",
- "category": "Default"
}
], - "dropoffLocation": {
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "name": "Zurich Airport",
- "coordinates": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "openingHours": [
- {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}, - {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}
], - "id": "id",
- "atAirport": true,
- "meetingType": "Unknown"
}, - "requiredDriverData": {
- "isBirthDateRequired": true,
- "isMiddleNamesRequired": true,
- "isAddressCountryCodeRequired": true,
- "isPassportNumberRequired": true,
- "isLastNameRequired": true,
- "isAddressPostalCodeRequired": true,
- "isGenderRequired": true,
- "isPassportExpirationDateRequired": true,
- "isFirstNameRequired": true,
- "isAddressStreetRequired": true,
- "isPassportIssuingCountryRequired": true,
- "isAddressCityRequired": true,
- "isNationalityRequired": true
}, - "pickupLocation": {
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "name": "Zurich Airport",
- "coordinates": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "openingHours": [
- {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}, - {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}
], - "id": "id",
- "atAirport": true,
- "meetingType": "Unknown"
}, - "pictures": [
- {
- "items": [
]
}, - {
- "items": [
]
}
], - "deposits": [
- {
- "longDescription": "longDescription",
- "paymentMethod": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - {
- "longDescription": "longDescription",
- "paymentMethod": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}
], - "externallyPaidCharges": [
- {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}
], - "reference": "reference",
- "excluded": [
- "excluded",
- "excluded"
], - "equipments": [
- {
- "reference": "baby-seat",
- "longDescription": "longDescription",
- "price": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "Baby seat (0-12 months)",
- "externallyPaidCharge": {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - "inclusionPolicy": "OptionalExcluded",
- "maxAvailable": 2
}, - {
- "reference": "baby-seat",
- "longDescription": "longDescription",
- "price": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "Baby seat (0-12 months)",
- "externallyPaidCharge": {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - "inclusionPolicy": "OptionalExcluded",
- "maxAvailable": 2
}
], - "supplier": {
- "name": "Avis",
}, - "name": "VW Polo or similar",
- "acrissDescription": {
- "passengers": 5,
- "acriss": "ECMR",
- "suitcases": 2
}, - "rentalDays": 7,
- "packageName": "All-in",
- "conditions": [
], - "vehicleType": "Car",
- "cancellationPolicy": {
- "rules": [
- {
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "endDate": "2024-06-30",
- "percentage": 50,
- "startDate": "2024-06-01"
}, - {
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "endDate": "2024-06-30",
- "percentage": 50,
- "startDate": "2024-06-01"
}
], - "cancellationType": "Unknown"
}
}, - {
- "componentSourceType": "Private",
- "period": {
- "endDate": "2023-08-14",
- "nights": 1,
- "startTime": "12:00:00",
- "endTime": "16:00:00",
- "startDate": "2024-08-01"
}, - "onRequest": false,
- "totalPrice": {
- "currency": "EUR",
- "value": "230.20"
}, - "includedServices": [
- {
- "amenity": "InfantSeat",
- "name": "Liability insurance",
- "category": "Default"
}, - {
- "amenity": "InfantSeat",
- "name": "Liability insurance",
- "category": "Default"
}
], - "dropoffLocation": {
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "name": "Zurich Airport",
- "coordinates": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "openingHours": [
- {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}, - {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}
], - "id": "id",
- "atAirport": true,
- "meetingType": "Unknown"
}, - "requiredDriverData": {
- "isBirthDateRequired": true,
- "isMiddleNamesRequired": true,
- "isAddressCountryCodeRequired": true,
- "isPassportNumberRequired": true,
- "isLastNameRequired": true,
- "isAddressPostalCodeRequired": true,
- "isGenderRequired": true,
- "isPassportExpirationDateRequired": true,
- "isFirstNameRequired": true,
- "isAddressStreetRequired": true,
- "isPassportIssuingCountryRequired": true,
- "isAddressCityRequired": true,
- "isNationalityRequired": true
}, - "pickupLocation": {
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "name": "Zurich Airport",
- "coordinates": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "openingHours": [
- {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}, - {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}
], - "id": "id",
- "atAirport": true,
- "meetingType": "Unknown"
}, - "pictures": [
- {
- "items": [
]
}, - {
- "items": [
]
}
], - "deposits": [
- {
- "longDescription": "longDescription",
- "paymentMethod": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - {
- "longDescription": "longDescription",
- "paymentMethod": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}
], - "externallyPaidCharges": [
- {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}
], - "reference": "reference",
- "excluded": [
- "excluded",
- "excluded"
], - "equipments": [
- {
- "reference": "baby-seat",
- "longDescription": "longDescription",
- "price": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "Baby seat (0-12 months)",
- "externallyPaidCharge": {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - "inclusionPolicy": "OptionalExcluded",
- "maxAvailable": 2
}, - {
- "reference": "baby-seat",
- "longDescription": "longDescription",
- "price": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "Baby seat (0-12 months)",
- "externallyPaidCharge": {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - "inclusionPolicy": "OptionalExcluded",
- "maxAvailable": 2
}
], - "supplier": {
- "name": "Avis",
}, - "name": "VW Polo or similar",
- "acrissDescription": {
- "passengers": 5,
- "acriss": "ECMR",
- "suitcases": 2
}, - "rentalDays": 7,
- "packageName": "All-in",
- "conditions": [
], - "vehicleType": "Car",
- "cancellationPolicy": {
- "rules": [
- {
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "endDate": "2024-06-30",
- "percentage": 50,
- "startDate": "2024-06-01"
}, - {
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "endDate": "2024-06-30",
- "percentage": 50,
- "startDate": "2024-06-01"
}
], - "cancellationType": "Unknown"
}
}
], - "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 }"
], - "paging": {
- "resultsFrom": 5,
- "total": 1,
- "pageSize": 5
}, - "notifications": [
- {
- "notificationLevel": "Info",
- "description": "description",
- "notificationType": "InputValidation"
}, - {
- "notificationLevel": "Info",
- "description": "description",
- "notificationType": "InputValidation"
}
], - "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 full details of a previously listed rental car offer. The response contains the same RentalCarOffer shape returned by the search call, but
enriched with the supplier-specific equipment selection, included services, conditions, and pictures.
| 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 |
| currency required | string Preferred currency. 3-letter code (ISO 4217). |
| lang required | string (Supported languages) Default: "en" Enum: "de" "en" "fr" "it" "nl" "es" "fi" "pt" "sv" "no" "da" "pl" 2-letter code (ISO 639-1) |
required | object (CommonTravelPeriod) Generic travel period |
object (RentalCarRequestLocation) Description of a rental pickup or drop-off location.
At least one of
| |
object (RentalCarRequestLocation) Description of a rental pickup or drop-off location.
At least one of
| |
object (AcrissDescriptionFilter) Optional filter on offers based on the ACRISS vehicle category code. Suppliers may use the filter on a best-effort basis. Any unset field acts as a wildcard. | |
| driverBirthDate | string Driver's birth date in ISO 8601 format (yyyy-MM-dd). Some suppliers require this for age-based offer filtering. |
required | Array of objects (Basic representation of a pax) non-empty Passengers using the rental car. |
| countryCodes required | Array of strings non-empty 2-letter (ISO 3166-1 alpha-2) codes of the countries the rental car will be driven through. Must be non-empty. |
| customerIp | string IP address of the customer, when the supplier requires it. |
object (Metadata) |
{- "reference": "reference",
- "period": {
- "endDate": "2023-08-14",
- "nights": 1,
- "startTime": "12:00:00",
- "endTime": "16:00:00",
- "startDate": "2024-08-01"
}, - "countryCodes": [
- "DE",
- "DE"
], - "metadata": {
- "travelAgentEmail": "agent@agency.com",
- "travelAgencyShortName": "Best Travel AG",
- "travelAgentLastName": "Doe",
- "itineraryId": "1xinmvo5skro",
- "agencyId": "ABC12345",
- "travelAgentFirstName": "John",
- "travelAgencyEmail": "info@besttravelag.com"
}, - "customerIp": "203.0.113.42",
- "dropoffLocation": {
- "iataCode": "ZRH",
- "geoCircle": {
- "coordinate": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "radius": 0
}, - "geoPolygon": {
- "points": [
- {
- "coordinate": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "index": 6
}, - {
- "coordinate": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "index": 6
}
]
}
}, - "acrissFilter": {
- "passengers": 4,
- "acriss": "ECMR",
- "suitcases": 2
}, - "currency": "EUR",
- "pickupLocation": {
- "iataCode": "ZRH",
- "geoCircle": {
- "coordinate": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "radius": 0
}, - "geoPolygon": {
- "points": [
- {
- "coordinate": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "index": 6
}, - {
- "coordinate": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "index": 6
}
]
}
}, - "lang": "en",
- "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
}
], - "driverBirthDate": "1990-01-01"
}{- "offer": {
- "componentSourceType": "Private",
- "period": {
- "endDate": "2023-08-14",
- "nights": 1,
- "startTime": "12:00:00",
- "endTime": "16:00:00",
- "startDate": "2024-08-01"
}, - "onRequest": false,
- "totalPrice": {
- "currency": "EUR",
- "value": "230.20"
}, - "includedServices": [
- {
- "amenity": "InfantSeat",
- "name": "Liability insurance",
- "category": "Default"
}, - {
- "amenity": "InfantSeat",
- "name": "Liability insurance",
- "category": "Default"
}
], - "dropoffLocation": {
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "name": "Zurich Airport",
- "coordinates": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "openingHours": [
- {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}, - {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}
], - "id": "id",
- "atAirport": true,
- "meetingType": "Unknown"
}, - "requiredDriverData": {
- "isBirthDateRequired": true,
- "isMiddleNamesRequired": true,
- "isAddressCountryCodeRequired": true,
- "isPassportNumberRequired": true,
- "isLastNameRequired": true,
- "isAddressPostalCodeRequired": true,
- "isGenderRequired": true,
- "isPassportExpirationDateRequired": true,
- "isFirstNameRequired": true,
- "isAddressStreetRequired": true,
- "isPassportIssuingCountryRequired": true,
- "isAddressCityRequired": true,
- "isNationalityRequired": true
}, - "pickupLocation": {
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "name": "Zurich Airport",
- "coordinates": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "openingHours": [
- {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}, - {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}
], - "id": "id",
- "atAirport": true,
- "meetingType": "Unknown"
}, - "pictures": [
- {
- "items": [
]
}, - {
- "items": [
]
}
], - "deposits": [
- {
- "longDescription": "longDescription",
- "paymentMethod": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - {
- "longDescription": "longDescription",
- "paymentMethod": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}
], - "externallyPaidCharges": [
- {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}
], - "reference": "reference",
- "excluded": [
- "excluded",
- "excluded"
], - "equipments": [
- {
- "reference": "baby-seat",
- "longDescription": "longDescription",
- "price": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "Baby seat (0-12 months)",
- "externallyPaidCharge": {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - "inclusionPolicy": "OptionalExcluded",
- "maxAvailable": 2
}, - {
- "reference": "baby-seat",
- "longDescription": "longDescription",
- "price": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "Baby seat (0-12 months)",
- "externallyPaidCharge": {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - "inclusionPolicy": "OptionalExcluded",
- "maxAvailable": 2
}
], - "supplier": {
- "name": "Avis",
}, - "name": "VW Polo or similar",
- "acrissDescription": {
- "passengers": 5,
- "acriss": "ECMR",
- "suitcases": 2
}, - "rentalDays": 7,
- "packageName": "All-in",
- "conditions": [
], - "vehicleType": "Car",
- "cancellationPolicy": {
- "rules": [
- {
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "endDate": "2024-06-30",
- "percentage": 50,
- "startDate": "2024-06-01"
}, - {
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "endDate": "2024-06-30",
- "percentage": 50,
- "startDate": "2024-06-01"
}
], - "cancellationType": "Unknown"
}
}, - "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 }"
], - "notifications": [
- {
- "notificationLevel": "Info",
- "description": "description",
- "notificationType": "InputValidation"
}, - {
- "notificationLevel": "Info",
- "description": "description",
- "notificationType": "InputValidation"
}
], - "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\" } }"
]
}Verifies the current availability status of a specific rental car offer and prepares the offer for booking. After the availability has been confirmed, it is expected the offer booking is ensured for a 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 |
| currency required | string Preferred currency. 3-letter code (ISO 4217). |
| lang required | string (Supported languages) Default: "en" Enum: "de" "en" "fr" "it" "nl" "es" "fi" "pt" "sv" "no" "da" "pl" 2-letter code (ISO 639-1) |
required | object (CommonTravelPeriod) Generic travel period |
required | object (Basic representation of a pax) |
Array of objects (EquipmentReference) Equipment items selected by the customer. | |
| flightNumber | string Flight number of the arriving flight, when the pickup is at an airport. |
object (Metadata) |
{- "reference": "reference",
- "period": {
- "endDate": "2023-08-14",
- "nights": 1,
- "startTime": "12:00:00",
- "endTime": "16:00:00",
- "startDate": "2024-08-01"
}, - "metadata": {
- "travelAgentEmail": "agent@agency.com",
- "travelAgencyShortName": "Best Travel AG",
- "travelAgentLastName": "Doe",
- "itineraryId": "1xinmvo5skro",
- "agencyId": "ABC12345",
- "travelAgentFirstName": "John",
- "travelAgencyEmail": "info@besttravelag.com"
}, - "equipment": [
- {
- "reference": "baby-seat",
- "quantity": 1
}, - {
- "reference": "baby-seat",
- "quantity": 1
}
], - "currency": "EUR",
- "lang": "en",
- "mainContactPax": {
- "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
}, - "flightNumber": "LX38"
}{- "offer": {
- "componentSourceType": "Private",
- "period": {
- "endDate": "2023-08-14",
- "nights": 1,
- "startTime": "12:00:00",
- "endTime": "16:00:00",
- "startDate": "2024-08-01"
}, - "onRequest": false,
- "totalPrice": {
- "currency": "EUR",
- "value": "230.20"
}, - "includedServices": [
- {
- "amenity": "InfantSeat",
- "name": "Liability insurance",
- "category": "Default"
}, - {
- "amenity": "InfantSeat",
- "name": "Liability insurance",
- "category": "Default"
}
], - "dropoffLocation": {
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "name": "Zurich Airport",
- "coordinates": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "openingHours": [
- {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}, - {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}
], - "id": "id",
- "atAirport": true,
- "meetingType": "Unknown"
}, - "requiredDriverData": {
- "isBirthDateRequired": true,
- "isMiddleNamesRequired": true,
- "isAddressCountryCodeRequired": true,
- "isPassportNumberRequired": true,
- "isLastNameRequired": true,
- "isAddressPostalCodeRequired": true,
- "isGenderRequired": true,
- "isPassportExpirationDateRequired": true,
- "isFirstNameRequired": true,
- "isAddressStreetRequired": true,
- "isPassportIssuingCountryRequired": true,
- "isAddressCityRequired": true,
- "isNationalityRequired": true
}, - "pickupLocation": {
- "address": {
- "country": "Germany",
- "city": "Littletown",
- "street": "132, My Street",
- "countryCode": "DE",
- "postalCode": "BG23 4YZ",
- "street2": "street2",
- "region": "region"
}, - "name": "Zurich Airport",
- "coordinates": {
- "latitude": 0.8008281904610115,
- "longitude": 6.027456183070403
}, - "openingHours": [
- {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}, - {
- "days": [
- 1,
- 2,
- 3,
- 4,
- 5
], - "from": "08:00",
- "to": "18:00",
- "status": "Open"
}
], - "id": "id",
- "atAirport": true,
- "meetingType": "Unknown"
}, - "pictures": [
- {
- "items": [
]
}, - {
- "items": [
]
}
], - "deposits": [
- {
- "longDescription": "longDescription",
- "paymentMethod": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - {
- "longDescription": "longDescription",
- "paymentMethod": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}
], - "externallyPaidCharges": [
- {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}
], - "reference": "reference",
- "excluded": [
- "excluded",
- "excluded"
], - "equipments": [
- {
- "reference": "baby-seat",
- "longDescription": "longDescription",
- "price": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "Baby seat (0-12 months)",
- "externallyPaidCharge": {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - "inclusionPolicy": "OptionalExcluded",
- "maxAvailable": 2
}, - {
- "reference": "baby-seat",
- "longDescription": "longDescription",
- "price": {
- "currency": "EUR",
- "value": "230.20"
}, - "name": "Baby seat (0-12 months)",
- "externallyPaidCharge": {
- "checkConditions": true,
- "name": "Cross-border fee",
- "chargeType": "Unknown",
- "value": {
- "currency": "EUR",
- "value": "230.20"
}
}, - "inclusionPolicy": "OptionalExcluded",
- "maxAvailable": 2
}
], - "supplier": {
- "name": "Avis",
}, - "name": "VW Polo or similar",
- "acrissDescription": {
- "passengers": 5,
- "acriss": "ECMR",
- "suitcases": 2
}, - "rentalDays": 7,
- "packageName": "All-in",
- "conditions": [
], - "vehicleType": "Car",
- "cancellationPolicy": {
- "rules": [
- {
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "endDate": "2024-06-30",
- "percentage": 50,
- "startDate": "2024-06-01"
}, - {
- "amount": {
- "currency": "EUR",
- "value": "230.20"
}, - "endDate": "2024-06-30",
- "percentage": 50,
- "startDate": "2024-06-01"
}
], - "cancellationType": "Unknown"
}
}, - "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 }"
], - "availabilityStatus": "Available",
- "notifications": [
- {
- "notificationLevel": "Info",
- "description": "description",
- "notificationType": "InputValidation"
}, - {
- "notificationLevel": "Info",
- "description": "description",
- "notificationType": "InputValidation"
}
], - "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\" } }"
]
}Books a specific rental car offer. Uses the offer reference returned by the availability check.
| 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 |
| currency required | string Preferred currency. 3-letter code (ISO 4217). |
| lang required | string (Supported languages) Default: "en" Enum: "de" "en" "fr" "it" "nl" "es" "fi" "pt" "sv" "no" "da" "pl" 2-letter code (ISO 639-1) |
required | object (CommonTravelPeriod) Generic travel period |
required | object (Basic representation of a pax) |
Array of objects (EquipmentReference) Equipment items selected by the customer. | |
| flightNumber | string Flight number of the arriving flight, when the pickup is at an airport. |
object (Metadata) |
{- "reference": "reference",
- "period": {
- "endDate": "2023-08-14",
- "nights": 1,
- "startTime": "12:00:00",
- "endTime": "16:00:00",
- "startDate": "2024-08-01"
}, - "metadata": {
- "travelAgentEmail": "agent@agency.com",
- "travelAgencyShortName": "Best Travel AG",
- "travelAgentLastName": "Doe",
- "itineraryId": "1xinmvo5skro",
- "agencyId": "ABC12345",
- "travelAgentFirstName": "John",
- "travelAgencyEmail": "info@besttravelag.com"
}, - "equipment": [
- {
- "reference": "baby-seat",
- "quantity": 1
}, - {
- "reference": "baby-seat",
- "quantity": 1
}
], - "currency": "EUR",
- "lang": "en",
- "mainContactPax": {
- "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
}, - "flightNumber": "LX38"
}{- "booking": {
- "supplierReference": "AVIS:987654",
- "bookingReference": "BOOKING-123456",
- "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 }"
], - "notifications": [
- {
- "notificationLevel": "Info",
- "description": "description",
- "notificationType": "InputValidation"
}, - {
- "notificationLevel": "Info",
- "description": "description",
- "notificationType": "InputValidation"
}
], - "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\" } }"
]
}Cancels a specific rental car booking. Returns the cancellation fee, if any, as charged by the supplier.
| 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 |
| reference | string Optional offer reference. Some suppliers require it in addition to the |
object (CommonTravelPeriod) Generic travel period | |
object (Basic representation of a pax) | |
object (Metadata) |
{- "reference": "reference",
- "bookingReference": "BOOKING-123456",
- "period": {
- "endDate": "2023-08-14",
- "nights": 1,
- "startTime": "12:00:00",
- "endTime": "16:00:00",
- "startDate": "2024-08-01"
}, - "metadata": {
- "travelAgentEmail": "agent@agency.com",
- "travelAgencyShortName": "Best Travel AG",
- "travelAgentLastName": "Doe",
- "itineraryId": "1xinmvo5skro",
- "agencyId": "ABC12345",
- "travelAgentFirstName": "John",
- "travelAgencyEmail": "info@besttravelag.com"
}, - "mainContactPax": {
- "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
}
}{- "bookingReference": "BOOKING-123456",
- "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 }"
], - "cancellationFee": {
- "currency": "EUR",
- "value": "230.20"
}, - "notifications": [
- {
- "notificationLevel": "Info",
- "description": "description",
- "notificationType": "InputValidation"
}, - {
- "notificationLevel": "Info",
- "description": "description",
- "notificationType": "InputValidation"
}
], - "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\" } }"
]
}