Appearance
Provider member subjection provider
GET
v1/ad/providerMember/:admin/provider
Request
name | necessary | type | default | describe | ui |
---|
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 | array | - | 详情(details) | |
-id | true | int | - | id(id) | |
-provider_owner_id | true | int | - | 机构所有者id(provider owner id) | |
-provider_id | true | string | - | 机构id(provider id) | |
-logo | true | string | - | logo(logo) | |
-name | true | string | - | 机构名称(provider name) | |
true | string | - | 机构邮箱(provider email) | ||
-area_code | true | string | - | 国际区号(area code) | |
-phone | true | string | - | 手机号码(phone) | |
-country | true | string | - | 国家(country) | |
-post_code | true | string | - | 邮编(post code) | |
-address | true | string | - | 机构地址(address) | |
-description | true | string | - | 描述(description) | |
-status | true | int | - | 状态:0禁用,1正常(status: 0 disabled, 1 normal) | |
-created_at | true | string | - | 创建时间(creation time) | |
-updated_at | true | string | - | 更新时间(update time |
Example
Url params:
v1/ad/providerMember/35/provider
Header:
key | value |
---|---|
x-api-key | your's key value |
- Response body:
json
{
"code": 0,
"message": "Success",
"cause": "",
"details": [
{
"id": 1,
"provider_owner_id": 1,
"provider_id": "20220101000000",
"logo": "",
"name": "xxxx",
"email": "",
"area_code": "",
"phone": "",
"country": "",
"post_code": "",
"address": "",
"description": "",
"status": 1,
"created_at": "2022-11-18T11:09:54+08:00",
"updated_at": "2022-11-18T11:09:57+08:00"
}
]
}
{
"code": 0,
"message": "Success",
"cause": "",
"details": [
{
"id": 1,
"provider_owner_id": 1,
"provider_id": "20220101000000",
"logo": "",
"name": "xxxx",
"email": "",
"area_code": "",
"phone": "",
"country": "",
"post_code": "",
"address": "",
"description": "",
"status": 1,
"created_at": "2022-11-18T11:09:54+08:00",
"updated_at": "2022-11-18T11:09:57+08:00"
}
]
}