POST api/v1/Hotel/CreateHotelReviewAsync

Request Information

URI Parameters

None.

Body Parameters

HotelReview
NameDescriptionTypeAdditional information
id

integer

None.

hotelId

integer

None.

title

string

Required

username

string

Required

from

string

None.

content

string

Required

rating

integer

Required

_CreationDate

date

None.

_UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "hotelId": 2,
  "title": "sample string 3",
  "username": "sample string 4",
  "from": "sample string 5",
  "content": "sample string 6",
  "rating": 7,
  "_CreationDate": "2025-12-06T17:44:49.9739689+00:00",
  "_UpdatedDate": "2025-12-06T17:44:49.9739689+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.