POST api/Hotel/GetHotelPoi

Request Information

URI Parameters

None

Body Parameters

BoundingBox
NameDescriptionTypeAdditional information
MinLatitude

decimal number

None

MaxLatitude

decimal number

None

MinLongitude

decimal number

None

MaxLongitude

decimal number

None

Request Formats

application/json, text/json

Sample:
    {
  "minLatitude": 1.1,
  "maxLatitude": 2.1,
  "minLongitude": 3.1,
  "maxLongitude": 4.1
}

application/xml, text/xml

Sample:
    <BoundingBox xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Priceline.WebServices.Models">
  <MaxLatitude>2.1</MaxLatitude>
  <MaxLongitude>4.1</MaxLongitude>
  <MinLatitude>1.1</MinLatitude>
  <MinLongitude>3.1</MinLongitude>
</BoundingBox>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Point
NameDescriptionTypeAdditional information
HotelId

integer

None

Latitude

decimal number

None

Longitude

decimal number

None

Response Formats

application/json, text/json

Sample:
    [
  {
    "hotelId": 1,
    "latitude": 2.1,
    "longitude": 3.1
  },
  {
    "hotelId": 1,
    "latitude": 2.1,
    "longitude": 3.1
  }
]

application/xml, text/xml

Sample:
    <ArrayOfPoint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Priceline.WebServices.Models">
  <Point>
    <HotelId>1</HotelId>
    <Latitude>2.1</Latitude>
    <Longitude>3.1</Longitude>
  </Point>
  <Point>
    <HotelId>1</HotelId>
    <Latitude>2.1</Latitude>
    <Longitude>3.1</Longitude>
  </Point>
</ArrayOfPoint>