Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
|
public:bookinfo [2016/11/10 13:42] onieto |
public:bookinfo [2017/01/20 13:17] (actual) |
||
|---|---|---|---|
| Línea 31: | Línea 31: | ||
| * Pax -> Elemento con la información sobre una persona | * Pax -> Elemento con la información sobre una persona | ||
| * Id -> Identificador de la persona en la información de la reserva | * Id -> Identificador de la persona en la información de la reserva | ||
| - | * Name -> Nombre | + | * Name -> Nombre (y apellidos) |
| - | * SurName -> Apellidos | + | |
| * Passport -> Pasaporte | * Passport -> Pasaporte | ||
| * Email -> Email | * Email -> Email | ||
| * Address -> Dirección | * Address -> Dirección | ||
| - | * Telephone1 -> Teléfono 1 | + | * Telephone -> Teléfono |
| - | * Telpehone2 -> Teléfono 2 | + | |
| * Child -> Controla si la persona es un niño (menor de 8 años) | * Child -> Controla si la persona es un niño (menor de 8 años) | ||
| * Age -> Si la persona es un niño es obligatorio especificar su edad | * Age -> Si la persona es un niño es obligatorio especificar su edad | ||
| Línea 45: | Línea 43: | ||
| * Room -> Elemento con la información sobre la habitación | * Room -> Elemento con la información sobre la habitación | ||
| * Type -> [[public:enums|Enumerador del tipo de habitación]] | * Type -> [[public:enums|Enumerador del tipo de habitación]] | ||
| - | * Category -> [[public:enums|Enumerador del tipo de categoría de la habitación]] | ||
| * Price -> Precio de la habitación (obligatorio superior al neto de Eurorutas) | * Price -> Precio de la habitación (obligatorio superior al neto de Eurorutas) | ||
| * PaxIds -> Contenedor de la distribución de personas asociados a la habitación | * PaxIds -> Contenedor de la distribución de personas asociados a la habitación | ||
| Línea 57: | Línea 54: | ||
| <BookingInfo> | <BookingInfo> | ||
| <Paxes> | <Paxes> | ||
| - | <Pax Id="0" Name="string" SurName="string" Passport="string" Email="string" Address="string" Telephone1="string" Telephone2="string" Child="false" Age="0" DepartureFlight="string" ReturnFlight="string" /> | + | <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" SurName="string" Passport="string" Email="string" Address="string" Telephone1="string" Telephone2="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> | </Paxes> | ||
| <Rooms> | <Rooms> | ||
| - | <Room Type="Double" Category="Turista" Price="150"> | + | <Room Type="Double" Price="150"> |
| <PaxIds> | <PaxIds> | ||
| <PaxId>0</PaxId> | <PaxId>0</PaxId> | ||
| Línea 74: | Línea 71: | ||
| <code javascript Example.json> | <code javascript Example.json> | ||
| { | { | ||
| - | "Tours": [ | + | "Confirmed": true, |
| - | { | + | "Modified": false, |
| - | "Id": 1, | + | "BookingNumber": 2, |
| - | "Name": "Esencia Europea 2017", | + | "Error": "", |
| - | "Image": "", | + | "ErrorCode": 0, |
| - | "URL": "" | + | "BookingInfo": { |
| - | }, | + | "Paxes": [ |
| - | { | + | { |
| - | "Id": 2, | + | "Id": 0, |
| - | "Name": "Europa Preferente 2017", | + | "Name": "string", |
| - | "Image": "", | + | "Passport": "string", |
| - | "URL": "" | + | "Email": "string", |
| - | }, | + | "Address": "string", |
| - | { | + | "Telephone": "string", |
| - | "Id": 3, | + | "Child": false, |
| - | "Name": "Ronda Europea 2017", | + | "Age": 0, |
| - | "Image": "", | + | "DepartureFlight": "string", |
| - | "URL": "" | + | "ReturnFlight": "string" |
| - | }, | + | }, |
| - | { | + | { |
| - | "Id": 4, | + | "Id": 1, |
| - | "Name": "Viva Europa 2017", | + | "Name": "string", |
| - | "Image": "", | + | "Passport": "string", |
| - | "URL": "" | + | "Email": "string", |
| - | }, | + | "Address": "string", |
| - | { | + | "Telephone": "string", |
| - | "Id": 5, | + | "Child": false, |
| - | "Name": "Encanto de Europa 2017", | + | "Age": 0, |
| - | "Image": "", | + | "DepartureFlight": "string", |
| - | "URL": "" | + | "ReturnFlight": "string" |
| - | }, | + | } |
| - | { | + | ], |
| - | "Id": 6, | + | "Rooms": [ |
| - | "Name": "Europa Emocionante 2017", | + | { |
| - | "Image": "", | + | "Type": 1, |
| - | "URL": "" | + | "PaxIds": [ |
| - | }, | + | 0, |
| - | { | + | 1 |
| - | "Id": 7, | + | ], |
| - | "Name": "Europa de Gala 2017", | + | "Price": 150 |
| - | "Image": "", | + | } |
| - | "URL": "" | + | ] |
| - | }, | + | }, |
| - | { | + | "Price": 150, |
| - | "Id": 8, | + | "Pax": 2, |
| - | "Name": "Rutas de Europa 2017", | + | "TourID": 1, |
| - | "Image": "", | + | "CompleteTour": true, |
| - | "URL": "" | + | "EntryDate": "0001-01-01T00:00:00", |
| - | }, | + | "ExitDate": "0001-01-01T00:00:00", |
| - | { | + | "BookingDate": "2016-11-10T13:13:04", |
| - | "Id": 9, | + | "StartDate": "2017-01-13T00:00:00" |
| - | "Name": "Europa Bella 2017", | + | |
| - | "Image": "", | + | |
| - | "URL": "" | + | |
| - | }, | + | |
| - | { | + | |
| - | "Id": 10, | + | |
| - | "Name": "Magia Europea 2017", | + | |
| - | "Image": "", | + | |
| - | "URL": "" | + | |
| - | } | + | |
| - | ] | + | |
| } | } | ||
| </code> | </code> | ||