getAvailStations Request

This service is used to fetch addresses of a particular location based on the rate id.

Please follow the rules defined in the grid below.

Request Parameters
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 getAvailStations String
<params>      
<identifier> Attribute: rateid* Unique id of each vehicle set. Int
</params>      
</service>      
Response Parameters
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 getAvailStations String
<params>      
<identifier> Attribute: rateid* Unique id of each vehicle set. Int
</params>      
</service>      
</request>      
<response>      
<service> Attribute: rateid* Unique id of each vehicle set. Int
</service>      
<vendorPickupLocatione>      
<locationset>      
<stationid>   Location id where you pickup vehicle Int
</stationid>      
<name>   Returns address name String
</name>      
<address>   Returns the complete address of the location String
</address>      
<longitude>   Returns longitude coordinate.  
</longitude>      
<latitude>   Returns latitude coordinate.  
</latitude>      
</locationset>      
</vendorPickupLocatione>      
<vendorDropoffLocatione>      
<locationset>      
<stationid>   Location id where you drop vehicle Int
</stationid>      
<name>   Returns address name String
</name>      
<address>   Returns the complete address of the location String
</address>      
<longitude>   Returns longitude coordinate.  
</longitude>      
<latitude>   Returns latitude coordinate.  
</latitude>      
</locationset>      
</vendorDropoffLocatione>      
</response>      
Sample 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="getAvailStations">
  <params>
    <identifier rateid="1234567"/>
  </params>
  </service>
</request>
Sample 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="getAvailStations">
    <params>
        <identifier rateid="1234567"/>
    </params>
  </service>
</request>
<response>
  <service status="Success" code="100" description="string">
    <instructions pickupaddress="pickup address of the location" pickupinstructions="pickup instructions of the location" />
    <equipment equipid="1" description="Booster Seat (4-12 years)" price="20.00" maxprice="40.00" maxquantity="2" />
    <equipment equipid="2" description="GPS (Global Positioning System)" price="20.00" maxprice="20.00" maxquantity="1" />
  </service>
</response>