URL: http://127.0.0.1:36190/api/organize/getOrgInfo
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 通过兔展企业id获取第三方企业信息,如通过orgId获取uid和orgName等信息
Query-parameters:
Parameter | Type | Required | Description | |
---|---|---|---|---|
opfid | string | true | 开放平台ID | |
nonce | string | true | 6位随机字串不能为空 | |
timestamp | string | true | 签名时间戳 | |
signature | string | true | 签名 | |
orgId | string | true | 第三方企业id |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | string | 状态码 | - |
errorCode | string | 错误状态码 | - |
msg | string | 状态描述 | - |
data | array | 数据 | - |
└─uid | string | 第三方用户id | - |
└─companyId | string | 第三方公司id | - |
└─orgId | string | 兔展企业id | - |
└─orgName | string | 兔展企业名称 |
Response-example:
Curl-example:
curl -X GET -i http://127.0.0.1:36190/api/organize/getOrgInfo?nonce=tr1zr6&signature=gr9u1f&orgId=20&opfid=20×tamp=2022-02-16 14:52:05