GET api/Chef/GetChefRating?ChefID={ChefID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ChefID

integer

Required

Body Parameters

None.

Response Information

Resource Description

R_ChefRating
NameDescriptionTypeAdditional information
ChefRating

decimal number

None.

RatingCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "chefRating": 1.0,
  "ratingCount": 2
}

application/xml, text/xml

Sample:
<R_ChefRating xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <ChefRating>1</ChefRating>
  <RatingCount>2</RatingCount>
</R_ChefRating>

multipart/form-data

Sample:
<R_ChefRating xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><ChefRating>1</ChefRating><RatingCount>2</RatingCount></R_ChefRating>