Appearance
provider user wear simple info
GET
v1/ad/provider/user/:provider_id/:user_id/wire
Request
name | necessary | type | default | describe |
---|
Response data struct
name | necessary | type | default | describe |
---|---|---|---|---|
code | true | int | - | 错误码(error code) |
message | true | string | - | 错误信息(error message) |
cause | true | string | - | 错误原因(error cause) |
details | true | array | - | 详情(details) |
-date | true | array | - | 日期(date) |
-status | true | int | - | 状态:0无疗程,1未达到佩戴要求,2达到佩戴要求(status: 0 no course of treatment, 1 does not meet the wearing requirements, 2 meets the wearing requirements) |
Example
Url params:
v1/ad/provider/user/20221201092014WSUxccxp/36/wire
Header:
key | value |
---|---|
x-api-key | your's key value |
- Response body:
json
{
"code": 0,
"message": "Success",
"cause": "",
"details": [
{
"date": "2022-09-05",
"status": 1
},
{
"date": "2022-10-18",
"status": 0
},
{
"date": "2022-10-19",
"status": 2
}
]
}
{
"code": 0,
"message": "Success",
"cause": "",
"details": [
{
"date": "2022-09-05",
"status": 1
},
{
"date": "2022-10-18",
"status": 0
},
{
"date": "2022-10-19",
"status": 2
}
]
}