GET apiCompany/ContactBookStaffList?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],Type=[通讯录类型,int,4为精准帮扶,2为企业通讯录]] |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取企业通讯录列表
APIContactBookReturnStaffAndCompanyList| Name | Description | Type | Additional information |
|---|---|---|---|
| ParentItems |
父级公司列表 |
Collection of APIContactBookReturnModel |
None. |
| StaffList |
子公司列表 |
Collection of APIContactBookStaffReturnModel |
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
}
],
"StaffList": [
{
"ID": 1,
"StaffID": 2,
"CompanyID": 3,
"CompanyName": "sample string 4",
"StaffName": "sample string 5",
"StaffImg": "sample string 6",
"StaffMobile": "sample string 7",
"DepartmentID": 8,
"DepartmentName": "sample string 9",
"LeaderModel": true,
"PosistionID": 11,
"PosistionName": "sample string 12"
},
{
"ID": 1,
"StaffID": 2,
"CompanyID": 3,
"CompanyName": "sample string 4",
"StaffName": "sample string 5",
"StaffImg": "sample string 6",
"StaffMobile": "sample string 7",
"DepartmentID": 8,
"DepartmentName": "sample string 9",
"LeaderModel": true,
"PosistionID": 11,
"PosistionName": "sample string 12"
}
]
}