GET omsapi/Search/Companies?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=[PageNumber=[,int?,1],PageSize=[,int?,20],Queries=[查询字段集合,Field]] |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取查询单位列表
DataResultListOfCompanyQuery| Name | Description | Type | Additional information |
|---|---|---|---|
| DataList | Collection of CompanyQuery |
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,
"CardSN": 2,
"CompanyName": "sample string 3",
"Phone": "sample string 4",
"Fax": "sample string 5",
"URL": "sample string 6",
"Introduction": "sample string 7",
"Email": "sample string 8",
"Address": "sample string 9",
"Postcode": "sample string 10",
"EmployeeCount": 11,
"RegiestCount": 12,
"State": 0,
"CreateTime": "2025-12-16T19:50:08.7239036+08:00",
"CreaterId": 13,
"UpdateTime": "2025-12-16T19:50:08.7239036+08:00",
"Remark": "sample string 14",
"VID": 15
},
{
"ID": 1,
"CardSN": 2,
"CompanyName": "sample string 3",
"Phone": "sample string 4",
"Fax": "sample string 5",
"URL": "sample string 6",
"Introduction": "sample string 7",
"Email": "sample string 8",
"Address": "sample string 9",
"Postcode": "sample string 10",
"EmployeeCount": 11,
"RegiestCount": 12,
"State": 0,
"CreateTime": "2025-12-16T19:50:08.7239036+08:00",
"CreaterId": 13,
"UpdateTime": "2025-12-16T19:50:08.7239036+08:00",
"Remark": "sample string 14",
"VID": 15
}
]
}