POST api/v1/Hotel/SearchHotel

Request Information

URI Parameters

None.

Body Parameters

SearchDTO
NameDescriptionTypeAdditional information
City

string

None.

CheckIn

date

None.

CheckOut

date

None.

Rooms

integer

None.

Adult

integer

None.

Children

integer

None.

Amenities

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "City": "sample string 1",
  "CheckIn": "2025-12-06T17:42:10.6194414+00:00",
  "CheckOut": "2025-12-06T17:42:10.6194414+00:00",
  "Rooms": 4,
  "Adult": 5,
  "Children": 6,
  "Amenities": [
    1,
    2
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.