cancelReservation

Use this service to cancel an existing reservation.

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 approveReservation 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 cancelReservation String
<params>      
<identifier> Attribute: rateid* Unique id of each vehicle set. 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
  Attribute: description Returns the description of the response of your request Int
</service>      
</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="cancelReservation">
    <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="cancelReservation">
    <params>
        <identifier rateid="1234567"/>
    </params>
  </service>
</request>
<response>
  <service status="Success" code="100" description="string" />
</response>