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. decimal
</longitude>      
<latitude>   Returns latitude coordinate. decimal
</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">
        <vendorPickupLocation>
            <vendorPickupLocation>
                <locationset>
                    <stationid>1321</stationid>
                    <name>Limoges Apt</name>
                    <address>Enterprise Rent A Car Aeroport International De </address>
                    <latitude>45.860933</latitude>
                    <longitude>1.178763</longitude>
                </locationset>
            </vendorPickupLocation>
        <vendorPickupLocation>
    </service>
</response>