Skip to content

provider user wear simple info

GET v1/ad/provider/user/:provider_id/:user_id/wire

Request

namenecessarytypedefaultdescribe

Response data struct

namenecessarytypedefaultdescribe
codetrueint-错误码(error code)
messagetruestring-错误信息(error message)
causetruestring-错误原因(error cause)
detailstruearray-详情(details)
-datetruearray-日期(date)
-statustrueint-状态: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:

keyvalue
x-api-keyyour'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
        }
    ]
}