查询机构信息接口
根据机构ID或者机构名称,查询入驻的机构信息
请求参数 | 类型 | 描述 |
---|---|---|
query | object | 声明请求的查询参数 |
organization_id | string | 机构ID |
organization_name | string | 机构名称 |
php
$instance->v3->offlinefacemch->organizations->getAsync([
'query' => [
'organization_id' => 'DBES323aeb',
'organization_name' => '南山中兴小学部',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/offlinefacemch/organizations')->getAsync([
'query' => [
'organization_id' => 'DBES323aeb',
'organization_name' => '南山中兴小学部',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/offlinefacemch/organizations']->getAsync([
'query' => [
'organization_id' => 'DBES323aeb',
'organization_name' => '南山中兴小学部',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->offlinefacemch->organizations->get([
'query' => [
'organization_id' => 'DBES323aeb',
'organization_name' => '南山中兴小学部',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/offlinefacemch/organizations')->get([
'query' => [
'organization_id' => 'DBES323aeb',
'organization_name' => '南山中兴小学部',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/offlinefacemch/organizations']->get([
'query' => [
'organization_id' => 'DBES323aeb',
'organization_name' => '南山中兴小学部',
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
organization_id | string | 机构ID |
organization_name | string | 机构名称 |
参阅 官方文档