GET omsapi/Leader/ImportThenShow?u={u}&t={t}&d={d}
导入excel后显示数据
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
u |
用户ID |
integer |
Required |
t |
[用户ID]|[用户密码,加密]|[requestTime]|[设备标识],加密 |
string |
Required |
d |
RelativeUrl=[Excel上传后文件相对路径,string] |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
导入excel后显示数据
ApiOmsLeadersAfterUploadToShowOutputName | Description | Type | Additional information |
---|---|---|---|
LeadersRight | Collection of Right |
None. |
|
LeadersWrong | Collection of Wrong |
None. |
|
CacheKey | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "LeadersRight": [ { "Duties": [ { "Level": 1, "ID": "f74eb05f-67c8-4c40-aafc-b4a37d4dbcef", "Name": "sample string 2", "Number": 3, "GroupID": 1 }, { "Level": 1, "ID": "f74eb05f-67c8-4c40-aafc-b4a37d4dbcef", "Name": "sample string 2", "Number": 3, "GroupID": 1 } ], "ID": "19bd2de7-106e-429a-8c0f-ae25ef11119e", "StaffID": 2, "Name": "sample string 3", "CompanyID": 4, "IDCard": "sample string 5", "MobilePhone": "sample string 6", "CreateTime": "2025-05-13T16:44:23.521431+08:00", "UpdateTime": "2025-05-13T16:44:23.521431+08:00" }, { "Duties": [ { "Level": 1, "ID": "f74eb05f-67c8-4c40-aafc-b4a37d4dbcef", "Name": "sample string 2", "Number": 3, "GroupID": 1 }, { "Level": 1, "ID": "f74eb05f-67c8-4c40-aafc-b4a37d4dbcef", "Name": "sample string 2", "Number": 3, "GroupID": 1 } ], "ID": "19bd2de7-106e-429a-8c0f-ae25ef11119e", "StaffID": 2, "Name": "sample string 3", "CompanyID": 4, "IDCard": "sample string 5", "MobilePhone": "sample string 6", "CreateTime": "2025-05-13T16:44:23.521431+08:00", "UpdateTime": "2025-05-13T16:44:23.521431+08:00" } ], "LeadersWrong": [ { "Duties": [ { "Level": 1, "ID": "f74eb05f-67c8-4c40-aafc-b4a37d4dbcef", "Name": "sample string 2", "Number": 3, "GroupID": 1 }, { "Level": 1, "ID": "f74eb05f-67c8-4c40-aafc-b4a37d4dbcef", "Name": "sample string 2", "Number": 3, "GroupID": 1 } ], "Info": "sample string 1", "ID": "a1be9eab-7dd1-4674-984d-0d888aa9dfa6", "StaffID": 3, "Name": "sample string 4", "CompanyID": 5, "IDCard": "sample string 6", "MobilePhone": "sample string 7", "CreateTime": "2025-05-13T16:44:23.5232872+08:00", "UpdateTime": "2025-05-13T16:44:23.5232872+08:00" }, { "Duties": [ { "Level": 1, "ID": "f74eb05f-67c8-4c40-aafc-b4a37d4dbcef", "Name": "sample string 2", "Number": 3, "GroupID": 1 }, { "Level": 1, "ID": "f74eb05f-67c8-4c40-aafc-b4a37d4dbcef", "Name": "sample string 2", "Number": 3, "GroupID": 1 } ], "Info": "sample string 1", "ID": "a1be9eab-7dd1-4674-984d-0d888aa9dfa6", "StaffID": 3, "Name": "sample string 4", "CompanyID": 5, "IDCard": "sample string 6", "MobilePhone": "sample string 7", "CreateTime": "2025-05-13T16:44:23.5232872+08:00", "UpdateTime": "2025-05-13T16:44:23.5232872+08:00" } ], "CacheKey": "sample string 1" }