获取企业信息
GET
https://open.teambition.com/api/org/info
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open.teambition.com/api/org/info' \
--header 'Authorization: Bearer <appAccessToken>' \
--header 'X-Tenant-Id: 50c32af35a87e6b2...' \
--header 'X-Tenant-Type: organization' \
--header 'Content-Type: application/json' \
--data-raw '{
"orgId": "43"
}'
响应示例响应示例
{
"code": 200,
"errorMessage": "",
"result": {
"orgId": "50c32af35a87e6b2",
"name": "测试企业",
"pinyin": "Che Shi Qi Ye",
"py": "CSQY",
"description": "",
"logo": "http://test.com/photo/orgLogo.jpg",
"created": "2015-08-04",
"isPublic": 0
}
}
请求参数
Header 参数
X-Tenant-Id
string
企业 ID
示例值:
50c32af35a87e6b2...
X-Tenant-Type
string
可选
示例值:
organization
Body 参数application/json
返回响应
修改于 2021-12-22 06:14:53