Herramientas de usuario

Herramientas del sitio


public:staticinfo

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anterior Revisión previa
Próxima revisión
Revisión previa
public:staticinfo [2016/11/09 21:54]
onieto
public:staticinfo [2017/01/23 16:34] (actual)
onieto
Línea 16: Línea 16:
 --------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------
 === Esquema de la respuesta === === Esquema de la respuesta ===
-  * TourList ​-> Root +  * Tour -> Root 
-    * Tours -> Contenedor +    * Id -> Identificador del tour 
-      * Tour -> Elemento +    * Name -> Nombre del tour 
-        * Id -> Identificador ​del tour +    * URL -> URL a la descripción del tour 
-        * Name -> Nombre ​del tour +    * Image -> URL a la imagen del tour  
-        Image -> URL a la imagen ​del tour +    * Periods ​-> Contenedor ​de períodos de operación del tour 
-        * URL -> URL la descripción ​del tour+      * Period ​-> Período de operación del tour 
 +        * DayFrom ​-> Día en que comienza el período 
 +        * DayTo -> Día en que termina el período 
 +      * Departures -> Contenedor de información de salidas ​del tour 
 +        * Departure ​-> Información de una salida ​del tour 
 +          Code -> Código de referencia de la salida 
 +          * AmericaDeparture -> Fecha de salida de américa 
 +          * MaxQuota -> Cupo máximo de la salida ​del tour para cualquier día 
 +          * Itinerary -> Contenedor de la información del itinerario 
 +            * ItineraryDay -> Información del día del itinerario 
 +              * Order -> Orden del día en el itinerario 
 +              * Route -> Descripción breve del recorrido 
 +              * Image -> Imagen del día del itinerario 
 +              * Type -> [[public:​enums|Enumerador del tipo de dia en el itinerario]] 
 +              * Description -> Descripción del recorrido 
 +              * Hotel -> Información del hotel de ese día 
 +                * Name -> Nombre del hotel 
 +                * Category -> [[public:​enums|Enumerador del tipo de categoría del hotel]] 
 +                ​* URL -> URL del hotel 
 +                * Image -> Imagen del hotel 
 +              * Quota -> Información de cupos 
 +                * TotalQuota -> Cupo total del día del itinerario 
 +                * FreeQuota -> Cupo libre del día del itinerario 
 +          * Prices -> Contenedor de la información de precios 
 +            * Price -> Información de precios 
 +              * PVP_"​Type"​ -> PVP sobre habitación doble/​twin(DBL),​ triple(TPL),​ single(SGL) o niño(CHD) 
 +              * Net_"​Type"​ -> Neto sobre habitación doble/​twin(DBL),​ triple(TPL),​ single(SGL) o niño(CHD) 
 +              * CommissionIncluded -> Indica si la comisión ya está incluida o no 
 +              * CommissionPercent -> Indica el porcentaje de comisión si ésta ya se encuentra incluida 
 +          * Buses -> Contenedor de la información de buses 
 +            * Bus -> Información ​del bus 
 +              * Id -> Identificador del bus 
 +              * GuideName -> Nombre del guía 
 +              * Telephone -> Teléfono de emergencia 
 +              * DateFrom -> Fecha desde la cual opera el bus 
 +              * DateTo -> fecha hasta la cual opera el bus 
 +              * Order -> Orden del bus en el circuito 
 +          * Inclusions -> Contenedor de inclusiones del circuito 
 +            * Inclusion -> Inclusión del circuito 
 +          * Exclusions -> Contenedor de exclusiones del circuito 
 +            * Exclusion -> Exclusión del circuito 
 +          * Observations -> Contenedor de observaciones del circuito 
 +            * Observation -> Observaciones del circuito 
 +          * ExtraInfos -> Contenedor de informaciones extras del circuito 
 +            * ExtraInfo -> Información extra del circuito
 --------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------
 === Respuestas de ejemplo === === Respuestas de ejemplo ===
Línea 28: Línea 72:
 <Tour Id="​1"​ Name="​Esencia Europea 2017" URL=""​ Image="">​ <Tour Id="​1"​ Name="​Esencia Europea 2017" URL=""​ Image="">​
   <​Periods>​   <​Periods>​
-    <Period DayFrom="​2017-01-14T00:​00:​00"​ DayTo="​2018-01-14T00:​00:​00"​ />+    <Period DayFrom="​2017-01-13T00:​00:​00"​ DayTo="​2018-01-14T00:​00:​00"​ />
   </​Periods>​   </​Periods>​
   <​Departures>​   <​Departures>​
     <​Departure Code="​MEG-2063"​ AmericaDeparture="​2017-01-13T00:​00:​00"​ MaxQuota="​25">​     <​Departure Code="​MEG-2063"​ AmericaDeparture="​2017-01-13T00:​00:​00"​ MaxQuota="​25">​
       <​Itinerary>​       <​Itinerary>​
-        <​ItineraryDay Order="​0"​ Route="​MAD-LOU" Image=""​ Type="1">+        <​ItineraryDay Order="​0"​ Route="​AME-MAD" Image=""​ Type="0">
           <​Description />           <​Description />
-          <Hotel Name="Hotelito" Category="​5"​ URL=""​ Image=""​ />+          <Hotel Name="Hotel" Category="​5"​ URL=""​ Image=""​ />
           <Quota TotalQuota="​25"​ FreeQuota="​25"​ />           <Quota TotalQuota="​25"​ FreeQuota="​25"​ />
         </​ItineraryDay>​         </​ItineraryDay>​
-        <​ItineraryDay Order="​1"​ Route="​LOU-ORL" Image=""​ Type="1">+        <​ItineraryDay Order="​1"​ Route="​MAD" Image=""​ Type="0">
           <​Description />           <​Description />
-          <Hotel Name="Hotelito" Category="​5"​ URL=""​ Image=""​ />+          <Hotel Name="Hotel" Category="​5"​ URL=""​ Image=""​ /> 
 +          <Quota TotalQuota="​25"​ FreeQuota="​25"​ /> 
 +        </​ItineraryDay> ​   
 +        <​ItineraryDay Order="​2"​ Route="​MAD-LOU"​ Image=""​ Type="​1">​ 
 +          <​Description /> 
 +          <Hotel Name="​Hotel"​ Category="​5"​ URL=""​ Image=""​ /> 
 +          <Quota TotalQuota="​25"​ FreeQuota="​25"​ /> 
 +        </​ItineraryDay>​ 
 +        <​ItineraryDay Order="​3"​ Route="​LOU-ORL"​ Image=""​ Type="​1">​ 
 +          <​Description /> 
 +          <Hotel Name="​Hotel" Category="​5"​ URL=""​ Image=""​ />
           <Quota TotalQuota="​25"​ FreeQuota="​25"​ />           <Quota TotalQuota="​25"​ FreeQuota="​25"​ />
         </​ItineraryDay> ​       ​         </​ItineraryDay> ​       ​
       </​Itinerary>​       </​Itinerary>​
-      <​Prices ​Category="​Turista" ​PVP_DBL="​100"​ PVP_SGL="​80"​ PVP_TPL="​120"​ PVP_CHD="​50" PVP_IND="​0" Net_DBL="​0"​ Net_SGL="​0"​ Net_TPL="​0"​ Net_CHD="​0"​ Net_IND="​0"​ CommissionIncluded="​true"​ CommissionPercent="​5"​ />+      <Prices
 +        <​Price ​PVP_DBL="​100"​ PVP_SGL="​80"​ PVP_TPL="​120"​ PVP_CHD="​50"​ Net_DBL="​0"​ Net_SGL="​0"​ Net_TPL="​0"​ Net_CHD="​0"​ CommissionIncluded="​true"​ CommissionPercent="​5"​ /
 +      </Prices>
       <​Buses>​       <​Buses>​
-        <Bus Id="1" DriverName="​" GuideName="" ​Telephone1=""​ Telephone2=""​ DateFrom="​2017-01-16T00:​00:​00"​ DateTo="​2017-01-28T00:​00:​00"​ Order="​0"​ />+        <Bus Id="​1"​ GuideName="" ​Telephone=""​ DateFrom="​2017-01-16T00:​00:​00"​ DateTo="​2017-01-28T00:​00:​00"​ Order="​0"​ />
       </​Buses>​       </​Buses>​
-      <​Inclusions /> +      <​Inclusions
-      <​Exclusions /> +        <​Inclusion><​/Inclusion>​ 
-      <​Observations /> +      </​Inclusions
-      <​ExtraInfos />+      <​Exclusions
 +        <​Exclusion><​/Exclusion > 
 +      </​Exclusions
 +      <​Observations
 +        <​Observation><​/Observation > 
 +      </​Observations
 +      <​ExtraInfos
 +        <​ExtraInfo><​/ExtraInfo>​ 
 +      </​ExtraInfos>
     </​Departure>​     </​Departure>​
   </​Departures>​   </​Departures>​
Línea 63: Línea 127:
   "​Periods":​ [   "​Periods":​ [
     {     {
-      "​DayFrom":​ "​2017-01-14T00:​00:​00",​+      "​DayFrom":​ "​2017-01-13T00:​00:​00",​
       "​DayTo":​ "​2018-01-14T00:​00:​00"​       "​DayTo":​ "​2018-01-14T00:​00:​00"​
     }     }
Línea 77: Línea 141:
         {         {
           "​Order":​ 0,           "​Order":​ 0,
 +          "​Route":​ "​AME-MAD",​
 +          "​Description":​ "",​
 +          "​Image":​ "",​
 +          "​Hotel":​ {
 +            "​Name":​ "​Hotel",​
 +            "​Category":​ 5,
 +            "​URL":​ "",​
 +            "​Image":​ ""​
 +          },
 +          "​Quota":​ {
 +            "​TotalQuota":​ 25,
 +            "​FreeQuota":​ 25
 +          },
 +          "​Type":​ 0
 +        },
 +        {
 +          "​Order":​ 1,
 +          "​Route":​ "​MAD",​
 +          "​Description":​ "",​
 +          "​Image":​ "",​
 +          "​Hotel":​ {
 +            "​Name":​ "​Hotel",​
 +            "​Category":​ 5,
 +            "​URL":​ "",​
 +            "​Image":​ ""​
 +          },
 +          "​Quota":​ {
 +            "​TotalQuota":​ 25,
 +            "​FreeQuota":​ 25
 +          },
 +          "​Type":​ 0
 +        },
 +        {
 +          "​Order":​ 2,
           "​Route":​ "​MAD-LOU",​           "​Route":​ "​MAD-LOU",​
           "​Description":​ "",​           "​Description":​ "",​
           "​Image":​ "",​           "​Image":​ "",​
           "​Hotel":​ {           "​Hotel":​ {
-            "​Name":​ "Hotelito",+            "​Name":​ "Hotel",
             "​Category":​ 5,             "​Category":​ 5,
             "​URL":​ "",​             "​URL":​ "",​
Línea 93: Línea 191:
         },         },
         {         {
-          "​Order": ​1,+          "​Order": ​3,
           "​Route":​ "​LOU-ORL",​           "​Route":​ "​LOU-ORL",​
           "​Description":​ "",​           "​Description":​ "",​
           "​Image":​ "",​           "​Image":​ "",​
           "​Hotel":​ {           "​Hotel":​ {
-            "​Name":​ "Hotelito",+            "​Name":​ "Hotel",
             "​Category":​ 5,             "​Category":​ 5,
             "​URL":​ "",​             "​URL":​ "",​
Línea 108: Línea 206:
           },           },
           "​Type":​ 1           "​Type":​ 1
-        }        +        }          
       ],       ],
       "​Prices":​ [       "​Prices":​ [
         {         {
-          "​Category":​ 0, 
           "​PVP_DBL":​ 100,           "​PVP_DBL":​ 100,
           "​PVP_SGL":​ 80,           "​PVP_SGL":​ 80,
           "​PVP_TPL":​ 120,           "​PVP_TPL":​ 120,
           "​PVP_CHD":​ 50,           "​PVP_CHD":​ 50,
-          "​PVP_IND":​ 0, 
           "​Net_DBL":​ 0,           "​Net_DBL":​ 0,
           "​Net_SGL":​ 0,           "​Net_SGL":​ 0,
           "​Net_TPL":​ 0,           "​Net_TPL":​ 0,
           "​Net_CHD":​ 0,           "​Net_CHD":​ 0,
-          "​Net_IND":​ 0, 
           "​CommissionIncluded":​ true,           "​CommissionIncluded":​ true,
           "​CommissionPercent":​ 5           "​CommissionPercent":​ 5
Línea 130: Línea 225:
         {         {
           "​Id":​ 1,           "​Id":​ 1,
-          "​DriverName":​ "",​ 
           "​GuideName":​ "",​           "​GuideName":​ "",​
-          "Telephone1":​ "",​ +          "Telephone": "",​
-          "​Telephone2": "",​+
           "​DateFrom":​ "​2017-01-16T00:​00:​00",​           "​DateFrom":​ "​2017-01-16T00:​00:​00",​
           "​DateTo":​ "​2017-01-28T00:​00:​00",​           "​DateTo":​ "​2017-01-28T00:​00:​00",​
public/staticinfo.1478724860.txt.gz · Última modificación: 2017/01/20 13:17 (editor externo)