POST Api/Service/GetOperationLogs/{PageNumber}/{PageSize}

操作日志记录检索

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PageNumber

页索引

integer

Required

PageSize

页大小

integer

Required

Body Parameters

检索模型

SpeedPower.Utility.Models.Service.MILogs.SearchOperationLogModel
NameDescriptionTypeAdditional 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": "2024-12-24T03:04:01.6453141+08:00",
  "MaxDateTime": "2024-12-24T03:04:01.6453141+08:00"
}

Response Information

Resource Description

操作日志记录检索

SpeedPower.Utility.Models.Helper.ResultDataGridOfSystem.Collections.Generic.IEnumerableOfSpeedPower.Utility.Models.Service.MILogs.GetOperationLogModel
NameDescriptionTypeAdditional 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": "8730d6c8-8a45-4d9f-9451-2f0efafcfa1b",
      "Time": "2024-12-24T03:04:01.6453141+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": "8730d6c8-8a45-4d9f-9451-2f0efafcfa1b",
      "Time": "2024-12-24T03:04:01.6453141+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"
    }
  ]
}