VoidTicket

VoidTicket

Voiding of the tickets received as a result of ticketing. This operation is possible only during the same calendar day as when it was ticketed. The request and the response are completely identical to CancelBook.

Request

Sample
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws-ibe.com/Avia" xmlns:req="http://ws-ibe.com/STL">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:VoidTicket>
         <ws:Request>
            <req:Requisites>
               <req:AuthToken>token</req:AuthToken>
            </req:Requisites>
            <req:UserID>11111</req:UserID>
            <req:RequestType>P</req:RequestType>
            <req:RequestBody>
               <ws:BookID>1000000</ws:BookID>
            </req:RequestBody>
         </ws:Request>
      </ws:VoidTicket>
   </soapenv:Body>
</soapenv:Envelope>

Response

Sample
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <VoidTicketResponse xmlns="http://ws-ibe.com/Avia">
         <VoidTicketResult xmlns:a="http://ws-ibe.com/STL" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:RequestID>1000672140</a:RequestID>
            <a:ResponseBody>
               <BookID>1000000</BookID>
               <Success>true</Success>
            </a:ResponseBody>
         </VoidTicketResult>
      </VoidTicketResponse>
   </s:Body>
</s:Envelope>