Skip to content

Provider member box

GET v1/ad/providerMember/box

Request

namenecessarytypedefaultdescribeui
provider_idtruestring-机构id(provider id)
usernamefalsestring-账户(username)
statusfalseint-状态:0禁用,1正常,2未加入(status:0disabled,1normal,2not joined)

Response data struct

namenecessarytypedefaultdescribeui
codetrueint-错误码(error code)
messagetruestring-错误信息(error message)
causetruestring-错误原因(error cause)
detailstrueobject-详情(details)
-admin_idtrueint-管理员id(admin id)
-provider_owner_idtrueint-机构所有者id(provider owner id)
-avatartruestring-头像(avatar)
-first_nametruestring-名(first name)
-last_nametruestring-姓(last name)
-full_nametruestring-全名(full name)成员
-emailtruestring-邮箱(email)邮箱
-npitruestring-执照编号(License Number)
-phonetruestring-电话号码(phone)
-area_codetruestring-国际区号(area code)
-sextruestring-性别:1男,2女(sex:1 man,2 woman)
-roletruestring-角色:1机构提供者,2机构管理员,3医生(role:1provider owner,2provider admin,3doctor)角色
-statustruestring-状态:0禁用,1正常,2未激活(status: 0 disabled, 1 normal,2inactivated)状态
-descriptiontruestring-描述(description)
-last_active_timetruestring-最后活跃时间(last active time)
-registered_attruestring-注册时间(registration time)
-created_attruestring-创建时间(creation time)
-updated_attruestring-更新时间(update time)

Example

  • Query Params:
keyvalue
provider_idxxxxxx
status1
  • Header:
keyvalue
x-api-keyyour's key value
  • Response body:
json
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": [
        {
            "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-12-05T10:38:04+08:00",
            "registered_at": null,
            "created_at": "2022-09-05T10:18:46+08:00",
            "updated_at": "2022-12-05T10:38:04+08:00"
        }
    ]
}
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": [
        {
            "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-12-05T10:38:04+08:00",
            "registered_at": null,
            "created_at": "2022-09-05T10:18:46+08:00",
            "updated_at": "2022-12-05T10:38:04+08:00"
        }
    ]
}