VoidEMD

VoidEMD

EMD void for various ancillary services in the booking.

VoidEMD_2_2

The latest version of the request, differences are only in the response to the request in the additional services block from the Book_2_2 request.

VoidEMD_1_1

Request format

  • BookID - ID of the booking for which the operation is performed. Data type - long.
  • ServiceRefs - list of IDs of the ancillary services in the booking for which an operation is required. Data type - int array.
  • ServiceRefs.Ref - ID of the ancillary service in the booking for which the operation is required. Data type - int.

    Sample request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:avia="http://ws-ibe.com/Avia" xmlns:stl="http://ws-ibe.com/STL">
   <soapenv:Header/>
   <soapenv:Body>
      <avia:VoidEMD_1_1>
         <avia:Request>
            <stl:Requisites>
               <stl:AuthToken>token</stl:AuthToken>
            </stl:Requisites>
            <stl:UserID>11111</stl:UserID>
            <stl:RequestType>P</stl:RequestType>
            <stl:RequestBody>
               <avia:BookID>1000000</avia:BookID>
               <avia:ServiceRefs>
                  <stl:Ref>1</stl:Ref>
               </avia:ServiceRefs>
            </stl:RequestBody>
         </avia:Request>
      </avia:VoidEMD_1_1>
   </soapenv:Body>
</soapenv:Envelope>

VoidEMD_1_0

Request format

  • BookID - ID of the booking that you need to void to which the EMD is related. Data type - long.
  • AncillaryServices - list of ancillary services for voiding. The data type is similar - AncillaryServices from the query IssueEMD.
Sample
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:avia="http://ws-ibe.com/Avia" xmlns:stl="http://ws-ibe.com/STL">
   <soapenv:Header/>
   <soapenv:Body>
      <avia:VoidEMD>
         <avia:Request>
            <stl:Requisites>
               <stl:AuthToken>token</stl:AuthToken>
            </stl:Requisites>
            <stl:UserID>11111</stl:UserID>
            <stl:RequestType>P</stl:RequestType>
            <stl:RequestBody>
               <avia:BookID>100000</avia:BookID>
               <avia:AncillaryServices>
                  <avia:AncillaryService>
                     <avia:ServiceRef>1</avia:ServiceRef>
                     <avia:SegmentRef>
                        <stl:MRef>0</stl:MRef>
                     </avia:SegmentRef>
                  </avia:AncillaryService>
               </avia:AncillaryServices>
            </stl:RequestBody>
         </avia:Request>
      </avia:VoidEMD>
   </soapenv:Body>
</soapenv:Envelope>

Response format

Booking 2.0.

Sample
<?xml version="1.0"?>
<ResponseWithBook xmlns="http://ws-ibe.com/STL" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <RequestID>1000882750</RequestID>
  <ResponseBody>
    <ID>100000</ID>
    <OwnerID>36110</OwnerID>
    <DateInfo>
      <Created>2024-08-12 18:30:37 +03:00</Created>
      <LastUpdate>2024-08-12 18:31:32 +03:00</LastUpdate>
      <Ticketed>2024-08-12 18:30:51 +03:00</Ticketed>
    </DateInfo>
    <PossibleActions>
      <Action>Get</Action>
      <Action>Update</Action>
      <Action>GetHistory</Action>
      <Action>GetEDData</Action>
      <Action>Void</Action>
      <Action>Modify</Action>
      <Action>AdditionalOperations</Action>
      <Action>Refund</Action>
      <Action>Exchange</Action>
      <Action>ReleaseSeat</Action>
      <Action>GetPNRTerminalView</Action>
    </PossibleActions>
    <Travellers>
      <Traveller>
        <ID>1</ID>
        <IDInPNR>12</IDInPNR>
        <Type>ADT</Type>
        <Name>SEBASTIAN</Name>
        <LastName>VETTEL</LastName>
        <DateOfBirth>21.02.1996</DateOfBirth>
        <Nationality>DE</Nationality>
        <Gender>M</Gender>
      </Traveller>
    </Travellers>
    <Services>
      <Service i:type="FlightService">
        <ID>0</ID>
        <SupplierID>1439248</SupplierID>
        <Status>Ticketed</Status>
        <Type>Regular</Type>
        <DirectionType>OW</DirectionType>
        <Segments>
          <FlightSegment>
            <ID>0</ID>
            <IDInPNR>14</IDInPNR>
            <DepatureAirport>
              <Code>CDG</Code>
              <SubPointCode>2F</SubPointCode>
              <CityCode>PAR</CityCode>
              <UTC>2</UTC>
            </DepatureAirport>
            <ArrivalAirport>
              <Code>BCN</Code>
              <SubPointCode>1</SubPointCode>
              <CityCode>BCN</CityCode>
              <UTC>2</UTC>
            </ArrivalAirport>
            <DepatureDateTime>2024-08-16T12:00:00</DepatureDateTime>
            <ArrivalDateTime>2024-08-16T12:30:00</ArrivalDateTime>
            <FlightTime>30</FlightTime>
            <FlightNumber>603</FlightNumber>
            <AircraftType>321</AircraftType>
            <OperatingAirline>AY</OperatingAirline>
            <MarketingAirline>AY</MarketingAirline>
            <ETicket>true</ETicket>
            <BookingClassCode>E</BookingClassCode>
            <Status>Confirmed</Status>
            <StatusCode>HK</StatusCode>
            <SupplierRef>ABBCCDD/AY</SupplierRef>
            <RequestedSegment>0</RequestedSegment>
            <OperatingFlightNumber>603</OperatingFlightNumber>
          </FlightSegment>
        </Segments>
        <GroupOrder>false</GroupOrder>
      </Service>
    </Services>
    <Price>
      <TotalPrice>
        <Amount>39.1</Amount>
        <Currency>USD</Currency>
      </TotalPrice>
      <ExpectedTicketCount>1</ExpectedTicketCount>
      <PriceBreakdown>
        <PricePart>
          <ServiceRef>
            <Ref>0</Ref>
          </ServiceRef>
          <SegmentRef>
            <Ref>0</Ref>
          </SegmentRef>
          <TotalPrice>
            <Amount>39.1</Amount>
            <Currency>USD</Currency>
          </TotalPrice>
          <ValidatingCompany>AY</ValidatingCompany>
          <Refundable>Refundable</Refundable>
          <PassengerTypePriceBreakdown>
            <PassengerTypePrice>
              <TravellerRef>
                <Ref>1</Ref>
              </TravellerRef>
              <PricingType>ADT</PricingType>
              <BaseFare>
                <Amount>5</Amount>
                <Currency>USD</Currency>
              </BaseFare>
              <EquiveFare>
                <Amount>5</Amount>
                <Currency>USD</Currency>
              </EquiveFare>
              <TotalFare>
                <Amount>39.1</Amount>
                <Currency>USD</Currency>
              </TotalFare>
              <Taxes>
                <Tax>
                  <Amount>35.1</Amount>
                  <Currency>USD</Currency>
                  <TaxCode>YQ</TaxCode>
                  <Type>aircompany</Type>
                  <AgencyAmount>32.67</AgencyAmount>
                </Tax>
              </Taxes>
              <Tariffs>
                <Tariff i:type="AirTariff">
                  <Code>ELTOW</Code>
                  <Type>Public</Type>
                  <ClassOfService>Economy</ClassOfService>
                  <BookingClassCode>E</BookingClassCode>
                  <SegmentID>0</SegmentID>
                  <FreeBaggage>
                    <Value>1</Value>
                    <Measure>Pieces</Measure>
                  </FreeBaggage>
                  <FareFamilyDescID>440</FareFamilyDescID>
                  <FareFamilyCode>Code</FareFamilyCode>
                  <Cabin>Economy</Cabin>
                  <BaggageDetailsList xmlns:a="http://ws-ibe.com/Avia">
                    <a:Baggage>
                      <Type>CheckedBaggage</Type>
                      <Count>1</Count>
                      <Weight i:nil="true"/>
                      <WeightUnit i:nil="true"/>
                      <Size i:nil="true"/>
                    </a:Baggage>
                  </BaggageDetailsList>
                </Tariff>
              </Tariffs>
              <FareCalc>Text</FareCalc>
            </PassengerTypePrice>
          </PassengerTypePriceBreakdown>
        </PricePart>
      </PriceBreakdown>
      <FareFamiliesDescriptions>
        <Description>
          <ID>440</ID>
          <Name>Code</Name>
          <UniversalParameters>
            <FareFamilyParameter>
              <Code>baggage</Code>
              <ShortDescription>
                <LangItem>
                  <Code>EN</Code>
                  <Value>Luggage - not included in the fare</Value>
                </LangItem>
              </ShortDescription>
              <FullDescription>
                <LangItem>
                  <Code>EN</Code>
                  <Value>Luggage is not included. You can buy extra baggage as an additional service. </Value>
                </LangItem>
              </FullDescription>
              <NeedToPay>NotAvailable</NeedToPay>
              <Priority>2</Priority>
            </FareFamilyParameter>
          </UniversalParameters>
        </Description>
      </FareFamiliesDescriptions>
    </Price>
    <DataItems>
      <DataItem>
        <ID>0</ID>
        <Type>SourceInfo</Type>
        <SourceInfo>
          <ID>-1000</ID>
          <BookingSupplierAgencyID>12341234214</BookingSupplierAgencyID>
          <TicketingSupplierAgencyID>12341234214</TicketingSupplierAgencyID>
          <Supplier>Sabre</Supplier>
          <Environment>CERT</Environment>
          <RequisitesTimeZoneId>UTC</RequisitesTimeZoneId>
        </SourceInfo>
      </DataItem>
      <DataItem>
        <ID>1</ID>
        <ServiceRef>
          <Ref>0</Ref>
        </ServiceRef>
        <Type>TL</Type>
        <TimeLimits>
          <EffectiveTimeLimit>2024-08-13 23:59:00 +03:00</EffectiveTimeLimit>
          <PriceTimeLimit>2024-08-13 23:59:00 +03:00</PriceTimeLimit>
          <AgencyTimeLimit>2024-08-13 18:30:37 +03:00</AgencyTimeLimit>
          <TicketingTimeLimit>2024-08-16 10:00:00 +00:00</TicketingTimeLimit>
          <VoidTimeLimit>2024-08-12 20:59:00 +00:00</VoidTimeLimit>
        </TimeLimits>
      </DataItem>
      <DataItem>
        <ID>2</ID>
        <ServiceRef>
          <Ref>0</Ref>
        </ServiceRef>
        <SegmentRef>
          <Ref>0</Ref>
        </SegmentRef>
        <Type>ValidatingCompany</Type>
        <ValidatingCompany>
          <Code>AY</Code>
        </ValidatingCompany>
      </DataItem>
      <DataItem>
        <ID>5</ID>
        <TravellerRef>
          <Ref>1</Ref>
        </TravellerRef>
        <ServiceRef>
          <Ref>0</Ref>
        </ServiceRef>
        <Type>FOP</Type>
        <PNRFOP>
          <FOPs>
            <FOP>
              <Type>CA</Type>
            </FOP>
          </FOPs>
        </PNRFOP>
      </DataItem>
      <DataItem>
        <ID>2436985861</ID>
        <TravellerRef>
          <Ref>1</Ref>
        </TravellerRef>
        <Type>IDDocument</Type>
        <Document>
          <Type>InternationalPassport</Type>
          <Number>C8W83GGG1</Number>
          <IssueCountryCode>DE</IssueCountryCode>
          <ElapsedTime>13.03.2034</ElapsedTime>
        </Document>
      </DataItem>
      <DataItem>
        <ID>1963855326</ID>
        <TravellerRef>
          <Ref>1</Ref>
        </TravellerRef>
        <ServiceRef>
          <Ref>0</Ref>
        </ServiceRef>
        <SegmentRef>
          <Ref>0</Ref>
        </SegmentRef>
        <Type>ED</Type>
        <ElectronicDocument>
          <Number>00Z2400056743</Number>
          <Status>Active</Status>
          <ServiceType>Flight</ServiceType>
          <IssueDateTime>2024-08-12 18:30:00 +03:00</IssueDateTime>
          <VAT>
            <Amount>0</Amount>
            <Currency>USD</Currency>
          </VAT>
          <IssuedExternally>true</IssuedExternally>
        </ElectronicDocument>
      </DataItem>
      <DataItem>
        <ID>12</ID>
        <TravellerRef>
          <Ref>1</Ref>
        </TravellerRef>
        <Type>ContactInfo</Type>
        <ContactInfo>
          <EmailID>[email protected]</EmailID>
          <Telephone>
            <Type>M</Type>
            <PhoneNumber>4915903722222</PhoneNumber>
          </Telephone>
        </ContactInfo>
      </DataItem>
      <DataItem>
        <ID>14</ID>
        <Type>ContactInfo</Type>
        <ContactInfo>
          <Telephone>
            <Type>A</Type>
            <PhoneNumber>4915903733333</PhoneNumber>
          </Telephone>
        </ContactInfo>
      </DataItem>
      <DataItem>
        <ID>15</ID>
        <Type>ContactInfo</Type>
        <ContactInfo>
          <Telephone>
            <Type>A</Type>
            <PhoneNumber>4915903744444</PhoneNumber>
          </Telephone>
        </ContactInfo>
      </DataItem>
    </DataItems>
  </ResponseBody>
</ResponseWithBook>