Skip to content

Get location details for a car vendor

Request

Get the car location details and the vendor information.

Security
Bearer
Bodyapplication/jsonrequired
vendorCodestringrequired

Vendor code of the car company.

Example:"ZE"
locationCodestringrequired

IATA airport code.

Example:"SFO"
userIdobject(UserId)required

Car User Identifier.

curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/car/location-details \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "vendorCode": "ZE",
    "locationCode": "SFO",
    "userId": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    }
  }'

Responses

OK

Bodyapplication/json
locationobject(CarLocationDetails)required

Car Location details

vendorobject(Vendor)required

Car Vendor information

Response
{ "location": { "address": { … }, "coordinates": { … }, "counterLocation": "OFF_AIRPORT_RENTAL_SHUTTLE", "operatingSchedule": { … }, "weeklyOperatingSchedule": [ … ], "contactInfo": { … } }, "vendor": { "code": "ZE", "name": "HERTZ", "email": "abc@xyz.com", "phone": { … } } }