GET api/GenericData/GetHotelsFromJolidey?countryCode={countryCode}&zoneCode={zoneCode}&hotelName={hotelName}&_Credentials={_Credentials}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
countryCode

string

Required

zoneCode

string

Required

hotelName

string

Required

_Credentials

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of cEntityOwnHotel
NameDescriptionTypeAdditional information
hotel_code

string

None.

hotel_name

string

None.

hotel_foto_url

string

None.

hotel_adress

string

None.

hotel_categoryName

string

None.

hotel_countryCode

string

None.

hotel_countryName

string

None.

hotel_cityName

string

None.

hotel_latitude

string

None.

hotel_postalCode

string

None.

hotel_longitude

string

None.

hotel_description

string

None.

hotel_external_code

string

None.

hotel_external_foto_url

string

None.

hotel_description_location

string

None.

hotel_description_rooms

string

None.

hotel_description_others

string

None.

product_code

string

None.

hotel_provinceName

string

None.

hotel_email

string

None.

hotel_telefone

string

None.

hasError

boolean

None.

hasErrorMessage

string

None.

HotelsMultimedia

Collection of cEntityHotelJolideyMultimedia

None.

HotelsFacilities

Collection of cEntityHotelJolideyFacilities

None.

HotelsDescriptions

Collection of cEntityHotelJolideyDescription

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "hotel_code": "sample string 1",
    "hotel_name": "sample string 2",
    "hotel_foto_url": "sample string 3",
    "hotel_adress": "sample string 4",
    "hotel_categoryName": "sample string 5",
    "hotel_countryCode": "sample string 6",
    "hotel_countryName": "sample string 7",
    "hotel_cityName": "sample string 8",
    "hotel_latitude": "sample string 9",
    "hotel_postalCode": "sample string 10",
    "hotel_longitude": "sample string 11",
    "hotel_description": "sample string 12",
    "hotel_external_code": "sample string 13",
    "hotel_external_foto_url": "sample string 14",
    "hotel_description_location": "sample string 15",
    "hotel_description_rooms": "sample string 16",
    "hotel_description_others": "sample string 17",
    "product_code": "sample string 18",
    "hotel_provinceName": "sample string 19",
    "hotel_email": "sample string 20",
    "hotel_telefone": "sample string 21",
    "hasError": true,
    "hasErrorMessage": "sample string 23",
    "HotelsMultimedia": [
      {
        "id": 1,
        "hotelid": "sample string 2",
        "image_type": "sample string 3",
        "image_link": "sample string 4",
        "hasError": true,
        "hasErrorMessage": "sample string 6"
      },
      {
        "id": 1,
        "hotelid": "sample string 2",
        "image_type": "sample string 3",
        "image_link": "sample string 4",
        "hasError": true,
        "hasErrorMessage": "sample string 6"
      }
    ],
    "HotelsFacilities": [
      {
        "id": 1,
        "hotelid": "sample string 2",
        "facilitie_name": "sample string 3",
        "hasError": true,
        "hasErrorMessage": "sample string 5"
      },
      {
        "id": 1,
        "hotelid": "sample string 2",
        "facilitie_name": "sample string 3",
        "hasError": true,
        "hasErrorMessage": "sample string 5"
      }
    ],
    "HotelsDescriptions": [
      {
        "id": 1,
        "hotelid": "sample string 2",
        "descriptiontype": "sample string 3",
        "descriptiontext": "sample string 4",
        "hasError": true,
        "hasErrorMessage": "sample string 6"
      },
      {
        "id": 1,
        "hotelid": "sample string 2",
        "descriptiontype": "sample string 3",
        "descriptiontext": "sample string 4",
        "hasError": true,
        "hasErrorMessage": "sample string 6"
      }
    ]
  },
  {
    "hotel_code": "sample string 1",
    "hotel_name": "sample string 2",
    "hotel_foto_url": "sample string 3",
    "hotel_adress": "sample string 4",
    "hotel_categoryName": "sample string 5",
    "hotel_countryCode": "sample string 6",
    "hotel_countryName": "sample string 7",
    "hotel_cityName": "sample string 8",
    "hotel_latitude": "sample string 9",
    "hotel_postalCode": "sample string 10",
    "hotel_longitude": "sample string 11",
    "hotel_description": "sample string 12",
    "hotel_external_code": "sample string 13",
    "hotel_external_foto_url": "sample string 14",
    "hotel_description_location": "sample string 15",
    "hotel_description_rooms": "sample string 16",
    "hotel_description_others": "sample string 17",
    "product_code": "sample string 18",
    "hotel_provinceName": "sample string 19",
    "hotel_email": "sample string 20",
    "hotel_telefone": "sample string 21",
    "hasError": true,
    "hasErrorMessage": "sample string 23",
    "HotelsMultimedia": [
      {
        "id": 1,
        "hotelid": "sample string 2",
        "image_type": "sample string 3",
        "image_link": "sample string 4",
        "hasError": true,
        "hasErrorMessage": "sample string 6"
      },
      {
        "id": 1,
        "hotelid": "sample string 2",
        "image_type": "sample string 3",
        "image_link": "sample string 4",
        "hasError": true,
        "hasErrorMessage": "sample string 6"
      }
    ],
    "HotelsFacilities": [
      {
        "id": 1,
        "hotelid": "sample string 2",
        "facilitie_name": "sample string 3",
        "hasError": true,
        "hasErrorMessage": "sample string 5"
      },
      {
        "id": 1,
        "hotelid": "sample string 2",
        "facilitie_name": "sample string 3",
        "hasError": true,
        "hasErrorMessage": "sample string 5"
      }
    ],
    "HotelsDescriptions": [
      {
        "id": 1,
        "hotelid": "sample string 2",
        "descriptiontype": "sample string 3",
        "descriptiontext": "sample string 4",
        "hasError": true,
        "hasErrorMessage": "sample string 6"
      },
      {
        "id": 1,
        "hotelid": "sample string 2",
        "descriptiontype": "sample string 3",
        "descriptiontext": "sample string 4",
        "hasError": true,
        "hasErrorMessage": "sample string 6"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfcGenericData.cEntityOwnHotel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JOLIDEY">
  <cGenericData.cEntityOwnHotel>
    <HotelsDescriptions>
      <cGenericData.cEntityHotelJolideyDescription>
        <descriptiontext>sample string 4</descriptiontext>
        <descriptiontype>sample string 3</descriptiontype>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 6</hasErrorMessage>
        <hotelid>sample string 2</hotelid>
        <id>1</id>
      </cGenericData.cEntityHotelJolideyDescription>
      <cGenericData.cEntityHotelJolideyDescription>
        <descriptiontext>sample string 4</descriptiontext>
        <descriptiontype>sample string 3</descriptiontype>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 6</hasErrorMessage>
        <hotelid>sample string 2</hotelid>
        <id>1</id>
      </cGenericData.cEntityHotelJolideyDescription>
    </HotelsDescriptions>
    <HotelsFacilities>
      <cGenericData.cEntityHotelJolideyFacilities>
        <facilitie_name>sample string 3</facilitie_name>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 5</hasErrorMessage>
        <hotelid>sample string 2</hotelid>
        <id>1</id>
      </cGenericData.cEntityHotelJolideyFacilities>
      <cGenericData.cEntityHotelJolideyFacilities>
        <facilitie_name>sample string 3</facilitie_name>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 5</hasErrorMessage>
        <hotelid>sample string 2</hotelid>
        <id>1</id>
      </cGenericData.cEntityHotelJolideyFacilities>
    </HotelsFacilities>
    <HotelsMultimedia>
      <cGenericData.cEntityHotelJolideyMultimedia>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 6</hasErrorMessage>
        <hotelid>sample string 2</hotelid>
        <id>1</id>
        <image_link>sample string 4</image_link>
        <image_type>sample string 3</image_type>
      </cGenericData.cEntityHotelJolideyMultimedia>
      <cGenericData.cEntityHotelJolideyMultimedia>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 6</hasErrorMessage>
        <hotelid>sample string 2</hotelid>
        <id>1</id>
        <image_link>sample string 4</image_link>
        <image_type>sample string 3</image_type>
      </cGenericData.cEntityHotelJolideyMultimedia>
    </HotelsMultimedia>
    <hasError>true</hasError>
    <hasErrorMessage>sample string 23</hasErrorMessage>
    <hotel_adress>sample string 4</hotel_adress>
    <hotel_categoryName>sample string 5</hotel_categoryName>
    <hotel_cityName>sample string 8</hotel_cityName>
    <hotel_code>sample string 1</hotel_code>
    <hotel_countryCode>sample string 6</hotel_countryCode>
    <hotel_countryName>sample string 7</hotel_countryName>
    <hotel_description>sample string 12</hotel_description>
    <hotel_description_location>sample string 15</hotel_description_location>
    <hotel_description_others>sample string 17</hotel_description_others>
    <hotel_description_rooms>sample string 16</hotel_description_rooms>
    <hotel_email>sample string 20</hotel_email>
    <hotel_external_code>sample string 13</hotel_external_code>
    <hotel_external_foto_url>sample string 14</hotel_external_foto_url>
    <hotel_foto_url>sample string 3</hotel_foto_url>
    <hotel_latitude>sample string 9</hotel_latitude>
    <hotel_longitude>sample string 11</hotel_longitude>
    <hotel_name>sample string 2</hotel_name>
    <hotel_postalCode>sample string 10</hotel_postalCode>
    <hotel_provinceName>sample string 19</hotel_provinceName>
    <hotel_telefone>sample string 21</hotel_telefone>
    <product_code>sample string 18</product_code>
  </cGenericData.cEntityOwnHotel>
  <cGenericData.cEntityOwnHotel>
    <HotelsDescriptions>
      <cGenericData.cEntityHotelJolideyDescription>
        <descriptiontext>sample string 4</descriptiontext>
        <descriptiontype>sample string 3</descriptiontype>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 6</hasErrorMessage>
        <hotelid>sample string 2</hotelid>
        <id>1</id>
      </cGenericData.cEntityHotelJolideyDescription>
      <cGenericData.cEntityHotelJolideyDescription>
        <descriptiontext>sample string 4</descriptiontext>
        <descriptiontype>sample string 3</descriptiontype>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 6</hasErrorMessage>
        <hotelid>sample string 2</hotelid>
        <id>1</id>
      </cGenericData.cEntityHotelJolideyDescription>
    </HotelsDescriptions>
    <HotelsFacilities>
      <cGenericData.cEntityHotelJolideyFacilities>
        <facilitie_name>sample string 3</facilitie_name>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 5</hasErrorMessage>
        <hotelid>sample string 2</hotelid>
        <id>1</id>
      </cGenericData.cEntityHotelJolideyFacilities>
      <cGenericData.cEntityHotelJolideyFacilities>
        <facilitie_name>sample string 3</facilitie_name>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 5</hasErrorMessage>
        <hotelid>sample string 2</hotelid>
        <id>1</id>
      </cGenericData.cEntityHotelJolideyFacilities>
    </HotelsFacilities>
    <HotelsMultimedia>
      <cGenericData.cEntityHotelJolideyMultimedia>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 6</hasErrorMessage>
        <hotelid>sample string 2</hotelid>
        <id>1</id>
        <image_link>sample string 4</image_link>
        <image_type>sample string 3</image_type>
      </cGenericData.cEntityHotelJolideyMultimedia>
      <cGenericData.cEntityHotelJolideyMultimedia>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 6</hasErrorMessage>
        <hotelid>sample string 2</hotelid>
        <id>1</id>
        <image_link>sample string 4</image_link>
        <image_type>sample string 3</image_type>
      </cGenericData.cEntityHotelJolideyMultimedia>
    </HotelsMultimedia>
    <hasError>true</hasError>
    <hasErrorMessage>sample string 23</hasErrorMessage>
    <hotel_adress>sample string 4</hotel_adress>
    <hotel_categoryName>sample string 5</hotel_categoryName>
    <hotel_cityName>sample string 8</hotel_cityName>
    <hotel_code>sample string 1</hotel_code>
    <hotel_countryCode>sample string 6</hotel_countryCode>
    <hotel_countryName>sample string 7</hotel_countryName>
    <hotel_description>sample string 12</hotel_description>
    <hotel_description_location>sample string 15</hotel_description_location>
    <hotel_description_others>sample string 17</hotel_description_others>
    <hotel_description_rooms>sample string 16</hotel_description_rooms>
    <hotel_email>sample string 20</hotel_email>
    <hotel_external_code>sample string 13</hotel_external_code>
    <hotel_external_foto_url>sample string 14</hotel_external_foto_url>
    <hotel_foto_url>sample string 3</hotel_foto_url>
    <hotel_latitude>sample string 9</hotel_latitude>
    <hotel_longitude>sample string 11</hotel_longitude>
    <hotel_name>sample string 2</hotel_name>
    <hotel_postalCode>sample string 10</hotel_postalCode>
    <hotel_provinceName>sample string 19</hotel_provinceName>
    <hotel_telefone>sample string 21</hotel_telefone>
    <product_code>sample string 18</product_code>
  </cGenericData.cEntityOwnHotel>
</ArrayOfcGenericData.cEntityOwnHotel>