POST api/orders/review

Request Information

URI Parameters

None.

Body Parameters

SaveOrderReviewWithIdsRequest
NameDescriptionTypeAdditional information
OrderId

integer

None.

UserId

integer

None.

GroupId

integer

None.

Rating

integer

None.

Comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderId": 1,
  "UserId": 2,
  "GroupId": 3,
  "Rating": 4,
  "Comment": "sample string 5"
}

application/xml, text/xml

Sample:
<OrdersController.SaveOrderReviewWithIdsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HizirYetisAPI.Controllers">
  <Comment>sample string 5</Comment>
  <GroupId>3</GroupId>
  <OrderId>1</OrderId>
  <Rating>4</Rating>
  <UserId>2</UserId>
</OrdersController.SaveOrderReviewWithIdsRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.