Car Booking
This method provides booking information with the cheapest fare booking option available. The request includes single query. When properly submitted, the Booking Response returns the available option.
Once the requested query is parsed and validated, the booking engine start booking. If the booking is successful it will return Result object.
Service URL (REST) to be used:
Car Booking Request
Level | Element | Format | Comments | Mandatory |
---|---|---|---|---|
1 | EndUserIp | String | IP address of the End User. | Mandatory |
2 | ClientId | String | Client ID provided to the agency at registration | Mandatory |
3 | UserName | String | User Name provided to the agency at registration | Mandatory |
4 | Password | String | Password provided to the agency at registration | Mandatory |
5 | SrdvIndex | String | Unique Result Index of each car data. | Mandatory |
6 | TraceID | Integer | Unique result ID | Mandatory |
7 | PickUpTime | Time | Time format HH: MM: SS | Mandatory |
8 | DropUpTime | Time | Time Format:HH: MM: SS | Mandatory |
9 | RefID | Integer | Unique Reference ID used at the time of booking | Mandatory |
10 | CustomerName | String | Customer Name to be used at the time of booking. | Mandatory |
11 | CustomerPhone | String | Customer Phone to be used at the time of booking. | Mandatory |
12 | CustomerEmail | String | Customer Email to be used at the time of booking. | Mandatory |
13 | CustomerAddress | String | Customer Address to be used at the time of booking. | Mandatory |
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 | SrdvIndex | Integer | Trace ID of Search Request | Mandatory |
2.3 | BookingID | Integer | Booking ID Generated after booking | Mandatory |
2.4 | RefID | String | Reference ID used at the time of booking. | Mandatory |
2.5 | OperatorID | Integer | Operator ID | Mandatory |
2.6 | SegmentID | Integer | Segment ID | Mandatory |
2.7 | Status | String | Booking Status | Mandatory |