POST Api/Service/GetOperationLogs/{PageNumber}/{PageSize}
操作日志记录检索
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PageNumber |
页索引 |
integer |
Required |
| PageSize |
页大小 |
integer |
Required |
Body Parameters
检索模型
SpeedPower.Utility.Models.Service.MILogs.SearchOperationLogModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OperationType |
操作类型 |
SpeedPower.Utility.Models.Service.MILogs.Enums.OperationType |
None. |
| SearchKey |
检索标识 |
string |
String length: inclusive between 0 and 128 |
| Controller |
控制器标识 |
string |
String length: inclusive between 0 and 50 |
| Action |
动作标识 |
string |
String length: inclusive between 0 and 50 |
| Creater |
创建者 |
string |
String length: inclusive between 0 and 128 |
| MinDateTime |
最小查询时间 |
date |
None. |
| MaxDateTime |
最大查询时间 |
date |
None. |
Request Formats
application/json, text/json
Sample:
{
"OperationType": 0,
"SearchKey": "sample string 1",
"Controller": "sample string 2",
"Action": "sample string 3",
"Creater": "sample string 4",
"MinDateTime": "2025-12-13T18:30:24.9208675+08:00",
"MaxDateTime": "2025-12-13T18:30:24.9208675+08:00"
}
Response Information
Resource Description
操作日志记录检索
SpeedPower.Utility.Models.Helper.ResultDataGridOfSystem.Collections.Generic.IEnumerableOfSpeedPower.Utility.Models.Service.MILogs.GetOperationLogModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RowsCount | integer |
None. |
|
| Contents | Collection of SpeedPower.Utility.Models.Service.MILogs.GetOperationLogModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"RowsCount": 1,
"Contents": [
{
"ID": "428138ea-b6a9-4cef-96ff-ef2541aa110a",
"Time": "2025-12-13T18:30:24.9365336+08:00",
"CompanyId": "sample string 3",
"OperationType": 0,
"SearchKey": "sample string 4",
"Controller": "sample string 5",
"Action": "sample string 6",
"Creater": "sample string 7",
"Request_URI": "sample string 8",
"Request": "sample string 9",
"Response": "sample string 10",
"Summary": "sample string 11"
},
{
"ID": "428138ea-b6a9-4cef-96ff-ef2541aa110a",
"Time": "2025-12-13T18:30:24.9365336+08:00",
"CompanyId": "sample string 3",
"OperationType": 0,
"SearchKey": "sample string 4",
"Controller": "sample string 5",
"Action": "sample string 6",
"Creater": "sample string 7",
"Request_URI": "sample string 8",
"Request": "sample string 9",
"Response": "sample string 10",
"Summary": "sample string 11"
}
]
}