Appearance
provider admin setting notification update
PATCH
v1/ad/admin/provider/setting/notification
Request
name | necessary | type | default | describe |
---|---|---|---|---|
system_notification | false | int | - | 系统通知:0都不,1web,2web和邮件(system notification:0 neither, 1web, 2web and mail) |
patient_assigned | false | int | - | 患者分配:0都不,1web,2web和邮件(patient assigned:0 neither, 1web, 2web and mail) |
new_patient_join | false | int | - | 新患者加入:0都不,1web,2web和邮件(new_patient join:0 neither, 1web, 2web and mail) |
patient_completed | false | int | - | 患者睡眠达标:0都不,1web,2web和邮件(patient completed:0 neither, 1web, 2web and mail) |
patient_alert | false | int | - | 患者预警:0都不,1web,2web和邮件(patient alert:0 neither, 1web, 2web and mail) |
private_messages | false | int | - | 个人信息:0都不,1web,2web和邮件(private messages:0 neither, 1web, 2web and mail) |
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 | object | - | 详情(details) |
Example
- Body of raw:
json
{
"system_notification": 0,
"patient_assigned": 0,
"new_patient_join": 0,
"patient_completed": 0,
"patient_alert": 0,
"private_messages": 0
}
{
"system_notification": 0,
"patient_assigned": 0,
"new_patient_join": 0,
"patient_completed": 0,
"patient_alert": 0,
"private_messages": 0
}
- Header:
key | value |
---|---|
x-api-key | your's key value |
- Response body:
json
{
"code": 0,
"message": "Success",
"cause": "",
"details": {}
}
{
"code": 0,
"message": "Success",
"cause": "",
"details": {}
}