Car Search

This method provides availability information with the cheapest fare option available. The request includes single query. When properly submitted, the Search Response returns the available option.

Once the requested query is parsed and validated, the booking engine start searching for the best option. If the search is successful it will return Result object.

Service URL (REST) to be used:
Search Request
Level Element Format Comments Mandatory
1 ClientId String Client ID provided to the agency at registration Mandatory
2 UserName String User Name provided to the agency at registration Mandatory
3 Password String Password provided to the agency at registration Mandatory
4 FormCity Integer Source city Id Mandatory
5 ToCity Integer Destination city Id Mandatory
6 PickUpDate Date Preferred Date Format:DD/MM/YYYY Mandatory
7 DropDate Date Preferred Date Format:DD/MM/YYYY
(For Return)
Mandatory
8 Hours Integer Total Duration of Journey.
Only to be supplied for local transfer.
Optional
9 TripType Integer Triptype (0-OneWay, 1-Return, 2-Local) Mandatory
10 EndUserIp Integer IP address of the EndUser. Mandatory
Search Response
Level Element Format Comments Mandatory
1 Error[] Array Error Mandatory
1.1 ErrorCode Integer Code corresponding to the Error Mandatory
1.2 ErrorMessage String Contains error description corresponding to ErrorCode. Error Message would be blank in case ErrorCode=0). Mandatory
2 Result[] Array Contain search result Mandatory
2.1 SrdvType String Srdv Type Mandatory
2.2 TraceID Integer Trace ID of Search Request. Mandatory
2.3 PaymentMethods[] Array Array OfElements Mandatory
2.3.1 IsFullPaymentRoute Boolean True or False Mandatory
2.3.2 FullPayment Boolean True or False Mandatory
2.3.3 PayToDriver Boolean True or False Mandatory
2.3.4 AdvancePayment Boolean True or False Mandatory
3 RequestData[] Array Array Of Element Mandatory
3.1 Trip String Trip Type Mandatory
3.2 Hours Integer Total Durationof Journey.
Only to be supplied for local transfer.
Optional
3.3 PickUpDate Date Preferred Date Format: DD/MM/YYYY Mandatory
3.4 DropDate Date Preferred Date Format: DD/MM/YYYY Mandatory
3.5 Assured Boolean True Or False Mandatory
3.6 CityData[] Array Array Of Elements Mandatory
3.6.1 Locality String Locality of the pickup city Optional
3.6.2 Name String City Name Mandatory
3.6.3 State String State Name Mandatory
3.6.4 Country String Country Name Optional
3.6.5 VendorCount String Vendor Count Optional
3.6.6 MaxBookingsPerDay String Maximum Booking Per Day Optional
3.6.7 ReturnNotPossible String Return Car Status Optional
3.6.8 NightBookingSlotAllowed Boolean True Or False Mandatory
4 TaxiData[] Array Array Of Elements Mandatory
4.1 SrdvIndex String Srdv Index Mandatory
4.2 Category String Category Of the Car Mandatory
4.3 Image String Car Image Mandatory
4.4 Availability Integer Availability of the Car Mandatory
4.5 SeatingCapacity Integer Seating Capacity of the car Mandatory
4.6 LuggageCapacity Integer Luggage Capacity Mandatory
4.7 AirConditioner Boolean True Or False Mandatory
4.8 CarNos[] Array Array Of Elements Mandatory
4.9 Fare[] Array Array of Elements Mandatory
4.9.1 PricingId Integer Unique Price Id Mandatory
4.9.2 VehicleCategory String Vehicle Category. Mandatory
4.9.3 BaseFare Integer Base Fare Mandatory
4.9.4 OutStationPerKmRate Integer OutStation Per Km Rate Mandatory
4.9.5 OutStationExtraKmRate Integer OutStation Extra Km Rate Mandatory
4.9.6 OutStationDriverAllowance Integer OutStation Driver Allowance Mandatory
4.9.7 OutStationMinKmPerDay Integer OutStation Min Km Per Day Mandatory
4.9.8 OutStationPackageRate Integer OutStation Package Rate Mandatory
4.9.9 AllInclusive Boolean True Or False Mandatory
4.9.10 LocalPackage8HrRate Integer Local Package 8Hr Rate Mandatory
4.9.11 LocalExtraKmRate Integer Local Extra Km Rate Mandatory
4.9.12 LocalExtraHrRate Integer Local Extra Hr Rate Mandatory
4.9.13 Fixed Boolean True Or False Mandatory
4.9.14 Refundable Boolean True Or False Mandatory
4.9.14 TotalKmCharged Integer Total Km Charged Mandatory
4.9.15 TotalHrsCharged Integer Total Hrs Charged Mandatory
4.9.16 TotalDaysCharged Integer Total Days Charged Mandatory
4.9.17 ServiceFee Integer Service Fee Charged Mandatory
4.9.18 AgentCommission Integer Agent Commission Mandatory
4.9.19 ServiceTaxPercent Integer Service Tax Percent Mandatory
4.9.20 TotalServiceTax Integer Total Service Tax Mandatory
4.9.21 TotalAmount Integer TotalAmount Mandatory
4.9.22 AdvanceAmount Integer Advance Amount Mandatory
4.9.23 FromDate String Optional Optional
4.9.24 ToDate String Optional Optional