POST User/FamilyDetailsByFIdForDoctor
获取家庭成员医生使用
Request Information
URI Parameters
None.
Body Parameters
医生所选的账户ID
FamilyForDoctorPars| Name | Description | Type | Additional information |
|---|---|---|---|
| family_id |
账户ID |
integer |
None. |
| doctor_id |
医生ID |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "200",
"data": {
"family_id": 1,
"doctor_id": 2
},
"msg": null
}
application/xml, text/xml
Sample:
<FamilyForDoctorPars xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HL.Basis.Web.Models.Parameter"> <doctor_id>2</doctor_id> <family_id>1</family_id> </FamilyForDoctorPars>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
获取家庭成员医生使用
Collection of FamilyDatasResult| Name | Description | Type | Additional information |
|---|---|---|---|
| fdid |
家庭成员id |
integer |
None. |
| name |
昵称 |
string |
None. |
| birthday |
生日 |
string |
None. |
| sex |
性别 |
integer |
None. |
| headimg |
头像url |
string |
None. |
| handedness |
惯用手 1.左 2右 |
integer |
None. |
| score |
总分数 |
integer |
None. |
| spend |
总时间 |
integer |
None. |
| runday |
连续天数 |
integer |
None. |
| create_dt |
创建日期 |
date |
None. |
| ward_status |
守护状态 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": "200",
"data": [
{
"fdid": 1,
"name": "sample string 2",
"birthday": "sample string 3",
"sex": 4,
"headimg": "sample string 5",
"handedness": 6,
"score": 7,
"spend": 8,
"runday": 9,
"create_dt": "2025-12-10T11:24:20.8266559+08:00",
"ward_status": 11
},
{
"fdid": 1,
"name": "sample string 2",
"birthday": "sample string 3",
"sex": 4,
"headimg": "sample string 5",
"handedness": 6,
"score": 7,
"spend": 8,
"runday": 9,
"create_dt": "2025-12-10T11:24:20.8266559+08:00",
"ward_status": 11
}
],
"msg": null
}
application/xml, text/xml
Sample:
<ArrayOfFamilyDatasResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HL.Basis.Web.Models.Result">
<FamilyDatasResult>
<birthday>sample string 3</birthday>
<create_dt>2025-12-10T11:24:20.8266559+08:00</create_dt>
<fdid>1</fdid>
<handedness>6</handedness>
<headimg>sample string 5</headimg>
<name>sample string 2</name>
<runday>9</runday>
<score>7</score>
<sex>4</sex>
<spend>8</spend>
<ward_status>11</ward_status>
</FamilyDatasResult>
<FamilyDatasResult>
<birthday>sample string 3</birthday>
<create_dt>2025-12-10T11:24:20.8266559+08:00</create_dt>
<fdid>1</fdid>
<handedness>6</handedness>
<headimg>sample string 5</headimg>
<name>sample string 2</name>
<runday>9</runday>
<score>7</score>
<sex>4</sex>
<spend>8</spend>
<ward_status>11</ward_status>
</FamilyDatasResult>
</ArrayOfFamilyDatasResult>