GET apiCompany/ContactBookCopanyList?u={u}&t={t}&d={d}
获取企业通讯录列表
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| u |
用户ID |
integer |
Required |
| t |
[用户ID]|[用户密码,加密]|[requestTime]|[设备标识],加密 |
string |
Required |
| d |
d=[CompanyId=[公司ID,long],cid=[节点ID,long]] |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取企业通讯录列表
APIContactBookReturnCompanyList| Name | Description | Type | Additional information |
|---|---|---|---|
| ParentItems |
父级公司列表 |
Collection of APIContactBookReturnModel |
None. |
| SelfItem |
当前公司信息 |
APIContactBookReturnModel |
None. |
| ChildrenItems |
子公司列表 |
Collection of APIContactBookReturnModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"ParentItems": [
{
"CompanyId": 1,
"CompanyName": "sample string 2",
"Selected": true,
"IsClick": true,
"Level": 5,
"StaffNum": 6,
"CompanyNum": 7
},
{
"CompanyId": 1,
"CompanyName": "sample string 2",
"Selected": true,
"IsClick": true,
"Level": 5,
"StaffNum": 6,
"CompanyNum": 7
}
],
"SelfItem": {
"CompanyId": 1,
"CompanyName": "sample string 2",
"Selected": true,
"IsClick": true,
"Level": 5,
"StaffNum": 6,
"CompanyNum": 7
},
"ChildrenItems": [
{
"CompanyId": 1,
"CompanyName": "sample string 2",
"Selected": true,
"IsClick": true,
"Level": 5,
"StaffNum": 6,
"CompanyNum": 7
},
{
"CompanyId": 1,
"CompanyName": "sample string 2",
"Selected": true,
"IsClick": true,
"Level": 5,
"StaffNum": 6,
"CompanyNum": 7
}
]
}