This service is used to fetch further information of a particular car based on the rate id.
Please follow the rules defined in the grid below.
Elements | Parameter | Description | Type |
<auth> |
|||
username* | Unique string provided by CARSiRENT. Will be used to identify particular offer. | String | |
password* | Unique password provided by CARSiRENT for authentication. | String | |
language | Returns the result set in the language. (format: alpha-2). | String | |
pos* | Defines the source of the market. (format: 2 Digit ISO). | String | |
</auth> |
|||
<service> |
|||
Attribute: type | Defines the name of the service you have requested. e.g checkRateAvailability | String | |
<params> |
|||
<identifier> |
Attribute: rateid* | Unique id of each vehicle set. | Int |
<pickup/> |
Attribute: stationaddresscode* | location address id from where you pickup car | Int |
<dropoff/> |
Attribute: stationaddresscode* | location address id from where you dropoff car | Int |
</params> |
|||
</service> |
Elements | Parameter | Description | Type |
<request> |
|||
<auth> |
|||
username* | Unique string provided by CARSiRENT. Will be used to identify particular offer. | String | |
password* | Unique password provided by CARSiRENT for authentication. | String | |
language | Returns the result set in the language. (format: alpha-2). | String | |
pos* | Defines the source of the market. (format: 2 Digit ISO). | String | |
</auth> |
|||
<service> |
|||
Attribute: type | Defines the name of the service you have requested. e.g checkRateAvailability | String | |
<params> |
|||
<identifier> |
Attribute: rateid* | Unique id of each vehicle set. | Int |
<pickup/> |
Attribute: stationaddresscode* | location address id from where you pickup car | Int |
<dropoff/> |
Attribute: stationaddresscode* | location address id from where you dropoff car | Int |
</params> |
|||
</service> |
|||
</request> |
|||
<response> |
|||
<service/> |
|||
Attribute: status | Returns Success or Error | String | |
Attribute: code | Returns the reason code based on the response. For example for success it returns 100 | Int | |
<dueatdesk> |
Amount due at the counter. | Decimal | |
</dueatdesk> |
|||
<totalamount> |
Total cost of this booking. | Decimal | |
</totalamount> |
|||
<duenow> |
Amount to pay now | Decimal | |
</duenow> |
|||
</response> |
<?xml version="1.0" encoding="utf-8"?> <request> <auth> <username>USERNAME</username> <password>PASSWORD</password> <language>EN</language> <pos>BH</pos> </auth> <service type="checkRateAvailability"> <params> <identifier rateid="1234567"/> <pickup stationaddresscode="1567"/> <dropoff stationaddresscode="4567"/> </params> </service> </request>
<?xml version="1.0" encoding="utf-8"?> <request> <auth> <username>USERNAME</username> <password>PASSWORD</password> <language>EN</language> <pos>BH</pos> </auth> <service type="checkRateAvailability"/> <params> <identifier rateid="1234567"/> <pickup stationaddresscode="1567"/> <dropoff stationaddresscode="4567"/> </params> </request> <response> <service status="Success" code="100"/> <dueatdesk>100.12</dueatdesk> <totalamount>150.12</totalamount> <duenow>15.12</duenow> </response>