POST api/OperationLog/SearchLogPageList
Request Information
URI Parameters
None.
Body Parameters
OperationLogSearcher| Name | Description | Type | Additional information |
|---|---|---|---|
| OperationModule | Collection of OperationModule |
None. |
|
| OperationType | Collection of OperationType |
None. |
|
| UserId | Collection of integer |
None. |
|
| ClientIp | string |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
|
| OperationContent | string |
None. |
|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"OperationModule": [
1,
1
],
"OperationType": [
10000,
10000
],
"UserId": [
1,
2
],
"ClientIp": "sample string 1",
"StartTime": "2026-09-02 19:21:30",
"EndTime": "2026-09-02 19:21:30",
"OperationContent": "sample string 2",
"PageIndex": 3,
"PageSize": 4
}
application/xml, text/xml
Sample:
<OperationLogSearcher xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.Log.Dto">
<PageIndex xmlns="http://schemas.datacontract.org/2004/07/MS.Common">3</PageIndex>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/MS.Common">4</PageSize>
<ClientIp>sample string 1</ClientIp>
<EndTime>2026-09-02T19:21:30.5137516+08:00</EndTime>
<OperationContent>sample string 2</OperationContent>
<OperationModule xmlns:d2p1="http://schemas.datacontract.org/2004/07/Willv.Common.Enum">
<d2p1:OperationModule>System</d2p1:OperationModule>
<d2p1:OperationModule>System</d2p1:OperationModule>
</OperationModule>
<OperationType xmlns:d2p1="http://schemas.datacontract.org/2004/07/Willv.Common.Enum">
<d2p1:OperationType>System_Login</d2p1:OperationType>
<d2p1:OperationType>System_Login</d2p1:OperationType>
</OperationType>
<StartTime>2026-09-02T19:21:30.5137516+08:00</StartTime>
<UserId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</UserId>
</OperationLogSearcher>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfPageListModelOfOperationLogDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | PageListModelOfOperationLogDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": {
"Rows": [
{
"Id": 1,
"UserName": "sample string 1",
"UserId": 1,
"OperationModule": "系统",
"OperationType": "登录",
"OperationTime": "2026-09-02 19:21:30",
"OperationContent": "sample string 2",
"ClientIp": "sample string 3"
},
{
"Id": 1,
"UserName": "sample string 1",
"UserId": 1,
"OperationModule": "系统",
"OperationType": "登录",
"OperationTime": "2026-09-02 19:21:30",
"OperationContent": "sample string 2",
"ClientIp": "sample string 3"
}
],
"Total": 1,
"PageIndex": 2,
"PageSize": 3
}
}
application/xml, text/xml
Sample:
<ResponseResultOfPageListModelOfOperationLogDtoAIGE6xYVG0fLBEQf xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Willv.Common">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MS.Common">
<d2p1:PageIndex>2</d2p1:PageIndex>
<d2p1:PageSize>3</d2p1:PageSize>
<d2p1:Rows xmlns:d3p1="http://schemas.datacontract.org/2004/07/MS.Log.Dto">
<d3p1:OperationLogDto>
<d3p1:ClientIp>sample string 3</d3p1:ClientIp>
<d3p1:Id>1</d3p1:Id>
<d3p1:OperationContent>sample string 2</d3p1:OperationContent>
<d3p1:OperationModule>System</d3p1:OperationModule>
<d3p1:OperationTime>2026-09-02T19:21:30.5304294+08:00</d3p1:OperationTime>
<d3p1:OperationType>System_Login</d3p1:OperationType>
<d3p1:UserId>1</d3p1:UserId>
<d3p1:UserName>sample string 1</d3p1:UserName>
</d3p1:OperationLogDto>
<d3p1:OperationLogDto>
<d3p1:ClientIp>sample string 3</d3p1:ClientIp>
<d3p1:Id>1</d3p1:Id>
<d3p1:OperationContent>sample string 2</d3p1:OperationContent>
<d3p1:OperationModule>System</d3p1:OperationModule>
<d3p1:OperationTime>2026-09-02T19:21:30.5304294+08:00</d3p1:OperationTime>
<d3p1:OperationType>System_Login</d3p1:OperationType>
<d3p1:UserId>1</d3p1:UserId>
<d3p1:UserName>sample string 1</d3p1:UserName>
</d3p1:OperationLogDto>
</d2p1:Rows>
<d2p1:Total>1</d2p1:Total>
</Data>
<ErrorCode>sample string 2</ErrorCode>
<ErrorMessage>sample string 3</ErrorMessage>
<Status>true</Status>
</ResponseResultOfPageListModelOfOperationLogDtoAIGE6xYVG0fLBEQf>