POST api/Reviews/Add

Request Information

URI Parameters

None.

Body Parameters

ReviewsModel
NameDescriptionTypeAdditional information
Id

integer

None.

Tenant_Id

integer

None.

Property_Id

integer

None.

Rating

integer

None.

Review_Date

date

None.

Comments

string

None.

IsActive

boolean

Required

CreatedBy

string

Required

CreatedDate

date

Required

UpdatedBy

string

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Tenant_Id": 2,
  "Property_Id": 3,
  "Rating": 4,
  "Review_Date": "2025-12-11T04:31:10.0933597+05:30",
  "Comments": "sample string 6",
  "IsActive": true,
  "CreatedBy": "sample string 8",
  "CreatedDate": "2025-12-11T04:31:10.0933597+05:30",
  "UpdatedBy": "sample string 10",
  "UpdatedDate": "2025-12-11T04:31:10.0933597+05:30"
}

application/xml, text/xml

Sample:
<ReviewsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PropertyRMS.Model">
  <Comments>sample string 6</Comments>
  <CreatedBy>sample string 8</CreatedBy>
  <CreatedDate>2025-12-11T04:31:10.0933597+05:30</CreatedDate>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <Property_Id>3</Property_Id>
  <Rating>4</Rating>
  <Review_Date>2025-12-11T04:31:10.0933597+05:30</Review_Date>
  <Tenant_Id>2</Tenant_Id>
  <UpdatedBy>sample string 10</UpdatedBy>
  <UpdatedDate>2025-12-11T04:31:10.0933597+05:30</UpdatedDate>
</ReviewsModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ReviewsModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.