POST api/CompanyDayWork/QueryByUserId
查询工作日志列表By员工IdAnd时间
Request Information
URI Parameters
None.
Body Parameters
WebApi.ViewModels.WorkLogQueryByUserModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
|
| Value | string |
None. |
|
| StartIndex |
获取起始记录 从0开始 |
integer |
None. |
| Page |
起始页码 从1开始 |
integer |
None. |
| Rows |
每页记录数,默认10 |
integer |
None. |
| Order |
排序方式,默认升序(asc) |
string |
None. |
| sort |
用来排序的字段 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"StartTime": "2026-06-09T21:12:02.3262645+08:00",
"EndTime": "2026-06-09T21:12:02.3262645+08:00",
"Value": "sample string 4",
"StartIndex": 24,
"Page": 5,
"Rows": 6,
"Order": "sample string 7",
"sort": "sample string 8"
}
application/xml, text/xml
Sample:
<WorkLogQueryByUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.ViewModels"> <Order xmlns="http://schemas.datacontract.org/2004/07/DAL">sample string 7</Order> <Page xmlns="http://schemas.datacontract.org/2004/07/DAL">5</Page> <Rows xmlns="http://schemas.datacontract.org/2004/07/DAL">6</Rows> <sort xmlns="http://schemas.datacontract.org/2004/07/DAL">sample string 8</sort> <Value xmlns="http://schemas.datacontract.org/2004/07/DAL">sample string 4</Value> <EndTime>2026-06-09T21:12:02.3262645+08:00</EndTime> <StartTime>2026-06-09T21:12:02.3262645+08:00</StartTime> <UserId>1</UserId> </WorkLogQueryByUserModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Web.Http.Results.JsonResultOfDAL.HandleResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | DAL.HandleResult |
None. |
|
| SerializerSettings | Newtonsoft.Json.JsonSerializerSettings |
None. |
|
| Encoding | System.Text.Encoding |
None. |
|
| Request | System.Net.Http.HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.