POST api/v{version}/Providers/me/businesses/{businessId}/servicerequests/{requestId}/reviews

Request Information

URI Parameters

NameDescriptionTypeAdditional information
requestId

integer

Required

version

string

None.

businessId

string

None.

Body Parameters

ServiceRequestReviewForBusiness
NameDescriptionTypeAdditional information
CorrelatedId

integer

Required

FeelingRateId

byte

Required

Title

string

String length: inclusive between 3 and 64

Comment

string

String length: inclusive between 5 and 1000

Rate

decimal number

Range: inclusive between 0 and 5

Request Formats

application/json, text/json

Sample:
{
  "CorrelatedId": 1,
  "FeelingRateId": 64,
  "Title": "sample string 1",
  "Comment": "sample string 2",
  "Rate": 1.0
}

application/xml, text/xml

Sample:
<ServiceRequestReviewForBusiness xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FastFixCore.BindingModels.Provider">
  <Comment>sample string 2</Comment>
  <CorrelatedId>1</CorrelatedId>
  <FeelingRateId>64</FeelingRateId>
  <Rate>1</Rate>
  <Title>sample string 1</Title>
</ServiceRequestReviewForBusiness>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.