Appearance
Provider member list
GET
v1/ad/providerMember/list
Request
name | necessary | type | default | describe |
---|---|---|---|---|
provider_id | true | string | - | 机构id(provider id) |
username | false | string | - | 账号(username) |
status | false | int | - | 状态:0禁用,1正常,2未激活(status: 0 disabled, 1 normal,2inactivated) |
Response data struct
name | necessary | type | default | describe | ui |
---|---|---|---|---|---|
code | true | int | - | 错误码(error code) | |
message | true | string | - | 错误信息(error message) | |
cause | true | string | - | 错误原因(error cause) | |
details | true | object | - | 详情(details) | |
-total_size | true | array | - | 总条数(total size) | |
-list | true | array | - | 用户信息(user info) | |
--id | true | string | - | id(id) | |
--admin_id | true | int | - | 管理员id(admin id) | |
--provider_owner_id | true | int | - | 机构所有者id(provider owner id) | |
--provider_id | true | string | - | 机构id(provider id) | |
--status | true | int | - | 状态:0禁用,1正常,2未加入(status:0disabled,1normal,2not joined) | |
--created_at | true | string | - | 创建时间(creation time) | |
--updated_at | true | string | - | 更新时间(update time) | |
--provider_member | true | object | - | 机构成员(provider member) | |
---admin_id | true | int | - | 管理员id(admin id) | |
---provider_owner_id | true | int | - | 机构所有者id(provider owner id) | |
---avatar | true | string | - | 头像(avatar) | |
---first_name | true | string | - | 名(first name) | |
---last_name | true | string | - | 姓(last name) | |
---full_name | true | string | - | 全名(full name) | 成员 |
true | string | - | 邮箱(email) | 邮箱 | |
---npi | true | string | - | 执照编号(License Number) | |
---phone | true | string | - | 电话号码(phone) | |
---area_code | true | string | - | 国际区号(area code) | |
---sex | true | string | - | 性别:1男,2女(sex:1 man,2 woman) | |
---role | true | string | - | 角色:1机构提供者,2机构管理员,3医生(role:1provider owner,2provider admin,3doctor) | 角色 |
---status | true | string | - | 状态:0禁用,1正常,2未激活(status: 0 disabled, 1 normal,2inactivated) | 状态 |
---description | true | string | - | 描述(description) | |
---last_active_time | true | string | - | 最后活跃时间(last active time) | |
---registered_at | true | string | - | 注册时间(registration time) | |
---created_at | true | string | - | 创建时间(creation time) | |
---updated_at | true | string | - | 更新时间(update time) | |
---final_status | true | object | - | 最终状态:0停用,1正常,2未加入,3全局停用(0 disabled, 1 normal, 2 not joined, 3 globally disabled) |
Example
- Query Params:
key | value |
---|---|
provider_id | 20220101000000 |
status | 1 |
- Header:
key | value |
---|---|
x-api-key | your's key value |
- Response body:
json
{
"code": 0,
"message": "Success",
"cause": "",
"details": {
"list": [
{
"id": 10,
"admin_id": 35,
"provider_owner_id": 1,
"provider_id": "20220101000000",
"status": 1,
"created_at": "2022-12-01T10:00:03+08:00",
"updated_at": "2022-12-01T10:02:28+08:00",
"provider_member": {
"admin_id": 35,
"provider_owner_id": 1,
"avatar": "",
"first_name": "j",
"last_name": "k",
"full_name": "j k",
"email": "xxxx@qq.com",
"npi": "8",
"phone": "",
"area_code": "",
"sex": 0,
"role": 3,
"status": 1,
"description": "",
"last_active_time": null,
"registered_at": "2022-12-01T10:02:21+08:00",
"created_at": "2022-12-01T10:00:02+08:00",
"updated_at": "2022-12-01T10:02:21+08:00"
},
"final_status": 0
},
{
"id": 8,
"admin_id": 31,
"provider_owner_id": 1,
"provider_id": "20220101000000",
"status": 1,
"created_at": "2022-11-30T19:19:26+08:00",
"updated_at": "2022-11-30T19:19:26+08:00",
"provider_member": {
"admin_id": 31,
"provider_owner_id": 1,
"avatar": "",
"first_name": "j",
"last_name": "k",
"full_name": "j k",
"email": "xxxxxx@qq.com",
"npi": "1223433434",
"phone": "",
"area_code": "+86",
"sex": 1,
"role": 3,
"status": 1,
"description": "",
"last_active_time": null,
"registered_at": "2022-11-30T19:19:26+08:00",
"created_at": "2022-11-30T19:18:50+08:00",
"updated_at": "2022-11-30T19:54:32+08:00"
},
"final_status": 0
},
{
"id": 5,
"admin_id": 4,
"provider_owner_id": 1,
"provider_id": "20220101000000",
"status": 1,
"created_at": "2022-11-18T11:09:54+08:00",
"updated_at": "2022-11-18T11:09:57+08:00",
"provider_member": {
"admin_id": 4,
"provider_owner_id": 1,
"avatar": "",
"first_name": "test",
"last_name": "wu",
"full_name": "test wu",
"email": "xxx@163.com",
"npi": "",
"phone": "",
"area_code": "",
"sex": 1,
"role": 3,
"status": 1,
"description": "",
"last_active_time": null,
"registered_at": null,
"created_at": "2022-09-05T10:18:46+08:00",
"updated_at": "2022-09-07T13:50:07+08:00"
},
"final_status": 0
},
{
"id": 1,
"admin_id": 2,
"provider_owner_id": 1,
"provider_id": "20220101000000",
"status": 1,
"created_at": "2022-11-18T11:09:54+08:00",
"updated_at": "2022-11-18T11:09:57+08:00",
"provider_member": {
"admin_id": 2,
"provider_owner_id": 1,
"avatar": "",
"first_name": "test",
"last_name": "wu",
"full_name": "test wu",
"email": "user@email.com",
"npi": "",
"phone": "",
"area_code": "+86",
"sex": 1,
"role": 1,
"status": 1,
"description": "",
"last_active_time": "2022-11-30T16:14:34+08:00",
"registered_at": null,
"created_at": "2022-09-05T10:18:46+08:00",
"updated_at": "2022-11-30T16:14:36+08:00"
},
"final_status": 0
}
],
"total_size": 4
}
}
{
"code": 0,
"message": "Success",
"cause": "",
"details": {
"list": [
{
"id": 10,
"admin_id": 35,
"provider_owner_id": 1,
"provider_id": "20220101000000",
"status": 1,
"created_at": "2022-12-01T10:00:03+08:00",
"updated_at": "2022-12-01T10:02:28+08:00",
"provider_member": {
"admin_id": 35,
"provider_owner_id": 1,
"avatar": "",
"first_name": "j",
"last_name": "k",
"full_name": "j k",
"email": "xxxx@qq.com",
"npi": "8",
"phone": "",
"area_code": "",
"sex": 0,
"role": 3,
"status": 1,
"description": "",
"last_active_time": null,
"registered_at": "2022-12-01T10:02:21+08:00",
"created_at": "2022-12-01T10:00:02+08:00",
"updated_at": "2022-12-01T10:02:21+08:00"
},
"final_status": 0
},
{
"id": 8,
"admin_id": 31,
"provider_owner_id": 1,
"provider_id": "20220101000000",
"status": 1,
"created_at": "2022-11-30T19:19:26+08:00",
"updated_at": "2022-11-30T19:19:26+08:00",
"provider_member": {
"admin_id": 31,
"provider_owner_id": 1,
"avatar": "",
"first_name": "j",
"last_name": "k",
"full_name": "j k",
"email": "xxxxxx@qq.com",
"npi": "1223433434",
"phone": "",
"area_code": "+86",
"sex": 1,
"role": 3,
"status": 1,
"description": "",
"last_active_time": null,
"registered_at": "2022-11-30T19:19:26+08:00",
"created_at": "2022-11-30T19:18:50+08:00",
"updated_at": "2022-11-30T19:54:32+08:00"
},
"final_status": 0
},
{
"id": 5,
"admin_id": 4,
"provider_owner_id": 1,
"provider_id": "20220101000000",
"status": 1,
"created_at": "2022-11-18T11:09:54+08:00",
"updated_at": "2022-11-18T11:09:57+08:00",
"provider_member": {
"admin_id": 4,
"provider_owner_id": 1,
"avatar": "",
"first_name": "test",
"last_name": "wu",
"full_name": "test wu",
"email": "xxx@163.com",
"npi": "",
"phone": "",
"area_code": "",
"sex": 1,
"role": 3,
"status": 1,
"description": "",
"last_active_time": null,
"registered_at": null,
"created_at": "2022-09-05T10:18:46+08:00",
"updated_at": "2022-09-07T13:50:07+08:00"
},
"final_status": 0
},
{
"id": 1,
"admin_id": 2,
"provider_owner_id": 1,
"provider_id": "20220101000000",
"status": 1,
"created_at": "2022-11-18T11:09:54+08:00",
"updated_at": "2022-11-18T11:09:57+08:00",
"provider_member": {
"admin_id": 2,
"provider_owner_id": 1,
"avatar": "",
"first_name": "test",
"last_name": "wu",
"full_name": "test wu",
"email": "user@email.com",
"npi": "",
"phone": "",
"area_code": "+86",
"sex": 1,
"role": 1,
"status": 1,
"description": "",
"last_active_time": "2022-11-30T16:14:34+08:00",
"registered_at": null,
"created_at": "2022-09-05T10:18:46+08:00",
"updated_at": "2022-11-30T16:14:36+08:00"
},
"final_status": 0
}
],
"total_size": 4
}
}