POST Score/saveScoreOffLine
保存离线分数(存入家庭信息)
Request Information
URI Parameters
None.
Body Parameters
ScoreDetailPars| Name | Description | Type | Additional information |
|---|---|---|---|
| fdid |
成员ID |
integer |
None. |
| dt |
日期(例如2016-01-01) |
string |
None. |
| morn |
早/晚(0/1) |
integer |
None. |
| score |
当天分数 |
Collection of decimal number |
None. |
| scoreDetail |
当天各分面分数 |
Collection of Collection of decimal number |
None. |
| isFrist |
判断是否是第一次刷牙 "":判断不出来 "0"是第一次刷牙 "1"不是第一次刷牙 |
string |
None. |
| icon_type |
资源类型 |
integer |
None. |
| icon_enter |
资源ID |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "200",
"data": {
"fdid": 1,
"dt": "sample string 2",
"morn": 3,
"score": [
1.1,
2.1
],
"scoreDetail": [
[
1.1,
2.1
],
[
1.1,
2.1
]
],
"isFrist": "sample string 4",
"icon_type": 5,
"icon_enter": 6
},
"msg": null
}
application/xml, text/xml
Sample:
<ScoreDetailPars xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HL.Basis.Web.Models.Parameter">
<dt>sample string 2</dt>
<fdid>1</fdid>
<icon_enter>6</icon_enter>
<icon_type>5</icon_type>
<isFrist>sample string 4</isFrist>
<morn>3</morn>
<score xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:double>1.1</d2p1:double>
<d2p1:double>2.1</d2p1:double>
</score>
<scoreDetail xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:ArrayOfdouble>
<d2p1:double>1.1</d2p1:double>
<d2p1:double>2.1</d2p1:double>
</d2p1:ArrayOfdouble>
<d2p1:ArrayOfdouble>
<d2p1:double>1.1</d2p1:double>
<d2p1:double>2.1</d2p1:double>
</d2p1:ArrayOfdouble>
</scoreDetail>
</ScoreDetailPars>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存离线分数(存入家庭信息)
booleanResponse Formats
application/json, text/json
Sample:
{
"code": "200",
"data": true,
"msg": null
}
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>