POST api/rate

Request Information

URI Parameters

None.

Body Parameters

Rate
NameDescriptionTypeAdditional information
DealerId

string

None.

RatingTypeId

integer

None.

Rating

integer

None.

Comments

string

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DealerId": "sample string 1",
  "RatingTypeId": 2,
  "Rating": 3,
  "Comments": "sample string 4",
  "Name": "sample string 5"
}

application/xml, text/xml

Sample:
<Rate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerLoungeREST.Models">
  <Comments>sample string 4</Comments>
  <DealerId>sample string 1</DealerId>
  <Name>sample string 5</Name>
  <Rating>3</Rating>
  <RatingTypeId>2</RatingTypeId>
</Rate>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.