Romanian Car Hire Rund um die Uhr+40 741 644 169 Online buchen

API für Partner und KI

Unsere Verfügbarkeit und Preise in Echtzeit, für KI-Assistenten und für Partner, die unsere Autos verkaufen.

4,7 bei Google, 206 Bewertungen Sofortige Bestätigung, ohne auf einen Mitarbeiter zu warten Rund um die Uhr, auch nachtsOhne KreditkarteSeit 2006

Zwei Wege, unsere Daten zu nutzen

Suche für KI

Für KI-Assistenten und einfache Integrationen: eine öffentliche GET-Anfrage, ohne Schlüssel. Verfügbarkeit in Echtzeit, Endpreise, Kautionen und ein Buchungslink für jedes Auto.

Zur Suche für KI

Partner-API

Für Reisebüros, Wiederverkäufer und Websites, die unsere Autos verkaufen: Suche, Optionen und Buchung, mit denselben Preisen und Regeln wie auf unserer Website. Jede Anfrage wird signiert.

Zur Partner-API

Partner-API

POST https://romaniancarhire.com/api/v1/

OpenAPI-Spezifikation (JSON, Englisch): https://romaniancarhire.com/api/v1/openapi.json

Für einen Zugang (Benutzername und Secret) schreib uns an office@romaniancarhire.com.

Anfrage und Antwort

Der Body ist JSON mit dem Befehl und der Sprache; jede Antwort hat dieselbe Hülle. Ein Fehler beendet die Anfrage (success false, data null); Warnungen und Hinweise kommen zusammen mit den Daten.

{"command": "searchRq", "language": "en", ...}

{"success": true, "version": "v1", "command": "searchRq", "language": "en",
 "data": {...}, "messages": [{"code": "NO_RESULTS", "level": "info", "text": "..."}]}

Signieren der Anfrage

  1. X-Api-Key: dein Benutzername.
  2. X-Api-Timestamp: die aktuelle Zeit in Unix-Sekunden (höchstens 5 Minuten Abweichung von unserer).
  3. X-Api-Signature: HMAC-SHA256 mit deinem Secret, hexadezimal, über: Timestamp, Methode, Pfad und den SHA-256 des exakt gesendeten Bodys, getrennt durch Zeilenumbrüche.
signature = hex(HMAC-SHA256(secret, timestamp + "\n" + "POST" + "\n" + "/api/v1/" + "\n" + hex(SHA256(body))))

Prüfe deinen Code mit diesem Beispiel:

timestamp = 1795460000
path      = /api/v1/
body      = {"command":"searchRq"}
secret    = Secret-123
signature = 2512b3056edce7ed09006c446d73431d76455431696a797556ea1df07e33e2fc
PHP
$ts = (string) time();
$body = json_encode($request);
$text = $ts."\nPOST\n/api/v1/\n".hash('sha256', $body);
$signature = hash_hmac('sha256', $text, $secret);
Node.js
const crypto = require('crypto');
const ts = String(Math.floor(Date.now() / 1000));
const body = JSON.stringify(request);
const text = `${ts}\nPOST\n/api/v1/\n${crypto.createHash('sha256').update(body).digest('hex')}`;
const signature = crypto.createHmac('sha256', secret).update(text).digest('hex');
Python
import hashlib, hmac, json, time
ts = str(int(time.time()))
body = json.dumps(request, separators=(",", ":"))
text = f"{ts}\nPOST\n/api/v1/\n{hashlib.sha256(body.encode()).hexdigest()}"
signature = hmac.new(secret.encode(), text.encode(), hashlib.sha256).hexdigest()
Java
String ts = String.valueOf(System.currentTimeMillis() / 1000);
String bodyHash = HexFormat.of().formatHex(MessageDigest.getInstance("SHA-256").digest(body.getBytes(StandardCharsets.UTF_8)));
Mac mac = Mac.getInstance("HmacSHA256");
mac.init(new SecretKeySpec(secret.getBytes(StandardCharsets.UTF_8), "HmacSHA256"));
String signature = HexFormat.of().formatHex(mac.doFinal((ts + "\nPOST\n/api/v1/\n" + bodyHash).getBytes(StandardCharsets.UTF_8)));
.NET (C#)
var ts = DateTimeOffset.UtcNow.ToUnixTimeSeconds().ToString();
var bodyHash = Convert.ToHexString(SHA256.HashData(Encoding.UTF8.GetBytes(body))).ToLowerInvariant();
using var hmac = new HMACSHA256(Encoding.UTF8.GetBytes(secret));
var signature = Convert.ToHexString(hmac.ComputeHash(Encoding.UTF8.GetBytes($"{ts}\nPOST\n/api/v1/\n{bodyHash}"))).ToLowerInvariant();

Die übliche Reihenfolge

Lade die Listen einmal und behalte sie, bis sich siteVersion ändert. Dann: searchRq für einen Zeitraum, extrasRq und crossBordersRq für das gewählte Auto, searchDetailsRq für den genauen Gesamtbetrag und bookRq mit diesem Betrag als expectedTotal.

Befehle

locationsRq Pick-up and return locations.

Anfrage

FeldArtPflichtBeschreibung
commandstringPflichtThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names. Default en.

Antwortdaten

FeldArtPflichtBeschreibung
siteVersionintegerPflichtVersion of our data: reload the list only when it changes.
locationsarrayPflichtActive locations.
locations[].codeintegerPflichtLocation code (pickup.locationId / dropoff.locationId).
locations[].namestringPflichtName with type, e.g. "Iași Airport".
locations[].citystringPflichtCity.
locations[].typeobjectPflichtcity|airport|trainStation|office, with name.
locations[].iatastringoptionalAirport code, or null.
locations[].kindobjectPflichtoffice|fleet|pool|request, with name: own office, local fleet, car brought from the nearest fleet, on request.
locations[].latnumberoptionalLatitude.
locations[].lngnumberoptionalLongitude.
categoriesRq Car classes.

Anfrage

FeldArtPflichtBeschreibung
commandstringPflichtThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names. Default en.

Antwortdaten

FeldArtPflichtBeschreibung
siteVersionintegerPflichtVersion of our data: reload the list only when it changes.
categoriesarrayPflichtActive classes, in our order.
categories[].codeintegerPflichtCategory code.
categories[].namestringPflichtName.
categories[].descriptionstringoptionalDescription, or null.
carTypesRq Car types you can sell.

Anfrage

FeldArtPflichtBeschreibung
commandstringPflichtThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names. Default en.

Antwortdaten

FeldArtPflichtBeschreibung
siteVersionintegerPflichtVersion of our data: reload the list only when it changes.
carTypesarrayPflichtActive car types you have access to.
carTypes[].codeintegerPflichtCar type code.
carTypes[].namestringPflichtCar type name (the car or a similar one of the same class or higher).
carTypes[].categoryobjectPflichtCar class.
carTypes[].category.codeintegerPflichtCategory code (categoriesRq).
carTypes[].category.namestringPflichtName.
carTypes[].acrissstringoptionalACRISS code, or null.
carTypes[].specsobjectPflichtFeatures.
carTypes[].specs.seatsintegeroptionalSeats.
carTypes[].specs.doorsintegeroptionalDoors.
carTypes[].specs.luggageintegeroptionalSuitcases.
carTypes[].specs.transmissionobjectoptionalCode (manual|automatic) and name in the request language, or null.
carTypes[].specs.transmission.codestringPflichtmanual|automatic
carTypes[].specs.transmission.namestringPflichtName.
carTypes[].specs.fuelobjectoptionalFuel {code, name}, or null.
carTypes[].specs.consumptionnumberoptionalLitres / 100 km, or null.
carTypes[].specs.airConditioningobjectoptionalCode (automatic|manual) and name in the request language, or null.
carTypes[].specs.airConditioning.codestringPflichtautomatic|manual
carTypes[].specs.airConditioning.namestringPflichtName.
carTypes[].specs.driveobjectoptionalCode (front|rear|4x4) and name in the request language, or null.
carTypes[].specs.drive.codestringPflichtfront|rear|4x4
carTypes[].specs.drive.namestringPflichtName.
carTypes[].specs.isofixbooleanPflichtIsofix.
carTypes[].specs.wagonbooleanPflichtEstate body.
carTypes[].specs.smartphonebooleanPflichtSmartphone integration.
carTypes[].picturesarray<string>PflichtPhoto URLs.
carTypes[].minimumDaysintegerPflichtMinimum rental days of the type.
ageGroupsRq Driver age groups.

Anfrage

FeldArtPflichtBeschreibung
commandstringPflichtThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names. Default en.

Antwortdaten

FeldArtPflichtBeschreibung
siteVersionintegerPflichtVersion of our data: reload the list only when it changes.
ageGroupsarrayPflichtActive age groups.
ageGroups[].codeintegerPflichtAge group code (ageGroup).
ageGroups[].fromAgeintegerPflichtFrom age.
ageGroups[].toAgeintegeroptionalTo age, or null (and over).
ageGroups[].namestringPflichtName, e.g. "23–69 years".
ageGroups[].defaultbooleanPflichtThe usual group (no surcharge).
searchRq Available cars and prices for a period.

Anfrage

FeldArtPflichtBeschreibung
commandstringPflichtThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names and messages. Default en.
pickupobjectPflichtThe pickup place and moment.
pickup.locationIdintegerPflichtLocation code (locationsRq).
pickup.dateTimedatetimePflichtRomanian local time, YYYY-MM-DDTHH:MM, in the future.
dropoffobjectPflichtThe dropoff place and moment.
dropoff.locationIdintegerPflichtLocation code (locationsRq).
dropoff.dateTimedatetimePflichtRomanian local time, YYYY-MM-DDTHH:MM, in the future, after the pick-up.
ageGroupintegerPflichtMain driver age group code (ageGroupsRq).
carTypeCodeintegeroptionalOptional: a car type to return first (if it is offered for the search).
availabilityavailable|onRequest|bothoptionalWhich cars to return. Default both.
filtersobjectoptionalFilters.
filters.categoriesarray<integer>optionalCategory codes.
filters.seatsarray<integer>optionalSeat counts.
filters.luggageintegeroptionalMinimum suitcases.
filters.fuelarray<integer>optionalFuel codes.
filters.transmissionarray<string>optionalmanual / automatic.

Antwortdaten

FeldArtPflichtBeschreibung
currencystringPflichtCurrency of all amounts (ISO 4217, EUR).
requestobjectPflichtThe request as understood.
daysintegerPflichtRental days.
typesarrayPflichtCars that can be rented for the search (the others are not returned).
types[].codeintegerPflichtCar type code.
types[].namestringPflichtCar type name (the car or a similar one of the same class or higher).
types[].categoryobjectPflichtCar class.
types[].category.codeintegerPflichtCategory code (categoriesRq).
types[].category.namestringPflichtName.
types[].acrissstringoptionalACRISS code, or null.
types[].specsobjectPflichtFeatures.
types[].specs.seatsintegeroptionalSeats.
types[].specs.doorsintegeroptionalDoors.
types[].specs.luggageintegeroptionalSuitcases.
types[].specs.transmissionobjectoptionalCode (manual|automatic) and name in the request language, or null.
types[].specs.transmission.codestringPflichtmanual|automatic
types[].specs.transmission.namestringPflichtName.
types[].specs.fuelobjectoptionalFuel {code, name}, or null.
types[].specs.consumptionnumberoptionalLitres / 100 km, or null.
types[].specs.airConditioningobjectoptionalCode (automatic|manual) and name in the request language, or null.
types[].specs.airConditioning.codestringPflichtautomatic|manual
types[].specs.airConditioning.namestringPflichtName.
types[].specs.driveobjectoptionalCode (front|rear|4x4) and name in the request language, or null.
types[].specs.drive.codestringPflichtfront|rear|4x4
types[].specs.drive.namestringPflichtName.
types[].specs.isofixbooleanPflichtIsofix.
types[].specs.wagonbooleanPflichtEstate body.
types[].specs.smartphonebooleanPflichtSmartphone integration.
types[].picturesarray<string>PflichtPhoto URLs.
types[].requestedbooleanPflichtThis is the carTypeCode from the request.
types[].statusavailable|onRequestPflichtavailable = can be booked now; onRequest = we confirm it.
types[].instantConfirmationbooleanPflichtThe booking is confirmed immediately (24 h+ before pick-up, car in the fleet).
types[].daysintegerPflichtRental days.
types[].chargedDaysintegerPflichtDays charged (the minimum, when the period is shorter).
types[].minimumDaysintegerPflichtMinimum days here.
types[].offersobjectPflichtThe two offers.
types[].offers.standardobjectPflichtWith damage deposit.
types[].offers.standard.totalintegerPflichtFinal price for the whole rental, all included (rounded up to whole euro). Never compute it from perDay.
types[].offers.standard.perDaynumberPflichtAverage price per day (information only). In currency (EUR).
types[].offers.standard.discountobjectoptionalThe discount already applied, or null.
types[].offers.standard.discount.amountnumberPflichtAmount saved. In currency (EUR).
types[].offers.standard.discount.percentnumberPflichtPercent saved.
types[].offers.standard.discount.totalBeforeintegerPflichtTotal before the discount.
types[].offers.standard.depositobjectPflichtSecurity deposit at pick-up, by part (all keys always present, 0 when not required).
types[].offers.standard.deposit.carnumberPflichtDamage deposit (0 with extraProtection). In currency (EUR).
types[].offers.standard.deposit.fuelnumberPflichtFuel deposit. In currency (EUR).
types[].offers.standard.deposit.extrasnumberPflichtEquipment deposit. In currency (EUR).
types[].offers.standard.deposit.crossBordernumberPflichtCross-border deposit. In currency (EUR).
types[].offers.standard.deposit.agenumberPflichtExtra deposit for the driver age group. In currency (EUR).
types[].offers.standard.deposit.totalnumberPflichtTotal deposit. 0 = no deposit at all. In currency (EUR).
types[].offers.standard.kmobjectPflichtKilometres.
types[].offers.standard.km.perDayintegerPflichtIncluded km per day.
types[].offers.standard.km.includedintegerPflichtTotal km included for the rental.
types[].offers.standard.km.extraKmPricenumberPflichtPrice per extra km, charged at the end over the total included. In currency (EUR).
types[].offers.standard.cancellationobjectPflichtCancellation policy of this offer.
types[].offers.standard.cancellation.freeUntildatetimeoptionalFree cancellation until this moment (Romanian time); null = free until pick-up.
types[].offers.standard.cancellation.stagesarrayPflichtCancellation fees after the free period.
types[].offers.standard.cancellation.stages[].fromdatetimePflichtFrom this moment.
types[].offers.standard.cancellation.stages[].amountnumberPflichtCancellation fee. In currency (EUR).
types[].offers.standard.cancellation.noShownumberoptionalNo-show fee in EUR, or null.
types[].offers.standard.advanceobjectoptionalAlways null for partners (an advance can be asked only for website bookings).
types[].offers.standard.advance.amountnumberPflichtAdvance amount. In currency (EUR).
types[].offers.extraProtectionobjectoptionalWithout damage deposit (SCDW), or null when the car has no such option. Same fields as standard.
types[].notestringoptionalA note on the price (e.g. minimum days).
facetsobjectPflichtCounts per availability, category, transmission, fuel, seats, luggage: [{code, name, count}].
extrasRq Equipment offered with a car.

Anfrage

FeldArtPflichtBeschreibung
commandstringPflichtThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names and messages. Default en.
pickupobjectPflichtThe pickup place and moment.
pickup.locationIdintegerPflichtLocation code (locationsRq).
pickup.dateTimedatetimePflichtRomanian local time, YYYY-MM-DDTHH:MM, in the future.
dropoffobjectPflichtThe dropoff place and moment.
dropoff.locationIdintegerPflichtLocation code (locationsRq).
dropoff.dateTimedatetimePflichtRomanian local time, YYYY-MM-DDTHH:MM, in the future, after the pick-up.
ageGroupintegerPflichtMain driver age group code (ageGroupsRq).
carTypeCodeintegerPflichtThe chosen car type (carTypesRq / searchRq).

Antwortdaten

FeldArtPflichtBeschreibung
currencystringPflichtEUR.
carTypeCodeintegerPflichtThe car type.
chargedDaysintegerPflichtDays charged.
extrasarrayPflichtEquipment.
extras[].codeintegerPflichtEquipment code.
extras[].namestringPflichtName.
extras[].descriptionstringoptionalDescription.
extras[].photostringoptionalPhoto URL.
extras[].pricePerDaynumberPflichtPrice per day. In currency (EUR).
extras[].maxQuantityintegerPflichtMaximum per booking.
extras[].depositnumberPflichtDeposit per piece. In currency (EUR).
extras[].totalnumberPflichtPrice of one piece for the whole rental. In currency (EUR).
crossBordersRq Countries the car may be driven to.

Anfrage

FeldArtPflichtBeschreibung
commandstringPflichtThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names and messages. Default en.
pickupobjectPflichtThe pickup place and moment.
pickup.locationIdintegerPflichtLocation code (locationsRq).
pickup.dateTimedatetimePflichtRomanian local time, YYYY-MM-DDTHH:MM, in the future.
dropoffobjectPflichtThe dropoff place and moment.
dropoff.locationIdintegerPflichtLocation code (locationsRq).
dropoff.dateTimedatetimePflichtRomanian local time, YYYY-MM-DDTHH:MM, in the future, after the pick-up.
ageGroupintegerPflichtMain driver age group code (ageGroupsRq).
carTypeCodeintegerPflichtThe chosen car type (carTypesRq / searchRq).

Antwortdaten

FeldArtPflichtBeschreibung
currencystringPflichtEUR.
carTypeCodeintegerPflichtThe car type.
chargedDaysintegerPflichtDays charged.
crossBordersarrayPflichtAllowed destinations. Without one, leaving Romania is forbidden.
crossBorders[].codeintegerPflichtDestination code.
crossBorders[].namestringPflichtName.
crossBorders[].descriptionstringoptionalDocuments and rules.
crossBorders[].pricePerDaynumberPflichtPrice per day. In currency (EUR).
crossBorders[].minTotalnumberPflichtMinimum per rental (0 = none). In currency (EUR).
crossBorders[].maxTotalnumberPflichtMaximum per rental (0 = none). In currency (EUR).
crossBorders[].depositnumberPflichtExtra deposit. In currency (EUR).
crossBorders[].totalnumberPflichtPrice for the whole rental. In currency (EUR).
searchDetailsRq Exact price of a selection (car, equipment, cross-border), before booking.

Anfrage

FeldArtPflichtBeschreibung
commandstringPflichtThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names and messages. Default en.
pickupobjectPflichtThe pickup place and moment.
pickup.locationIdintegerPflichtLocation code (locationsRq).
pickup.dateTimedatetimePflichtRomanian local time, YYYY-MM-DDTHH:MM, in the future.
dropoffobjectPflichtThe dropoff place and moment.
dropoff.locationIdintegerPflichtLocation code (locationsRq).
dropoff.dateTimedatetimePflichtRomanian local time, YYYY-MM-DDTHH:MM, in the future, after the pick-up.
ageGroupintegerPflichtMain driver age group code (ageGroupsRq).
carTypeCodeintegerPflichtThe chosen car type (carTypesRq / searchRq).
extrasarrayoptionalChosen equipment.
extras[].codeintegerPflichtEquipment code (extrasRq).
extras[].qtyintegeroptionalQuantity, default 1; capped at maxQuantity.
crossBordersarray<integer>optionalChosen cross-border destination codes (crossBordersRq).

Antwortdaten

FeldArtPflichtBeschreibung
currencystringPflichtEUR.
requestobjectPflichtThe request as understood.
typeobjectPflichtThe car type with status, days, chargedDays, minimumDays, note.
type.codeintegerPflichtCar type code.
type.namestringPflichtCar type name (the car or a similar one of the same class or higher).
type.categoryobjectPflichtCar class.
type.category.codeintegerPflichtCategory code (categoriesRq).
type.category.namestringPflichtName.
type.acrissstringoptionalACRISS code, or null.
type.specsobjectPflichtFeatures.
type.specs.seatsintegeroptionalSeats.
type.specs.doorsintegeroptionalDoors.
type.specs.luggageintegeroptionalSuitcases.
type.specs.transmissionobjectoptionalCode (manual|automatic) and name in the request language, or null.
type.specs.transmission.codestringPflichtmanual|automatic
type.specs.transmission.namestringPflichtName.
type.specs.fuelobjectoptionalFuel {code, name}, or null.
type.specs.consumptionnumberoptionalLitres / 100 km, or null.
type.specs.airConditioningobjectoptionalCode (automatic|manual) and name in the request language, or null.
type.specs.airConditioning.codestringPflichtautomatic|manual
type.specs.airConditioning.namestringPflichtName.
type.specs.driveobjectoptionalCode (front|rear|4x4) and name in the request language, or null.
type.specs.drive.codestringPflichtfront|rear|4x4
type.specs.drive.namestringPflichtName.
type.specs.isofixbooleanPflichtIsofix.
type.specs.wagonbooleanPflichtEstate body.
type.specs.smartphonebooleanPflichtSmartphone integration.
type.picturesarray<string>PflichtPhoto URLs.
extrasarrayPflichtEquipment added.
extras[].codeintegerPflichtCode.
extras[].namestringPflichtName.
extras[].quantityintegerPflichtQuantity.
extras[].totalnumberPflichtTotal. In currency (EUR).
crossBordersarrayPflichtDestinations added.
crossBorders[].codeintegerPflichtCode.
crossBorders[].namestringPflichtName.
crossBorders[].totalnumberPflichtTotal. In currency (EUR).
offersobjectPflichtThe two offers for the selection; send the chosen total as expectedTotal in bookRq.
offers.standardobjectPflichtWith damage deposit.
offers.standard.totalintegerPflichtFinal price for the whole rental, all included (rounded up to whole euro). Never compute it from perDay.
offers.standard.perDaynumberPflichtAverage price per day (information only). In currency (EUR).
offers.standard.rentalTotalnumberPflichtThe rental without equipment and cross-border (summary line). In currency (EUR).
offers.standard.discountobjectoptionalThe discount already applied, or null.
offers.standard.discount.amountnumberPflichtAmount saved. In currency (EUR).
offers.standard.discount.percentnumberPflichtPercent saved.
offers.standard.discount.totalBeforeintegerPflichtTotal before the discount.
offers.standard.depositobjectPflichtSecurity deposit at pick-up, by part (all keys always present, 0 when not required).
offers.standard.deposit.carnumberPflichtDamage deposit (0 with extraProtection). In currency (EUR).
offers.standard.deposit.fuelnumberPflichtFuel deposit. In currency (EUR).
offers.standard.deposit.extrasnumberPflichtEquipment deposit. In currency (EUR).
offers.standard.deposit.crossBordernumberPflichtCross-border deposit. In currency (EUR).
offers.standard.deposit.agenumberPflichtExtra deposit for the driver age group. In currency (EUR).
offers.standard.deposit.totalnumberPflichtTotal deposit. 0 = no deposit at all. In currency (EUR).
offers.standard.kmobjectPflichtKilometres.
offers.standard.km.perDayintegerPflichtIncluded km per day.
offers.standard.km.includedintegerPflichtTotal km included for the rental.
offers.standard.km.extraKmPricenumberPflichtPrice per extra km, charged at the end over the total included. In currency (EUR).
offers.standard.cancellationobjectPflichtCancellation policy of this offer.
offers.standard.cancellation.freeUntildatetimeoptionalFree cancellation until this moment (Romanian time); null = free until pick-up.
offers.standard.cancellation.stagesarrayPflichtCancellation fees after the free period.
offers.standard.cancellation.stages[].fromdatetimePflichtFrom this moment.
offers.standard.cancellation.stages[].amountnumberPflichtCancellation fee. In currency (EUR).
offers.standard.cancellation.noShownumberoptionalNo-show fee in EUR, or null.
offers.standard.advanceobjectoptionalAlways null for partners (an advance can be asked only for website bookings).
offers.standard.advance.amountnumberPflichtAdvance amount. In currency (EUR).
offers.extraProtectionobjectoptionalWithout damage deposit (SCDW), or null when the car has no such option. Same fields as standard.
bookRq Book the selection.

Anfrage

FeldArtPflichtBeschreibung
commandstringPflichtThe command name.
languagero|en|fr|it|de|esoptionalLanguage of names and messages. Default en.
pickupobjectPflichtThe pickup place and moment.
pickup.locationIdintegerPflichtLocation code (locationsRq).
pickup.dateTimedatetimePflichtRomanian local time, YYYY-MM-DDTHH:MM, in the future.
dropoffobjectPflichtThe dropoff place and moment.
dropoff.locationIdintegerPflichtLocation code (locationsRq).
dropoff.dateTimedatetimePflichtRomanian local time, YYYY-MM-DDTHH:MM, in the future, after the pick-up.
ageGroupintegerPflichtMain driver age group code (ageGroupsRq).
carTypeCodeintegerPflichtThe chosen car type (carTypesRq / searchRq).
extrasarrayoptionalChosen equipment.
extras[].codeintegerPflichtEquipment code (extrasRq).
extras[].qtyintegeroptionalQuantity, default 1; capped at maxQuantity.
crossBordersarray<integer>optionalChosen cross-border destination codes (crossBordersRq).
offerstandard|extraProtectionPflichtThe chosen offer.
expectedTotalnumberPflichtThe total the customer saw (searchDetailsRq). A different current total gives PRICE_CHANGED with the new total.
driverobjectPflichtMain driver (signs the contract).
driver.fullNamestringPflichtFull name.
driver.phonestringPflichtPhone with country code (WhatsApp if possible).
driver.emailstringPflichtEmail (confirmation and booking link).
driver.personalIdstringoptionalPersonal ID number.
driver.birthDatestringoptionalYYYY-MM-DD.
driver.citizenshipstringoptionalCitizenship: ISO 3166-1 alpha-2 code, 2 letters, e.g. RO; a country name gives FIELD_INVALID.
driver.addrCountrystringoptionalAddress country: ISO 3166-1 alpha-2 code, 2 letters, e.g. RO; a country name gives FIELD_INVALID.
driver.addrStateRomaniastringoptionalCounty code, 2 letters, e.g. IS, B (only when addrCountry is RO).
driver.addrStatestringoptionalRegion (other countries).
driver.addrCitystringoptionalCity.
driver.addrStreetstringoptionalStreet.
driver.idTypeintegeroptionalID document type: 1 = identity card, 2 = passport, 3 = residence permit. Default 1; another value gives FIELD_INVALID.
driver.idCountrystringoptionalCountry that issued the ID document: ISO 3166-1 alpha-2 code, 2 letters, e.g. RO; a country name gives FIELD_INVALID.
driver.idNumberstringoptionalID document number.
driver.idExpiresAtstringoptionalYYYY-MM-DD.
driver.licCountrystringoptionalCountry that issued the driving licence: ISO 3166-1 alpha-2 code, 2 letters, e.g. RO; a country name gives FIELD_INVALID.
driver.licNumberstringoptionalLicence number.
driver.licIssuedAtstringoptionalYYYY-MM-DD.
driver.licExpiresAtstringoptionalYYYY-MM-DD.
additionalDriverobjectoptionalSecond driver, same fields (email not required). Free of charge.
billingobjectoptionalInvoice to: {type: person} (the main driver, default) or {type: company, name, taxId, vatPayer, tradeRegisterNo, country, stateRomania, state, city, street}; country: ISO 3166-1 alpha-2 code, 2 letters (e.g. RO), stateRomania: county code (e.g. IS, B).
flightobjectoptionalArrival flight, so we can follow delays.
flight.numberstringoptionalFlight number.
flight.fromstringoptionalDeparture airport.
messagestringoptionalMessage for us.
consentbooleanPflichttrue: the customer accepted the rental conditions and the privacy policy.
confirmDuplicatebooleanoptionaltrue: book again after DUPLICATE_BOOKING.
partnerVoucherstringoptionalYour own booking reference (up to 60 characters).

Antwortdaten

FeldArtPflichtBeschreibung
bookingCodeintegerPflichtOur booking number.
statusrequest|confirmedPflichtconfirmed = instant confirmation; request = we confirm it by email.
bookingTokenstringPflichtSigned proof of the booking.
totalnumberPflichtBooked total.
currencystringPflichtEUR.

Meldungscodes

Codes ändern sich nie und werden nie entfernt (neue können hinzukommen); Texte können jederzeit verbessert werden. Verlass dich auf den Code, nicht auf den Text.

CodeStufeHTTPText
INVALID_JSONerror400Die Anfrage ist kein gültiges JSON.
UNKNOWN_COMMANDerror404Unbekannter Befehl: {value}.
METHOD_NOT_ALLOWEDerror405Sende die Anfrage per POST, mit dem Befehl als JSON im Body.
EMPTY_BODYerror400Die Anfrage hat keinen Body: Sende den Befehl als JSON, zum Beispiel {"command": "searchRq", ...}.
AUTH_REQUIREDerror401Signiere die Anfrage mit den Headern X-Api-Key, X-Api-Timestamp und X-Api-Signature.
AUTH_INVALIDerror401Die Partner-Zugangsdaten sind ungültig.
SIGNATURE_INVALIDerror401Die Signatur der Anfrage ist ungültig.
SIGNATURE_EXPIREDerror401Die Uhrzeit der Anfrage weicht zu stark von unserer ab: Signiere jede Anfrage mit der aktuellen Uhrzeit.
FIELD_REQUIREDerror400Dieses Feld ist erforderlich: {value}.
FIELD_INVALIDerror400Dieses Feld hat einen ungültigen Wert: {value}.
LOCATION_UNKNOWNerror400Dieser Standort existiert nicht: {value}.
PICKUP_IN_PASTerror400Datum und Uhrzeit der Abholung müssen in der Zukunft liegen.
DROPOFF_BEFORE_PICKUPerror400Die Rückgabe muss nach der Abholung liegen.
AGE_GROUP_UNKNOWNerror400Diese Altersgruppe existiert nicht.
CAR_TYPE_NOT_OFFEREDerror400Dieses Auto wird für diese Suche nicht angeboten.
TOO_MANY_ATTEMPTSerror429Zu viele Versuche. Versuche es in ein paar Minuten erneut.
TRY_AGAINerror503Gerade wird eine andere Buchung für dieses Auto gespeichert. Versuche es in ein paar Sekunden erneut.
EXTRA_NOT_OFFEREDwarning—Diese Ausstattung wird mit diesem Auto nicht angeboten und wurde daher nicht hinzugefügt: {value}.
EXTRA_QTY_REDUCEDwarning—Die Anzahl wurde auf das Maximum pro Buchung reduziert: {value}.
CROSS_BORDER_NOT_ALLOWEDwarning—Mit diesem Auto ist die Fahrt in dieses Ziel nicht erlaubt, daher wurde es nicht hinzugefügt: {value}.
NO_RESULTSinfo—Kein Auto passt zu deiner Suche.
BELOW_MIN_DAYSinfo—Der Preis gilt für die Mindestmiete von {value} Tagen.
CONSENT_REQUIREDerror400Akzeptiere die Mietbedingungen und die Datenschutzerklärung, um die Buchung zu senden.
PRICE_CHANGEDerror409Der Preis hat sich inzwischen geändert: Der neue Gesamtbetrag ist {value}. Prüfe ihn und sende die Buchung erneut.
DUPLICATE_BOOKINGerror409Du hast schon eine Buchung mit demselben Fahrer, denselben Daten und Orten. Sende sie nur erneut, wenn du noch eine willst.
OFFER_UNAVAILABLEerror400Das Angebot ohne Kaution ist für dieses Fahrzeug nicht verfügbar. Wähle das Angebot mit Kaution.
SERVER_ERRORerror500Bei uns ist etwas schiefgelaufen. Bitte versuche es erneut.

Gut zu wissen

  • Alle Beträge sind in der Währung der Antwort (heute EUR).
  • Alle Daten und Uhrzeiten sind rumänische Ortszeit.
  • Der Preis ist nur durch bookRq garantiert: Hat sich der Betrag geändert, erhältst du PRICE_CHANGED mit dem neuen Betrag.