Skip to content

Provider owner detail

GET v1/ad/providerOwner

Request

namenecessarytypedefaultdescribe

Response data struct

namenecessarytypedefaultdescribe
codetrueint-错误码(error code)
messagetruestring-错误信息(error message)
causetruestring-错误原因(error cause)
detailstrueobject-详情(details)
-provider_owner_idtrueint-机构所有者id(provider owner id)
-company_nametruestring-公司名称(company name)
-expiration_timetruestring-到期时间(expiration time)
-company_descriptiontruestring-公司介绍(company description)
-provider_numtrueint-机构数量(provider number)
-provider_member_numtrueint-机构成员人数(provider member number)
-user_numtrueint-患者人数(patient nunber)
-statustrueint-状态:0禁用,1正常,2未激活(status: 0 disabled, 1 normal,2inactivated)
-created_attruestring-创建时间(creation time)
-updated_attruestring-更新时间(update time)
---package_statustrueint-套餐状态:1正常,2即将到期,3已过期(package status: 1 is normal, 2 is about to expire, 3 has expired)
-provider_membertrueobject机构成员(provider member)
--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)
--sextrueint-性别:1男,2女(sex:1 man,2 woman)',
--roletrueint-角色:1机构提供者,2机构管理员,3医生(role:1provider owner,2provider admin,3doctor)
--statustrueint-状态: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
-provider_owner_addresstrueobject-机构所有者-地址(provider owner-address)
--idtrueint-id(id)
--provider_owner_idtrueint-机构所有者id(provider owner id)
--countrytruestring-国家(country)
--addresstruestring-地址(address)
--room_numbertruestring-房间号(room number)
--statetruestring-州(state)
--citytruestring-城市(city)
--post_codetruestring-邮政编号(post code)
--created_attruestring-创建时间(creation time)
--updated_attruestring-更新时间(update time)
-provider_owner_brandtrueobject-机构所有者-品牌(provider owner-brand)
--idtrueint-id(id)
--provider_owner_idtrueint-机构所有者id(provider owner id)
--brand_nametruestring-品牌名字(brand name)
--brand_logotruestring-品牌logo(brand logo)
--website_urltruestring-网站地址(website URL)
--facebook_urltruestring-Facebook地址(Facebook URL)
--twitter_urltruestring-Twitter地址(Twitter URL)
--linkedin_urltruestring-Linkedin地址(Linkedin URL)
--created_attruestring-创建时间(creation time)
--updated_attruestring-更新时间(update time)

Example

  • Header:
keyvalue
x-api-keyyour's key value
  • Response body:
json
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {
        "provider_owner_id": 2,
        "company_name": "company name",
        "expiration_time": "2023-04-21 17:15:58",
        "company_description": "xxx",
        "provider_num": 1,
        "provider_member_num": 1,
        "user_num": 0,
        "status": 1,
        "created_at": "2023-02-13T17:15:22+08:00",
        "updated_at": "2023-02-16T14:55:39+08:00",
        "package_status": 1,
        "provider_member": {
            "admin_id": 2,
            "provider_owner_id": 2,
            "avatar": "",
            "first_name": "test",
            "last_name": "wu",
            "full_name": "test wu",
            "email": "user@email.com",
            "npi": "8",
            "phone": "",
            "area_code": "",
            "sex": 0,
            "role": 1,
            "status": 1,
            "description": "",
            "last_active_time": "2023-02-22T14:51:23+08:00",
            "registered_at": "2023-02-13T17:15:58+08:00",
            "created_at": "2023-02-13T17:15:22+08:00",
            "updated_at": "2023-02-22T14:51:25+08:00"
        },
        "provider_owner_address": {
            "id": 1,
            "provider_owner_id": 2,
            "country": "",
            "address": "",
            "address_second": "",
            "room_number": "101",
            "state": "",
            "city": "",
            "post_code": "",
            "created_at": "2023-02-13T17:15:24+08:00",
            "updated_at": "2023-02-15T10:42:44+08:00"
        },
        "provider_owner_brand": {
            "id": 2,
            "provider_owner_id": 2,
            "brand_name": "",
            "brand_logo": "http://logo.com/1.jpg",
            "website_url": "http://1.com",
            "facebook_url": "http://2.com",
            "twitter_url": "http://3.com",
            "linkedin_url": "http://4.com",
            "created_at": "2023-02-13T17:15:23+08:00",
            "updated_at": "2023-02-15T10:42:46+08:00"
        }
    }
}
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {
        "provider_owner_id": 2,
        "company_name": "company name",
        "expiration_time": "2023-04-21 17:15:58",
        "company_description": "xxx",
        "provider_num": 1,
        "provider_member_num": 1,
        "user_num": 0,
        "status": 1,
        "created_at": "2023-02-13T17:15:22+08:00",
        "updated_at": "2023-02-16T14:55:39+08:00",
        "package_status": 1,
        "provider_member": {
            "admin_id": 2,
            "provider_owner_id": 2,
            "avatar": "",
            "first_name": "test",
            "last_name": "wu",
            "full_name": "test wu",
            "email": "user@email.com",
            "npi": "8",
            "phone": "",
            "area_code": "",
            "sex": 0,
            "role": 1,
            "status": 1,
            "description": "",
            "last_active_time": "2023-02-22T14:51:23+08:00",
            "registered_at": "2023-02-13T17:15:58+08:00",
            "created_at": "2023-02-13T17:15:22+08:00",
            "updated_at": "2023-02-22T14:51:25+08:00"
        },
        "provider_owner_address": {
            "id": 1,
            "provider_owner_id": 2,
            "country": "",
            "address": "",
            "address_second": "",
            "room_number": "101",
            "state": "",
            "city": "",
            "post_code": "",
            "created_at": "2023-02-13T17:15:24+08:00",
            "updated_at": "2023-02-15T10:42:44+08:00"
        },
        "provider_owner_brand": {
            "id": 2,
            "provider_owner_id": 2,
            "brand_name": "",
            "brand_logo": "http://logo.com/1.jpg",
            "website_url": "http://1.com",
            "facebook_url": "http://2.com",
            "twitter_url": "http://3.com",
            "linkedin_url": "http://4.com",
            "created_at": "2023-02-13T17:15:23+08:00",
            "updated_at": "2023-02-15T10:42:46+08:00"
        }
    }
}