Información de reservas

Consulta de información de reservas.

Verbo HTTP: GET
Recurso:    /tour
Método:     /book

—————————————————————————————————————————————————

Parámetros obligatorios:
  * bookingID: Identificador de la reserva
Parámetros opcionales:
  * output: Formato de salida de la consulta (XML o JSON)

—————————————————————————————————————————————————

Esquema de la respuesta

—————————————————————————————————————————————————

Respuestas de ejemplo

Example.xml
<Booking Confirmed="true" Modified="false" BookingNumber="2" Price="150" Pax="2" TourID="1" CompleteTour="true" EntryDate="0001-01-01T00:00:00" ExitDate="0001-01-01T00:00:00" BookingDate="2016-11-10T13:13:04" StartDate="2017-01-13T00:00:00">
  <Error />
  <ErrorCode>No_Error</ErrorCode>
  <BookingInfo>
    <Paxes>
      <Pax Id="0" Name="string" Passport="string" Email="string" Address="string" Telephone="string" Child="false" Age="0" DepartureFlight="string" ReturnFlight="string" />
      <Pax Id="1" Name="string" Passport="string" Email="string" Address="string" Telephone="string" Child="false" Age="0" DepartureFlight="string" ReturnFlight="string" />
    </Paxes>
    <Rooms>
      <Room Type="Double" Price="150">
        <PaxIds>
          <PaxId>0</PaxId>
          <PaxId>1</PaxId>
        </PaxIds>
      </Room>
    </Rooms>
  </BookingInfo>
</Booking>

Example.json
{
  "Confirmed": true,
  "Modified": false,
  "BookingNumber": 2,
  "Error": "",
  "ErrorCode": 0,
  "BookingInfo": {
    "Paxes": [
      {
        "Id": 0,
        "Name": "string",
        "Passport": "string",
        "Email": "string",
        "Address": "string",
        "Telephone": "string",
        "Child": false,
        "Age": 0,
        "DepartureFlight": "string",
        "ReturnFlight": "string"
      },
      {
        "Id": 1,
        "Name": "string",
        "Passport": "string",
        "Email": "string",
        "Address": "string",
        "Telephone": "string",
        "Child": false,
        "Age": 0,
        "DepartureFlight": "string",
        "ReturnFlight": "string"
      }
    ],
    "Rooms": [
      {
        "Type": 1,
        "PaxIds": [
          0,
          1
        ],
        "Price": 150
      }
    ]
  },
  "Price": 150,
  "Pax": 2,
  "TourID": 1,
  "CompleteTour": true,
  "EntryDate": "0001-01-01T00:00:00",
  "ExitDate": "0001-01-01T00:00:00",
  "BookingDate": "2016-11-10T13:13:04",
  "StartDate": "2017-01-13T00:00:00"
}