POST api/ResultList/SaveRate
Request Information
URI Parameters
None.
Body Parameters
T_ResultRate| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| resultId | integer |
None. |
|
| userId | integer |
None. |
|
| userName | string |
None. |
|
| star | integer |
None. |
|
| memo | string |
None. |
|
| AddTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"resultId": 2,
"userId": 3,
"userName": "sample string 4",
"star": 5,
"memo": "sample string 6",
"AddTime": "2025-12-29T23:52:18.9268975+08:00"
}
application/xml, text/xml
Sample:
<T_ResultRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fsh.Core.Models"> <AddTime>2025-12-29T23:52:18.9268975+08:00</AddTime> <Id>1</Id> <memo>sample string 6</memo> <resultId>2</resultId> <star>5</star> <userId>3</userId> <userName>sample string 4</userName> </T_ResultRate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| msg | string |
None. |
|
| count | integer |
None. |
|
| data | Object |
None. |
|
| otherdata | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2",
"count": 1,
"data": {},
"otherdata": {}
}
application/xml, text/xml
Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fsh.Core.Models.Other"> <code>1</code> <count>1</count> <data /> <msg>sample string 2</msg> <otherdata /> </ApiResult>