POST api/CheckForRating

Request Information

URI Parameters

None.

Body Parameters

CheckForRatingPost
NameDescriptionTypeAdditional information
RideId

integer

None.

AccountId

integer

None.

CompanyId

integer

None.

UserType

integer

None.

Status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RideId": 1,
  "AccountId": 2,
  "CompanyId": 3,
  "UserType": 4,
  "Status": true
}

application/xml, text/xml

Sample:
<CheckForRatingPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models.Rating.Post">
  <AccountId>2</AccountId>
  <CompanyId>3</CompanyId>
  <RideId>1</RideId>
  <Status>true</Status>
  <UserType>4</UserType>
</CheckForRatingPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CheckForRatingResponse
NameDescriptionTypeAdditional information
IsOk

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "IsOk": true
}

application/xml, text/xml

Sample:
<CheckForRatingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models.Rating.Response">
  <IsOk>true</IsOk>
</CheckForRatingResponse>