Skip to content

provider member detail

GET v1/ad/providerMember/:id

Request

namenecessarytypedefaultdescribeui
provider_idtruestring-机构id(provider id)
admin_idtrueint-管理员id(admin id)

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)
-current_providertrueobject-当前机构(current provider)
--nametruestring-机构名称(provider name)
--user_numtrueint-用户数量(user num)
-providertruearray-机构(provider)
--idtrueint-id(id)
--provider_owner_idtrueint-机构所有者id(provider owner id)
--provider_idtruestring-机构id(provider id)
--logotruestring-logo(logo)
--nametruestring-机构名称(provider name)
--emailtruestring-机构邮箱(provider email)
--area_codetruestring-国际区号(area code)
--phonetruestring-手机号码(phone)
--countrytruestring-国家(country)
--post_codetruestring-邮编(post code)
--addresstruestring-机构地址(address)
--descriptiontruestring-描述(description)
--statustrueint-状态:0禁用,1正常(status: 0 disabled, 1 normal)
--created_attruestring-创建时间(creation time)
--updated_attruestring-更新时间(update time
-provider_member_provider_relationtrueobject-机构成员-机构-关系(provider member-provider-relation)
--idtruestring-id(id)
--admin_idtrueint-管理员id(admin id)
--provider_owner_idtrueint-机构所有者id(provider owner id)
--provider_idtruestring-机构id(provider id)
--statustrueint-状态:0禁用,1正常,2未加入(status:0disabled,1normal,2not joined)
--created_attruestring-创建时间(creation time)
--updated_attruestring-更新时间(update time)

Example

  • Url params: v1/ad/providerMember/20220101000000

  • Header:

keyvalue
x-api-keyyour's key value
  • Response body:
json
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {
        "admin_id": 0,
        "provider_owner_id": 0,
        "avatar": "",
        "first_name": "",
        "last_name": "",
        "full_name": "",
        "email": "",
        "npi": "",
        "phone": "",
        "area_code": "",
        "sex": 0,
        "role": 0,
        "status": 0,
        "description": "",
        "last_active_time": null,
        "registered_at": null,
        "created_at": "0001-01-01T00:00:00Z",
        "updated_at": "0001-01-01T00:00:00Z",
        "current_provider": {
            "name": "",
            "user_num": 0
        },
        "provider": [
            {
                "id": 0,
                "provider_owner_id": 0,
                "provider_id": "",
                "logo": "",
                "name": "",
                "email": "",
                "area_code": "",
                "phone": "",
                "country": "",
                "post_code": "",
                "address": "",
                "description": "",
                "status": 0,
                "created_at": "0001-01-01T00:00:00Z",
                "updated_at": "0001-01-01T00:00:00Z"
            },
            {
                "id": 0,
                "provider_owner_id": 0,
                "provider_id": "",
                "logo": "",
                "name": "",
                "email": "",
                "area_code": "",
                "phone": "",
                "country": "",
                "post_code": "",
                "address": "",
                "description": "",
                "status": 0,
                "created_at": "0001-01-01T00:00:00Z",
                "updated_at": "0001-01-01T00:00:00Z"
            }
        ],
        "provider_member_provider_relation": {
            "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-12-08T05:54:56+08:00"
        }
    }
}
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {
        "admin_id": 0,
        "provider_owner_id": 0,
        "avatar": "",
        "first_name": "",
        "last_name": "",
        "full_name": "",
        "email": "",
        "npi": "",
        "phone": "",
        "area_code": "",
        "sex": 0,
        "role": 0,
        "status": 0,
        "description": "",
        "last_active_time": null,
        "registered_at": null,
        "created_at": "0001-01-01T00:00:00Z",
        "updated_at": "0001-01-01T00:00:00Z",
        "current_provider": {
            "name": "",
            "user_num": 0
        },
        "provider": [
            {
                "id": 0,
                "provider_owner_id": 0,
                "provider_id": "",
                "logo": "",
                "name": "",
                "email": "",
                "area_code": "",
                "phone": "",
                "country": "",
                "post_code": "",
                "address": "",
                "description": "",
                "status": 0,
                "created_at": "0001-01-01T00:00:00Z",
                "updated_at": "0001-01-01T00:00:00Z"
            },
            {
                "id": 0,
                "provider_owner_id": 0,
                "provider_id": "",
                "logo": "",
                "name": "",
                "email": "",
                "area_code": "",
                "phone": "",
                "country": "",
                "post_code": "",
                "address": "",
                "description": "",
                "status": 0,
                "created_at": "0001-01-01T00:00:00Z",
                "updated_at": "0001-01-01T00:00:00Z"
            }
        ],
        "provider_member_provider_relation": {
            "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-12-08T05:54:56+08:00"
        }
    }
}