CancelBook

CancelBook

Cancellation of a flight booking.

Request

Format Description
  • BookID - ID of the booking you want to cancel. Data type - 64-bit integer.
Sample
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://nemo-ibe.com/STL" xmlns:ns2="http://nemo-ibe.com/Avia">
  <SOAP-ENV:Body>
    <ns2:CancelBook>
      <ns2:Request>
        <ns1:Requisites>
          <stl:AuthToken>token010203D</stl:AuthToken>
        </ns1:Requisites>
        <ns1:UserID>100</ns1:UserID>
        <ns1:RequestBody>
          <ns2:BookID>1047197</ns2:BookID>
        </ns1:RequestBody>
      </ns2:Request>
    </ns2:CancelBook>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response

Format Description
  • BookID - ID of the booking that you want to cancel. Data type - 64-bit integer.
  • Success - attribute of the cancellation success. Data type - boolean.
Sample
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <CancelBookResponse xmlns="http://nemo-ibe.com/Avia">
      <CancelBookResult xmlns:a="http://nemo-ibe.com/STL" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <a:RequestID>11858637420</a:RequestID>
        <a:ResponseBody>
          <BookID>1047197</BookID>
          <Success>true</Success>
        </a:ResponseBody>
      </CancelBookResult>
    </CancelBookResponse>
  </s:Body>
</s:Envelope>