# Get more details for a specific car rate

Get additional details for a selected car rate from the search results.

Endpoint: POST /v2/car/rate-details
Version: v2
Security: Bearer

## Security:

  - `Bearer` (unknown)
    http bearer

## Request fields (application/json):

  - `searchId` (string, required)
    SearchID of the car rate details.
    Example: 1cf76aba18e4015f

  - `carId` (string, required)
    CarId of the car to be booked.
    Example: EgRFQ0FSGgNFVzIiAkVUKgoKA1NGTxIDU0ZPMgoKA1NGTxIDU0ZP

  - `isModify` (boolean)
    Indicates if the request is for modifying an existing booking.
    Example: false

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `searchId` (string, required)
    SearchID of the car rate details.
    Example: 1cf76aba18e4015f

  - `carId` (string, required)
    CarId of the car to be booked.
    Example: EgRFQ0FSGgNFVzIiAkVUKgoKA1NGTxIDU0ZPMgoKA1NGTxIDU0ZP

  - `pickupLocation` (object, required)
    Pickup and drop-off location info.

  - `pickupLocation.address` (object, required)
    Postal Address Details

  - `pickupLocation.address.addressLines` (array, required)
    Address lines

  - `pickupLocation.address.administrativeArea` (string)
    Code of administrative area. For example: DL for Delhi, India.
Highest administrative subdivision which is used for postal
addresses of a country or region.
For example, this can be a state, a province, an oblast, or a prefecture.
Specifically, for Spain this is the province and not the autonomous
community (e.g. "Barcelona" and not "Catalonia").
Many countries don't use an administrative area in postal addresses. E.g.
in Switzerland this should be left unpopulated.
    Example: CA

  - `pickupLocation.address.administrativeAreaName` (string)
    Name of administrative area. This is full name corresponding to administrativeArea. 
Like Delhi for DL area code. For some places, code and name maybe same as well like Tokyo.
    Example: California

  - `pickupLocation.address.description` (string)
    Address description
    Example: San Francisco Home

  - `pickupLocation.address.isDefault` (boolean)
    Whether this address is default address in case multiple addresses are specified.
    Example: true

  - `pickupLocation.address.languageCode` (string)
    BCP-47 language code of the contents of this address (if known). This is often the UI 
language of the input form or is expected to match one of the languages used in the 
address' country/region, or their transliterated equivalents.
This can affect formatting in certain countries, but is not critical to the correctness 
of the data and will never affect any validation or other non-formatting related operations.
Examples: "zh-Hant", "ja", "ja-Latn", "en".
    Example: en

  - `pickupLocation.address.locality` (string)
    Generally refers to the city/town portion of the address.
    Example: San Francisco

  - `pickupLocation.address.locationCode` (string)
    IATA 3-letter location code. See https://www.iata.org/en/services/codes.
    Example: LAX

  - `pickupLocation.address.organization` (string)
    The name of the organization at the address.
    Example: Spotnana

  - `pickupLocation.address.postalCode` (string)
    Postal code of the address. This is a required field when setting for a user/legal entity/company etc.
    Example: 94130

  - `pickupLocation.address.continentCode` (string)
    2 letter continent code of the continent this address falls in.
    Example: AF

  - `pickupLocation.address.recipients` (array)
    The recipient at the address.

  - `pickupLocation.address.regionCode` (string, required)
    Region code of the country/region of the address.
    Example: US

  - `pickupLocation.address.regionName` (string)
    Region name of the country/region of the address.
    Example: America

  - `pickupLocation.address.revision` (integer)
    Example: 1

  - `pickupLocation.address.sortingCode` (string)
    Additional, country-specific, sorting code. This is not used
in most regions. Where it is used, the value is either a string like
"CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
alone, representing the "sector code" (Jamaica), "delivery area indicator"
(Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
    Example: Jamaica

  - `pickupLocation.address.sublocality` (string)
    Sublocality of the address. This can be neighborhoods, boroughs, districts.

  - `pickupLocation.address.timezone` (string)
    Time zone of the address.
    Example: America/Los_Angeles

  - `pickupLocation.address.coordinates` (object)
    Latitude and Longitude for a Location

  - `pickupLocation.address.coordinates.latitude` (number, required)
    Latitude of the Location
    Example: 77.1025

  - `pickupLocation.address.coordinates.longitude` (number, required)
    Longitude of the Location
    Example: 28.7041

  - `pickupLocation.counterLocation` (string)
    Rental car counter location.
    Enum: "UNKNOWN_COUNTER", "NON_AIRPORT_LOCATION", "IN_TERMINAL", "OFF_AIRPORT_RENTAL_SHUTTLE", "IN_TERMINAL_RENTAL_SHUTTLE", "ON_AIRPORT_RENTAL_SHUTTLE", "ON_AIRPORT_AIRPORT_SHUTTLE", "CALL_FOR_SHUTTLE", "TWO_SHUTTLES_AIRPORT_AND_RENTAL"

  - `pickupLocation.operatingSchedule` (object)
    Operating schedule of vendor

  - `pickupLocation.operatingSchedule.interval` (object, required)

  - `pickupLocation.operatingSchedule.interval.min` (object)
    Local date and time in ISO 8601 format.

  - `pickupLocation.operatingSchedule.interval.min.iso8601` (string, required)
    Example: 2017-07-21T17:32

  - `pickupLocation.operatingSchedule.dayOfWeek` (string)
    Day of the week for which operating schedule is valid
    Example: SUN

  - `pickupLocation.weeklyOperatingSchedule` (array)
    Weekly operating schedule of vendor

  - `pickupLocation.contactInfo` (object)
    Contact info of the location

  - `pickupLocation.contactInfo.phone` (array)

  - `pickupLocation.contactInfo.fax` (array)

  - `pickupLocation.contactInfo.email` (array)

  - `pickupLocation.contactInfo.emergencyPhone` (array)

  - `additionalDetails` (array)
    Car Additional Details

  - `additionalDetails.carAdditionalDetailType` (string)
    Additional Detail Type.
    Enum: "AGE_INFORMATION", "DRIVER_INFORMATION", "DROP_OFF_INFORMATION", "FEES_INFORMATION", "FUEL_INFORMATION", "GEOGRAPHIC_RESTRICTIONS_INFORMATION", "INSURANCE_INFORMATION", "LICENSE_INFORMATION", "SHUTTLE_INFORMATION", "OTHER_INFORMATION"

  - `additionalDetails.text` (string, required)
    Text description of additional detail.
    Example: Driver needs to 25+

  - `vendor` (object)
    Car vendor.

  - `vendor.code` (string, required)
    Vendor code.
    Example: ZE

  - `vendor.name` (string, required)
    Vendor name.
    Example: HERTZ

  - `vendor.email` (string)
    Vendor email.
    Example: abc@xyz.com

  - `vendor.phone` (object)
    Properly formatted phone number.

  - `vendor.phone.countryCode` (integer)
    two digit country code
    Example: 91

  - `vendor.phone.countryCodeSource` (string)
    Enum: "UNSPECIFIED", "FROM_NUMBER_WITH_PLUS_SIGN", "FROM_NUMBER_WITH_IDD", "FROM_NUMBER_WITHOUT_PLUS_SIGN", "FROM_DEFAULT_COUNTRY"

  - `vendor.phone.extension` (string)
    phone number extension
    Example: 222

  - `vendor.phone.isoCountryCode` (string)
    ISO alpha-2 code
    Example: IN

  - `vendor.phone.italianLeadingZero` (boolean)
    Example: true

  - `vendor.phone.nationalNumber` (integer)
    Example: 8150

  - `vendor.phone.numberOfLeadingZeros` (integer)
    Example: 1

  - `vendor.phone.preferredDomesticCarrierCode` (string)
    Example: 7

  - `vendor.phone.rawInput` (string)
    Example: 77777

  - `vendor.phone.type` (string)
    Enum: "UNKNOWN_TYPE", "MOBILE", "LANDLINE"

  - `co2Emission` (object)
    The CO2 emission detail for car.

  - `co2Emission.co2EmissionValue` (number, required)
    The CO2 emission value in kgs for car.
    Example: 0.01

  - `isFlightNumberMandatoryForPickup` (boolean, required)
    Indicates if flight number is mandatory for pickup

  - `checkoutApprovalInfo` (object)
    Checkout approval information containing approval type and approver details

  - `checkoutApprovalInfo.approvalType` (string)
    Type of APPROVAL
    Enum: "HARD_APPROVAL", "SOFT_APPROVAL", "PASSIVE_APPROVAL", "PRE_APPROVAL"

  - `checkoutApprovalInfo.approverDetails` (array)
    List of approver details

  - `checkoutApprovalInfo.approverDetails.approverName` (string)
    Name of approver
    Example: John Doe

  - `checkoutApprovalInfo.approverDetails.approverEmail` (string)
    Email of approver
    Example: john.doe@company.com

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId` (object)
    User and user's organization information.

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.organizationAgencyId` (object)
    Agency id for the organization.

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.organizationAgencyId.id` (string, required)

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.organizationId` (object, required)
    Organization id for traveler.

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.organizationId.id` (string, required)

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.userId` (object, required)
    User identifier

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.userId.id` (string, required)

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcInfo` (object)
    TMC config information.

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcInfo.id` (object, required)
    Company ID

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcInfo.id.id` (string, required)
    Example: f49d00fe-1eda-4304-ba79-a980f565281d

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcInfo.primaryServiceProviderTmc` (object, required)
    Primary service provider TMC info

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcInfo.secondaryServiceProviderTmcs` (array)
    Secondary service provider TMCs for the TMC.

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcInfo.secondaryServiceProviderTmcs.supplier` (string, required)
    Supplier type like Sabre, TravelFusion etc.
    Enum: "SABRE", "AMADEUS", "TRAVEL_FUSION", "FARELOGIX_NDC", "ATPCO_NDC", "TRAINLINE", "AVIA", "QBR", "BCD", "QANTAS_HOTELS", "SOUTHWEST", "EXPEDIA", "HOTEL_HUB", "NDC", "MARRIOTT", "CLEARTRIP", "KYTE", "GROUNDSPAN", "SABRE_NDC", "BOOKING_COM", "CARTRAWLER", "PREMIER_INN", "TRAVELODGE", "ENTERPRISE", "HYATT", "HILTON", "NATIONAL", "ALAMO", "HERTZ", "DOLLAR", "THRIFTY", "FIREFLY", "EUROSTAR", "AVIS", "BUDGET", "AMADEUS_NDC", "SIXT"

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcInfo.secondaryServiceProviderTmcs.travelType` (string, required)
    Travel Type
    Enum: "AIR", "HOTEL", "CAR", "RAIL", "LIMO", "MISC", "ALL"

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcBasicInfo` (object)
    TMC related basic information.

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcBasicInfo.contractingTmc` (object, required)
    Basic information about a company.

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcBasicInfo.contractingTmc.name` (string)

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcBasicInfo.contractingTmc.logo` (object)
    An image with meta data. Either the `data` or `url` property must be supplied to load the image.

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcBasicInfo.contractingTmc.logo.data` (string)
    Example: 6935813e12584abda0e43d71cd2ea260

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcBasicInfo.contractingTmc.logo.dimensions` (object)
    Image dimensions ie width and height.

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcBasicInfo.contractingTmc.logo.dimensions.height` (integer)
    Example: 120

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcBasicInfo.contractingTmc.logo.dimensions.width` (integer)
    Example: 240

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcBasicInfo.contractingTmc.logo.url` (string)
    Example: https://static.wixstatic.com/media/73f2e2_6935813e12584abda0e43d71cd2ea260~mv2.png/v1/fill/w_630,h_94,al_c,q_85,usm_0.66_1.00_0.01/Spotnana%403x.webp

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcBasicInfo.contractingTmc.logo.metadata` (object)
    Metadata associated with an image.

  - `checkoutApprovalInfo.approverDetails.approverUserOrgId.tmcBasicInfo.contractingTmc.logo.metadata.variant` (string)
    Image variant.
    Enum: "LIGHT", "DARK"

  - `checkoutApprovalInfo.approverDetails.type` (string)
    Type of approver
    Enum: "UNKNOWN_APPROVER", "APPROVER", "AUTHORIZER"

  - `supplierRequiredFields` (array)
    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.

  - `supplierRequiredFields.id` (string)
    Opaque supplier-issued field identifier.
    Example: 18903794122757

  - `supplierRequiredFields.label` (string)
    Supplier-issued display label for this field.
    Example: Team

  - `supplierRequiredFields.required` (boolean)
    Whether the supplier rejects the booking without a value for this field.
    Example: true

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `debugIdentifier` (string)
    Link to debug the error internally.

  - `errorMessages` (array)

  - `errorMessages.errorCode` (string)
    Error code to identify the specific errors.

  - `errorMessages.message` (string)
    Message containing details of error.

  - `errorMessages.errorParameters` (array)
    Error message parameters.

  - `errorMessages.errorParameters.name` (string)
    Parameter name

  - `errorMessages.errorParameters.value` (string)
    Parameter value

  - `errorMessages.errorDetail` (string)
    More details about the error.

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `debugIdentifier` (string)
    Link to debug the error internally.

  - `errorMessages` (array)

  - `errorMessages.errorCode` (string)
    Error code to identify the specific errors.

  - `errorMessages.message` (string)
    Message containing details of error.

  - `errorMessages.errorParameters` (array)
    Error message parameters.

  - `errorMessages.errorParameters.name` (string)
    Parameter name

  - `errorMessages.errorParameters.value` (string)
    Parameter value

  - `errorMessages.errorDetail` (string)
    More details about the error.

## Response 404:

  - `404` (unknown)
    The specified resource was not found.

## Response 404 fields (application/json):

  - `debugIdentifier` (string)
    Link to debug the error internally.

  - `errorMessages` (array)

  - `errorMessages.errorCode` (string)
    Error code to identify the specific errors.

  - `errorMessages.message` (string)
    Message containing details of error.

  - `errorMessages.errorParameters` (array)
    Error message parameters.

  - `errorMessages.errorParameters.name` (string)
    Parameter name

  - `errorMessages.errorParameters.value` (string)
    Parameter value

  - `errorMessages.errorDetail` (string)
    More details about the error.

