POST api/OrderRating/RateOrder
Request Information
URI Parameters
None.
Body Parameters
RateOrder| Name | Description | Type | Additional information | 
|---|---|---|---|
| userId | integer | None. | |
| orderId | integer | None. | |
| rating | integer | None. | |
| reasons | Collection of integer | None. | |
| description | string | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "userId": 1,
  "orderId": 2,
  "rating": 3,
  "reasons": [
    1,
    2
  ],
  "description": "sample string 4"
}
        application/xml, text/xml
            Sample:
        
<RateOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <userId>1</userId>
  <orderId>2</orderId>
  <rating>3</rating>
  <reasons>
    <int>1</int>
    <int>2</int>
  </reasons>
  <description>sample string 4</description>
</RateOrder>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
            Sample:
                    
Sample not available.