API reference
/Car
//
Get more details for a sp...
Get additional details for a selected car rate from the search results.
Security
Bearer
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/car/rate-details
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/carapi/v2/car/rate-details
curl -i -X POST \
https://api-ext-sboxmeta.partners.spotnana.com/v2/car/rate-details \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"searchId": "1cf76aba18e4015f",
"carId": "EgRFQ0FSGgNFVzIiAkVUKgoKA1NGTxIDU0ZPMgoKA1NGTxIDU0ZP",
"isModify": false
}'OK
CarId of the car to be booked.
Example:"EgRFQ0FSGgNFVzIiAkVUKgoKA1NGTxIDU0ZPMgoKA1NGTxIDU0ZP"
Booking-time fields the supplier's live quote marked as needing a value (e.g. EHI's per-contract "AdditionalInfoField"). id/label are opaque and supplier/contract-specific, not a fixed enum -- render generically and echo the answer back on create_pnr's supplierFieldValues, keyed by id.
Response
{ "searchId": "1cf76aba18e4015f", "carId": "EgRFQ0FSGgNFVzIiAkVUKgoKA1NGTxIDU0ZPMgoKA1NGTxIDU0ZP", "pickupLocation": { "address": { … }, "coordinates": { … }, "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE", "operatingSchedule": { … }, "weeklyOperatingSchedule": [ … ], "contactInfo": { … } }, "dropOffLocation": { "address": { … }, "coordinates": { … }, "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE", "operatingSchedule": { … }, "weeklyOperatingSchedule": [ … ], "contactInfo": { … } }, "additionalDetails": [ { … } ], "vendor": { "code": "ZE", "name": "HERTZ", "email": "abc@xyz.com", "phone": { … } }, "co2Emission": { "co2EmissionValue": 0.01 }, "isFlightNumberMandatoryForPickup": true, "checkoutApprovalInfo": { "approvalType": "SOFT_APPROVAL", "approverDetails": [ … ] }, "supplierRequiredFields": [ { … } ] }