POST api/User/ReviewToStylist

Request Information

URI Parameters

None.

Body Parameters

TestimonialEntity
NameDescriptionTypeAdditional information
Flag

integer

None.

Id

integer

None.

From

integer

None.

To

integer

None.

Review

string

None.

Rating

decimal number

None.

DoneBy

string

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Flag": 1,
  "Id": 2,
  "From": 3,
  "To": 4,
  "Review": "sample string 5",
  "Rating": 6.1,
  "DoneBy": "sample string 7",
  "CreatedOn": "2025-12-25T15:13:43.3557116+05:30"
}

application/xml, text/xml

Sample:
<CommonEntity.TestimonialEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Salon.ENTITY">
  <CreatedOn>2025-12-25T15:13:43.3557116+05:30</CreatedOn>
  <DoneBy>sample string 7</DoneBy>
  <Flag>1</Flag>
  <From>3</From>
  <Id>2</Id>
  <Rating>6.1</Rating>
  <Review>sample string 5</Review>
  <To>4</To>
</CommonEntity.TestimonialEntity>

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 'TestimonialEntity'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.