Book

Book

The booking of a basic service with a set of ancillary services from the supplier.

  • ID - unique ID of this booking. Data type - long.
  • OwnerID - owner's booking ID in the system. Data type - int32.
  • DateInfo - information about the time of various events from this booking. Data type - DateInfo.
  • PossibleActions - list of valid actions with this booking. Data type - PossibleActions.
  • Travelers - list of travelers for whom this booking was created. Data type - Traveller array.
  • Services - list of basic services reserved within this booking. Data type - Service array .
  • AncillaryServices - list of supplier's ancillary services reserved within this booking. Data type - Service array.
  • ProcessingServices - list of processing services. Data type - ProcessingService array.
  • Price - booking price. Data type - Price.
  • AgencyPrice - booking price in agency's selling currency. Data type - AgencyPrice. It is returned only in responses to requests of version 2.2 and newer.
  • DataItems - content of the booking. Data type - DataItem.

Sample


    <ResponseBody>
        <ID>140819</ID>
        <OwnerID>4</OwnerID>
        <DateInfo>
            <Created>2015-07-29 19:18:59 +03:00</Created>
        </DateInfo>
        <PossibleActions>
            <Action>Get</Action>
            <Action>Update</Action>
            <Action>GetHistory</Action>
            <Action>Modify</Action>
            <Action>Ticket</Action>
            <Action>Cancel</Action>
        </PossibleActions>
        <Travellers>
            <Traveller>
                <ID>1</ID>
                <Type>ADT</Type>
                <Name>ALEX</Name>
                <LastName>BROWN</LastName>
                <DateOfBirth>15.08.1989</DateOfBirth>
                <Nationality>US</Nationality>
                <Gender>M</Gender>
            </Traveller>
            <Traveller>
                <ID>2</ID>
                <Type>INF</Type>
                <Name>JOHN</Name>
                <LastName>BROWN</LastName>
                <DateOfBirth>15.08.2014</DateOfBirth>
                <Nationality>US</Nationality>
                <Gender>M</Gender>
                <LinkedTo>1</LinkedTo>
            </Traveller>
            <Traveller>
                <ID>3</ID>
                <Type>ADT</Type>
                <Name>BRANDON</Name>
                <LastName>SMITH</LastName>
                <DateOfBirth>15.08.1992</DateOfBirth>
                <Nationality>US</Nationality>
                <Gender>M</Gender>
            </Traveller>
            <Traveller>
                <ID>4</ID>
                <Type>CNN</Type>
                <Name>ALEX</Name>
                <LastName>SMITH</LastName>
                <DateOfBirth>15.08.2010</DateOfBirth>
                <Nationality>US</Nationality>
                <Gender>M</Gender>
            </Traveller>
        </Travellers>
        <Services>
            <Service i:type="FlightService">
                <ID>0</ID>
                <SupplierID>5RKGGY</SupplierID>
                <Status>Booked</Status>
                <SubStatus/>
                <Type>Regular</Type>
                <DirectionType>OW</DirectionType>
                <Segments>
                    <FlightSegment>
                        <ID>0</ID>
                        <DepatureAirport>
                            <Code>ALA</Code>
                            <CityCode>ALA</CityCode>
                            <UTC>5</UTC>
                        </DepatureAirport>
                        <ArrivalAirport>
                            <Code>NQZ</Code>
                            <SubPointCode>1</SubPointCode>
                            <UTC>5</UTC>
                        </ArrivalAirport>
                        <DepatureDateTime>2015-09-10T23:20:00</DepatureDateTime>
                        <ArrivalDateTime>2015-09-11T00:50:00</ArrivalDateTime>
                        <FlightNumber>6172</FlightNumber>
                        <AircraftType>319</AircraftType>
                        <OperatingAirline>ZZ</OperatingAirline>
                        <MarketingAirline>ZZ</MarketingAirline>
                        <ETicket>true</ETicket>
                        <BookingClassCode>R</BookingClassCode>
                        <Status>Confirmed</Status>
                        <StatusCode>HK</StatusCode>
                    </FlightSegment>
                </Segments>
            </Service>
        </Services>
        <Price>
            <TotalPrice>
                <Amount>75</Amount>
                <Currency>EUR</Currency>
            </TotalPrice>
            <PriceBreakdown>
                <PricePart>
                    <TotalPrice>
                        <Amount>75</Amount>
                        <Currency>EUR</Currency>
                    </TotalPrice>
                    <ValidatingCompany>EUR</ValidatingCompany>
                    <Refundable>NonRefundable</Refundable>
                    <PassengerTypePriceBreakdown>
                        <PassengerTypePrice>
                            <TravellerRef>
                                <Ref>1</Ref>
                                <Ref>3</Ref>
                            </TravellerRef>
                            <PricingType>ADT</PricingType>
                            <BaseFare>
                                <Amount>8</Amount>
                                <Currency>EUR</Currency>
                            </BaseFare>
                            <EquiveFare>
                                <Amount>8</Amount>
                                <Currency>EUR</Currency>
                            </EquiveFare>
                            <TotalFare>
                                <Amount>25</Amount>
                                <Currency>EUR</Currency>
                            </TotalFare>
                            <Taxes>
                                <Tax>
                                    <Amount>15</Amount>
                                    <Currency>EUR</Currency>
                                    <TaxCode>YQ</TaxCode>
                                </Tax>
                                <Tax>
                                    <Amount>2</Amount>
                                    <Currency>EUR</Currency>
                                    <TaxCode>YR</TaxCode>
                                </Tax>
                            </Taxes>
                            <Tariffs>
                                <Tariff i:type="AirTariff">
                                    <Code>RPROWRF</Code>
                                    <Type>Public</Type>
                                    <ClassOfService>Economy</ClassOfService>
                                    <BookingClassCode>R</BookingClassCode>
                                    <SegmentID>0</SegmentID>
                                    <FreeBaggage>
                                        <Value>1</Value>
                                        <Measure>Pieces</Measure>
                                    </FreeBaggage>
                                </Tariff>
                            </Tariffs>
                            <FareCalc>TEXT</FareCalc>
                        </PassengerTypePrice>
                        <PassengerTypePrice>
                            <TravellerRef>
                                <Ref>4</Ref>
                            </TravellerRef>
                            <PricingType>CH</PricingType>
                            <BaseFare>
                                <Amount>8</Amount>
                                <Currency>EUR</Currency>
                            </BaseFare>
                            <EquiveFare>
                                <Amount>8</Amount>
                                <Currency>EUR</Currency>
                            </EquiveFare>
                            <TotalFare>
                                <Amount>25</Amount>
                                <Currency>EUR</Currency>
                            </TotalFare>
                            <Taxes>
                                <Tax>
                                    <Amount>15</Amount>
                                    <Currency>EUR</Currency>
                                    <TaxCode>YQ</TaxCode>
                                </Tax>
                                <Tax>
                                    <Amount>2</Amount>
                                    <Currency>EUR</Currency>
                                    <TaxCode>YR</TaxCode>
                                </Tax>
                            </Taxes>
                            <Tariffs>
                                <Tariff i:type="AirTariff">
                                    <Code>RPROWRF/CH00</Code>
                                    <Type>Public</Type>
                                    <ClassOfService>Economy</ClassOfService>
                                    <BookingClassCode>R</BookingClassCode>
                                    <SegmentID>0</SegmentID>
                                    <FreeBaggage>
                                        <Value>1</Value>
                                        <Measure>Pieces</Measure>
                                    </FreeBaggage>
                                </Tariff>
                            </Tariffs>
                            <FareCalc>TEXT</FareCalc>
                        </PassengerTypePrice>
                        <PassengerTypePrice>
                            <TravellerRef>
                                <Ref>2</Ref>
                            </TravellerRef>
                            <PricingType>IN</PricingType>
                            <BaseFare>
                                <Amount>0</Amount>
                                <Currency>EUR</Currency>
                            </BaseFare>
                            <EquiveFare>
                                <Amount>0</Amount>
                                <Currency>EUR</Currency>
                            </EquiveFare>
                            <TotalFare>
                                <Amount>0</Amount>
                                <Currency>EUR</Currency>
                            </TotalFare>
                            <Tariffs>
                                <Tariff i:type="AirTariff">
                                    <Code>RPROWRF/IN</Code>
                                    <Type>Public</Type>
                                    <ClassOfService>Economy</ClassOfService>
                                    <BookingClassCode>R</BookingClassCode>
                                    <SegmentID>0</SegmentID>
                                    <FreeBaggage>
                                        <Value>1</Value>
                                        <Measure>Pieces</Measure>
                                    </FreeBaggage>
                                </Tariff>
                            </Tariffs>
                            <FareCalc>TEXT</FareCalc>
                        </PassengerTypePrice>
                    </PassengerTypePriceBreakdown>
                </PricePart>
            </PriceBreakdown>
        </Price>
        <DataItems>
            <DataItem>
                <ID>0</ID>
                <Type>SourceInfo</Type>
                <SourceInfo>
                    <ID>1</ID>
                    <BookingSupplierAgencyID>TEXT</BookingSupplierAgencyID>
                    <TicketingSupplierAgencyID>TEXT</TicketingSupplierAgencyID>
                    <Supplier>Amadeus</Supplier>
                    <Environment>TEST</Environment>
                </SourceInfo>
            </DataItem>
            <DataItem>
                <ID>1</ID>
                <Type>TL</Type>
                <TimeLimits>
                    <EffectiveTimeLimit>2015-07-30 19:18:59 +03:00</EffectiveTimeLimit>
                    <PriceTimeLimit>2015-07-30 19:18:59 +03:00</PriceTimeLimit>
                </TimeLimits>
            </DataItem>
            <DataItem>
                <ID>2</ID>
                <Type>ValidatingCompany</Type>
                <ValidatingCompany>
                    <Code>ZZ</Code>
                </ValidatingCompany>
            </DataItem>
            <DataItem>
                <ID>3</ID>
                <Type>FOP</Type>
                <PNRFOP>
                    <FOPs>
                        <FOP>
                            <Type>CA</Type>
                        </FOP>
                    </FOPs>
                </PNRFOP>
            </DataItem>
            <DataItem>
                <ID>4</ID>
                <TravellerRef>
                    <Ref>1</Ref>
                </TravellerRef>
                <Type>IDDocument</Type>
                <Document>
                    <Type>P</Type>
                    <Number>4108190448</Number>
                    <IssueCountryCode>US</IssueCountryCode>
                    <ElapsedTime>15.08.2039</ElapsedTime>
                    <AddedAsDOCS>true</AddedAsDOCS>
                </Document>
            </DataItem>
            <DataItem>
                <ID>5</ID>
                <TravellerRef>
                    <Ref>3</Ref>
                </TravellerRef>
                <Type>IDDocument</Type>
                <Document>
                    <Type>P</Type>
                    <Number>4111111415</Number>
                    <IssueCountryCode>US</IssueCountryCode>
                    <ElapsedTime>15.08.2039</ElapsedTime>
                    <AddedAsDOCS>true</AddedAsDOCS>
                </Document>
            </DataItem>
            <DataItem>
                <ID>6</ID>
                <TravellerRef>
                    <Ref>4</Ref>
                </TravellerRef>
                <Type>IDDocument</Type>
                <Document>
                    <Type>P</Type>
                    <Number>4111111448</Number>
                    <IssueCountryCode>US</IssueCountryCode>
                    <ElapsedTime>15.08.2039</ElapsedTime>
                    <AddedAsDOCS>true</AddedAsDOCS>
                </Document>
            </DataItem>
            <DataItem>
                <ID>7</ID>
                <TravellerRef>
                    <Ref>2</Ref>
                </TravellerRef>
                <Type>IDDocument</Type>
                <Document>
                    <Type>P</Type>
                    <Number>4111111048</Number>
                    <IssueCountryCode>US</IssueCountryCode>
                    <ElapsedTime>15.08.2039</ElapsedTime>
                    <AddedAsDOCS>true</AddedAsDOCS>
                </Document>
            </DataItem>
            <DataItem>
                <ID>8</ID>
                <Type>ContactInfo</Type>
                <ContactInfo>
                    <Telephone>
                        <Type>A</Type>
                        <PhoneNumber>74996382735- AGCY</PhoneNumber>
                    </Telephone>
                </ContactInfo>
            </DataItem>
            <DataItem>
                <ID>9</ID>
                <TravellerRef>
                    <Ref>1</Ref>
                </TravellerRef>
                <Type>ContactInfo</Type>
                <ContactInfo>
                    <EmailID>[email protected]</EmailID>
                    <Telephone>
                        <Type>M</Type>
                        <PhoneNumber>12125551212</PhoneNumber>
                    </Telephone>
                </ContactInfo>
            </DataItem>
            <DataItem>
                <ID>10</ID>
                <TravellerRef>
                    <Ref>1</Ref>
                    <Ref>3</Ref>
                    <Ref>4</Ref>
                </TravellerRef>
                <Type>FE</Type>
                <Endorsements>
                    <EndorsementText>
                        <Text>PAX NONREF</Text>
                    </EndorsementText>
                </Endorsements>
            </DataItem>
            <DataItem>
                <ID>11</ID>
                <TravellerRef>
                    <Ref>2</Ref>
                </TravellerRef>
                <Type>FE</Type>
                <Endorsements>
                    <EndorsementText>
                        <Text>INF NONREF</Text>
                    </EndorsementText>
                </Endorsements>
            </DataItem>
        </DataItems>
    </ResponseBody>