CompleteEMDProcessing

CompleteEMDProcessing

Completion of ticket exchange. Within this request, the necessary steps are taken to complete the exchange of tickets. For example, during an exchange in Amadeus, special EMD documents can be generated, they will be in the booking. For correctness of reports in Amadeus it is necessary to make a refund for these EMDs (for some sales offices the refund of EMD can be done only the day after the exchanges).

CompleteEMDProcessing

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

Request

Format Description
  • BookID - ID of the booking for which you want to complete the exchange. Data type - 64-bit integer.
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:CompleteEMDProcessing>
         <avia:Request>
            <stl:Requisites>
               <stl:AuthToken>token</stl:AuthToken>
            </stl:Requisites>
            <stl:UserID>111111</stl:UserID>
            <stl:RequestType>P</stl:RequestType>
            <stl:RequestBody>
               <avia:BookID>801325</avia:BookID>
            </stl:RequestBody>
         </avia:Request>
      </avia:CompleteEMDProcessing>
   </soapenv:Body>
</soapenv:Envelope>

Response

The booking is in the response, i.e. the response is similar to the response to BookFlight_2_0 request.

Sample
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <CompleteEMDProcessingResponse xmlns="http://ws-ibe.com/Avia">
      <CompleteEMDProcessingResult xmlns:a="http://ws-ibe.com/STL" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <a:RequestID>11138164817</a:RequestID>
        <a:ResponseBody>
          <a:ID>801325</a:ID>
          <a:OwnerID>111111</a:OwnerID>
          <a:DateInfo>
            <a:Created>2017-05-03 13:48:14 +05:00</a:Created>
            <a:LastUpdate>2017-05-03 14:14:16 +05:00</a:LastUpdate>
            <a:Ticketed>2017-05-03 13:49:09 +05:00</a:Ticketed>
          </a:DateInfo>
          <a:PossibleActions>
            <a:Action>Get</a:Action>
            <a:Action>Update</a:Action>
            <a:Action>GetHistory</a:Action>
            <a:Action>Modify</a:Action>
            <a:Action>Exchange</a:Action>
            <a:Action>Refund</a:Action>
          </a:PossibleActions>
          <a:Travellers>
            <a:Traveller>
              <a:ID>1</a:ID>
              <a:IDInPNR>2</a:IDInPNR>
              <a:Type>ADT</a:Type>
              <a:NamePrefix>MR</a:NamePrefix>
              <a:Name>ALEX</a:Name>
              <a:LastName>BROWN</a:LastName>
              <a:DateOfBirth>05.05.1980</a:DateOfBirth>
              <a:Nationality>US</a:Nationality>
              <a:Gender>M</a:Gender>
            </a:Traveller>
          </a:Travellers>
          <a:Services>
            <a:Service i:type="a:FlightService">
              <a:ID>0</a:ID>
              <a:SupplierID>ABCDEF</a:SupplierID>
              <a:Status>Ticketed</a:Status>
              <a:SubStatus/>
              <a:Type>Regular</a:Type>
              <a:DirectionType>OW</a:DirectionType>
              <a:Segments>
                <a:FlightSegment>
                  <a:ID>0</a:ID>
                  <a:DepatureAirport>
                    <a:Code>PAR</a:Code>
                    <a:UTC>5</a:UTC>
                  </a:DepatureAirport>
                  <a:ArrivalAirport>
                    <a:Code>LHR</a:Code>
                    <a:SubPointCode>5</a:SubPointCode>
                    <a:CityCode>LON</a:CityCode>
                    <a:UTC>1</a:UTC>
                  </a:ArrivalAirport>
                  <a:DepatureDateTime>2017-05-03T16:05:00</a:DepatureDateTime>
                  <a:ArrivalDateTime>2017-05-03T18:00:00</a:ArrivalDateTime>
                  <a:FlightNumber>232</a:FlightNumber>
                  <a:AircraftType>777</a:AircraftType>
                  <a:OperatingAirline>BA</a:OperatingAirline>
                  <a:MarketingAirline>BA</a:MarketingAirline>
                  <a:ETicket>true</a:ETicket>
                  <a:BookingClassCode>M</a:BookingClassCode>
                  <a:Status>Confirmed</a:Status>
                  <a:StatusCode>HK</a:StatusCode>
                  <a:SupplierRef>ABCDEF</a:SupplierRef>
                  <a:RequestedSegment>0</a:RequestedSegment>
                </a:FlightSegment>
              </a:Segments>
            </a:Service>
          </a:Services>
          <a:ProcessingServices>
            <a:Service>
              <a:ID>1</a:ID>
              <a:Type>Exchange</a:Type>
              <a:Status>Executed</a:Status>
              <a:AdditionalInfo>REISSUE;EMDRSVR;EMDPENF</a:AdditionalInfo>
            </a:Service>
          </a:ProcessingServices>
          <a:Price>
            <a:TotalPrice>
              <a:Amount>510</a:Amount>
              <a:Currency>EUR</a:Currency>
            </a:TotalPrice>
            <a:PriceBreakdown>
              <a:PricePart>
                <a:ServiceRef>
                  <a:Ref>0</a:Ref>
                </a:ServiceRef>
                <a:TotalPrice>
                  <a:Amount>499</a:Amount>
                  <a:Currency>EUR</a:Currency>
                </a:TotalPrice>
                <a:ValidatingCompany>BA</a:ValidatingCompany>
                <a:Refundable>Refundable</a:Refundable>
                <a:PassengerTypePriceBreakdown>
                  <a:PassengerTypePrice>
                    <a:TravellerRef>
                      <a:Ref>1</a:Ref>
                    </a:TravellerRef>
                    <a:PricingType>ADT</a:PricingType>
                    <a:BaseFare>
                      <a:Amount>474</a:Amount>
                      <a:Currency>EUR</a:Currency>
                    </a:BaseFare>
                    <a:EquiveFare>
                      <a:Amount>474</a:Amount>
                      <a:Currency>EUR</a:Currency>
                    </a:EquiveFare>
                    <a:TotalFare>
                      <a:Amount>499</a:Amount>
                      <a:Currency>EUR</a:Currency>
                    </a:TotalFare>
                    <a:Taxes>
                      <a:Tax>
                        <a:Amount>10</a:Amount>
                        <a:Currency>EUR</a:Currency>
                        <a:TaxCode>RI</a:TaxCode>
                      </a:Tax>
                      <a:Tax>
                        <a:Amount>15</a:Amount>
                        <a:Currency>EUR</a:Currency>
                        <a:TaxCode>UH</a:TaxCode>
                      </a:Tax>
                    </a:Taxes>
                    <a:Tariffs>
                      <a:Tariff i:type="a:AirTariff">
                        <a:Code>MLNCRUOW</a:Code>
                        <a:Type>Public</a:Type>
                        <a:ClassOfService>Economy</a:ClassOfService>
                        <a:BookingClassCode>M</a:BookingClassCode>
                        <a:SegmentID>0</a:SegmentID>
                        <a:FreeBaggage>
                          <a:Value>1</a:Value>
                          <a:Measure>Pieces</a:Measure>
                        </a:FreeBaggage>
                      </a:Tariff>
                    </a:Tariffs>
                    <a:FareCalc>Text</a:FareCalc>
                  </a:PassengerTypePrice>
                </a:PassengerTypePriceBreakdown>
              </a:PricePart>
              <a:PricePart>
                <a:ServiceRef>
                  <a:Ref>1</a:Ref>
                </a:ServiceRef>
                <a:TotalPrice>
                  <a:Amount>11</a:Amount>
                  <a:Currency>EUR</a:Currency>
                </a:TotalPrice>
                <a:Refundable>Unknown</a:Refundable>
              </a:PricePart>
            </a:PriceBreakdown>
          </a:Price>
          <a:DataItems/>
        </a:ResponseBody>
      </CompleteEMDProcessingResult>
    </CompleteEMDProcessingResponse>
  </s:Body>
</s:Envelope>