POST API/HyperGuest/Happay_HYG_HotelSearch

Request Information

URI Parameters

None.

Body Parameters

Params
NameDescriptionTypeAdditional information
HG_ChkInDt

string

None.

HG_Nights

integer

None.

HG_Single

integer

None.

HG_Double

integer

None.

SearchCityId

integer

None.

SearchStateId

integer

None.

hotelIds

string

None.

TariffPaymentMode

string

None.

UserId

integer

None.

UniqId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "HG_ChkInDt": "sample string 1",
  "HG_Nights": 2,
  "HG_Single": 3,
  "HG_Double": 4,
  "SearchCityId": 5,
  "SearchStateId": 6,
  "hotelIds": "sample string 7",
  "TariffPaymentMode": "sample string 8",
  "UserId": 9,
  "UniqId": "sample string 10"
}

application/xml, text/xml

Sample:
<Params xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HB_API_HYG.Models">
  <HG_ChkInDt>sample string 1</HG_ChkInDt>
  <HG_Double>4</HG_Double>
  <HG_Nights>2</HG_Nights>
  <HG_Single>3</HG_Single>
  <SearchCityId>5</SearchCityId>
  <SearchStateId>6</SearchStateId>
  <TariffPaymentMode>sample string 8</TariffPaymentMode>
  <UniqId>sample string 10</UniqId>
  <UserId>9</UserId>
  <hotelIds>sample string 7</hotelIds>
</Params>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of HyperGuest
NameDescriptionTypeAdditional information
PropertyId

string

None.

RoomType

string

None.

RoomTypeId

string

None.

RatePlanId

string

None.

RoomTypeCode

string

None.

RatePlanCode

string

None.

SingleCount

integer

None.

SingleTariff

decimal number

None.

SingleTaxes

decimal number

None.

DoubleCount

integer

None.

DoubleTariff

decimal number

None.

DoubleTaxes

decimal number

None.

breakfast_included

boolean

None.

MealPlan

string

None.

Inclusions

string

None.

cancellationpolicy

string

None.

freecancellationuntil

string

None.

HYG_ContractName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PropertyId": "sample string 1",
    "RoomType": "sample string 2",
    "RoomTypeId": "sample string 3",
    "RatePlanId": "sample string 4",
    "RoomTypeCode": "sample string 5",
    "RatePlanCode": "sample string 6",
    "SingleCount": 7,
    "SingleTariff": 8.0,
    "SingleTaxes": 9.0,
    "DoubleCount": 10,
    "DoubleTariff": 11.0,
    "DoubleTaxes": 12.0,
    "breakfast_included": true,
    "MealPlan": "sample string 14",
    "Inclusions": "sample string 15",
    "cancellationpolicy": "sample string 16",
    "freecancellationuntil": "sample string 17",
    "HYG_ContractName": "sample string 18"
  },
  {
    "PropertyId": "sample string 1",
    "RoomType": "sample string 2",
    "RoomTypeId": "sample string 3",
    "RatePlanId": "sample string 4",
    "RoomTypeCode": "sample string 5",
    "RatePlanCode": "sample string 6",
    "SingleCount": 7,
    "SingleTariff": 8.0,
    "SingleTaxes": 9.0,
    "DoubleCount": 10,
    "DoubleTariff": 11.0,
    "DoubleTaxes": 12.0,
    "breakfast_included": true,
    "MealPlan": "sample string 14",
    "Inclusions": "sample string 15",
    "cancellationpolicy": "sample string 16",
    "freecancellationuntil": "sample string 17",
    "HYG_ContractName": "sample string 18"
  }
]

application/xml, text/xml

Sample:
<ArrayOfHyperGuest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HB_API_HYG.Models">
  <HyperGuest>
    <DoubleCount>10</DoubleCount>
    <DoubleTariff>11</DoubleTariff>
    <DoubleTaxes>12</DoubleTaxes>
    <HYG_ContractName>sample string 18</HYG_ContractName>
    <Inclusions>sample string 15</Inclusions>
    <MealPlan>sample string 14</MealPlan>
    <PropertyId>sample string 1</PropertyId>
    <RatePlanCode>sample string 6</RatePlanCode>
    <RatePlanId>sample string 4</RatePlanId>
    <RoomType>sample string 2</RoomType>
    <RoomTypeCode>sample string 5</RoomTypeCode>
    <RoomTypeId>sample string 3</RoomTypeId>
    <SingleCount>7</SingleCount>
    <SingleTariff>8</SingleTariff>
    <SingleTaxes>9</SingleTaxes>
    <breakfast_included>true</breakfast_included>
    <cancellationpolicy>sample string 16</cancellationpolicy>
    <freecancellationuntil>sample string 17</freecancellationuntil>
  </HyperGuest>
  <HyperGuest>
    <DoubleCount>10</DoubleCount>
    <DoubleTariff>11</DoubleTariff>
    <DoubleTaxes>12</DoubleTaxes>
    <HYG_ContractName>sample string 18</HYG_ContractName>
    <Inclusions>sample string 15</Inclusions>
    <MealPlan>sample string 14</MealPlan>
    <PropertyId>sample string 1</PropertyId>
    <RatePlanCode>sample string 6</RatePlanCode>
    <RatePlanId>sample string 4</RatePlanId>
    <RoomType>sample string 2</RoomType>
    <RoomTypeCode>sample string 5</RoomTypeCode>
    <RoomTypeId>sample string 3</RoomTypeId>
    <SingleCount>7</SingleCount>
    <SingleTariff>8</SingleTariff>
    <SingleTaxes>9</SingleTaxes>
    <breakfast_included>true</breakfast_included>
    <cancellationpolicy>sample string 16</cancellationpolicy>
    <freecancellationuntil>sample string 17</freecancellationuntil>
  </HyperGuest>
</ArrayOfHyperGuest>