POST api/UsersRating
Request Information
URI Parameters
None.
Body Parameters
RatingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| AppStar | decimal number |
None. |
|
| RatingComments | string |
None. |
|
| SerialNumber | string |
None. |
|
| allComments | Dictionary of string [key] and CommentDetail [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"AppStar": 2.0,
"RatingComments": "sample string 3",
"SerialNumber": "sample string 4",
"allComments": {
"sample string 1": {
"AppStar": "sample string 1",
"RatingComments": "sample string 2",
"ServerTime": 3
},
"sample string 2": {
"AppStar": "sample string 1",
"RatingComments": "sample string 2",
"ServerTime": 3
}
}
}
application/xml, text/xml
Sample:
<RatingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FistAPI.Models">
<AppStar>2</AppStar>
<RatingComments>sample string 3</RatingComments>
<SerialNumber>sample string 4</SerialNumber>
<UserId>sample string 1</UserId>
<allComments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringCommentDetailF7cunSpe>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>
<AppStar>sample string 1</AppStar>
<RatingComments>sample string 2</RatingComments>
<ServerTime>3</ServerTime>
</d2p1:Value>
</d2p1:KeyValueOfstringCommentDetailF7cunSpe>
<d2p1:KeyValueOfstringCommentDetailF7cunSpe>
<d2p1:Key>sample string 2</d2p1:Key>
<d2p1:Value>
<AppStar>sample string 1</AppStar>
<RatingComments>sample string 2</RatingComments>
<ServerTime>3</ServerTime>
</d2p1:Value>
</d2p1:KeyValueOfstringCommentDetailF7cunSpe>
</allComments>
</RatingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.