GET apiCompany/ContactBookGetList?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],StaffName=[员工姓名,string,供搜索使用],Type=[通讯录类型,int,4为精准帮扶]] |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取企业通讯录列表
DataResultListOfEmployeeContactBookName | Description | Type | Additional information |
---|---|---|---|
DataList | Collection of EmployeeContactBook |
None. |
|
PageNum | integer |
None. |
|
PageSize | integer |
None. |
|
PageCount | integer |
None. |
|
PreviousIndex | integer |
None. |
|
NextIndex | integer |
None. |
|
RecordCount | integer |
None. |
|
Error | boolean |
None. |
|
ErrorInfo | Collection of string |
None. |
|
ExInfo | Exception |
None. |
Response Formats
application/json, text/json
Sample:
{ "_pageSize": 2, "_recordCount": 3, "_pageNum": 1, "_error": true, "_errorInfo": [ "sample string 1", "sample string 2" ], "_exInfo": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null }, "_dataList": [ { "ID": 1, "StaffID": 2, "CompanyID": 3, "DepartmentID": 4, "StaffName": "sample string 5", "StaffImg": "sample string 6", "Mobile": "sample string 7", "MobileHide": true, "LeaderModel": true, "CreateTime": "2025-05-13T16:46:11.8424159+08:00", "CreateId": 11, "Type": 0, "Group": "sample string 12", "PosistionID": 13, "RoleType": 0, "Remark": "sample string 14", "RoleId": "dea8feb2-2969-47c0-94c8-e979b3f8e961", "CategoryId": 16 }, { "ID": 1, "StaffID": 2, "CompanyID": 3, "DepartmentID": 4, "StaffName": "sample string 5", "StaffImg": "sample string 6", "Mobile": "sample string 7", "MobileHide": true, "LeaderModel": true, "CreateTime": "2025-05-13T16:46:11.8424159+08:00", "CreateId": 11, "Type": 0, "Group": "sample string 12", "PosistionID": 13, "RoleType": 0, "Remark": "sample string 14", "RoleId": "dea8feb2-2969-47c0-94c8-e979b3f8e961", "CategoryId": 16 } ] }