POST api/v1/Hotel/AddFeaturesToHotel

Request Information

URI Parameters

None.

Body Parameters

Collection of HotelAmenity
NameDescriptionTypeAdditional information
Id

integer

None.

HotelId

integer

None.

AmenityId

integer

None.

FeatureCount

integer

None.

Description

string

None.

_SysNumber

integer

None.

_CreationDate

date

None.

_UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "HotelId": 2,
    "AmenityId": 3,
    "FeatureCount": 4,
    "Description": "sample string 5",
    "_SysNumber": 6,
    "_CreationDate": "2025-12-06T17:39:48.1165594+00:00",
    "_UpdatedDate": "2025-12-06T17:39:48.1165594+00:00"
  },
  {
    "Id": 1,
    "HotelId": 2,
    "AmenityId": 3,
    "FeatureCount": 4,
    "Description": "sample string 5",
    "_SysNumber": 6,
    "_CreationDate": "2025-12-06T17:39:48.1165594+00:00",
    "_UpdatedDate": "2025-12-06T17:39:48.1165594+00:00"
  }
]

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.