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后显示数据
ApiOmsLeadersAfterUploadToShowOutput| Name | 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": "f0404ca9-93a2-47fc-ba7b-1da6726887e7",
"Name": "sample string 2",
"Number": 3,
"GroupID": 1
},
{
"Level": 1,
"ID": "f0404ca9-93a2-47fc-ba7b-1da6726887e7",
"Name": "sample string 2",
"Number": 3,
"GroupID": 1
}
],
"ID": "e3e74f4c-9e5f-4578-9b89-bdff3aed71a4",
"StaffID": 2,
"Name": "sample string 3",
"CompanyID": 4,
"IDCard": "sample string 5",
"MobilePhone": "sample string 6",
"CreateTime": "2025-12-16T23:32:55.5269246+08:00",
"UpdateTime": "2025-12-16T23:32:55.5269246+08:00"
},
{
"Duties": [
{
"Level": 1,
"ID": "f0404ca9-93a2-47fc-ba7b-1da6726887e7",
"Name": "sample string 2",
"Number": 3,
"GroupID": 1
},
{
"Level": 1,
"ID": "f0404ca9-93a2-47fc-ba7b-1da6726887e7",
"Name": "sample string 2",
"Number": 3,
"GroupID": 1
}
],
"ID": "e3e74f4c-9e5f-4578-9b89-bdff3aed71a4",
"StaffID": 2,
"Name": "sample string 3",
"CompanyID": 4,
"IDCard": "sample string 5",
"MobilePhone": "sample string 6",
"CreateTime": "2025-12-16T23:32:55.5269246+08:00",
"UpdateTime": "2025-12-16T23:32:55.5269246+08:00"
}
],
"LeadersWrong": [
{
"Duties": [
{
"Level": 1,
"ID": "f0404ca9-93a2-47fc-ba7b-1da6726887e7",
"Name": "sample string 2",
"Number": 3,
"GroupID": 1
},
{
"Level": 1,
"ID": "f0404ca9-93a2-47fc-ba7b-1da6726887e7",
"Name": "sample string 2",
"Number": 3,
"GroupID": 1
}
],
"Info": "sample string 1",
"ID": "009a9fce-5380-47af-897a-fd26a2e262db",
"StaffID": 3,
"Name": "sample string 4",
"CompanyID": 5,
"IDCard": "sample string 6",
"MobilePhone": "sample string 7",
"CreateTime": "2025-12-16T23:32:55.5269246+08:00",
"UpdateTime": "2025-12-16T23:32:55.5269246+08:00"
},
{
"Duties": [
{
"Level": 1,
"ID": "f0404ca9-93a2-47fc-ba7b-1da6726887e7",
"Name": "sample string 2",
"Number": 3,
"GroupID": 1
},
{
"Level": 1,
"ID": "f0404ca9-93a2-47fc-ba7b-1da6726887e7",
"Name": "sample string 2",
"Number": 3,
"GroupID": 1
}
],
"Info": "sample string 1",
"ID": "009a9fce-5380-47af-897a-fd26a2e262db",
"StaffID": 3,
"Name": "sample string 4",
"CompanyID": 5,
"IDCard": "sample string 6",
"MobilePhone": "sample string 7",
"CreateTime": "2025-12-16T23:32:55.5269246+08:00",
"UpdateTime": "2025-12-16T23:32:55.5269246+08:00"
}
],
"CacheKey": "sample string 1"
}