POST api/CompanyDayWork/DeleteWorkLog
删除工作日志
Request Information
URI Parameters
None.
Body Parameters
只传Id
DAL.t_company_day_work| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CompanyId | integer |
None. |
|
| BeginTime | date |
None. |
|
| EndTime | date |
None. |
|
| UserId | integer |
None. |
|
| WorkContent | string |
None. |
|
| WorkResult | string |
None. |
|
| UserName | string |
None. |
|
| DepartmentId | integer |
None. |
|
| PostId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CompanyId": 2,
"BeginTime": "2026-06-09T21:12:56.1048104+08:00",
"EndTime": "2026-06-09T21:12:56.1048104+08:00",
"UserId": 3,
"WorkContent": "sample string 4",
"WorkResult": "sample string 5",
"UserName": "sample string 6",
"DepartmentId": 1,
"PostId": 1
}
application/xml, text/xml
Sample:
<t_company_day_work xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL"> <BeginTime>2026-06-09T21:12:56.1048104+08:00</BeginTime> <CompanyId>2</CompanyId> <DepartmentId>1</DepartmentId> <EndTime>2026-06-09T21:12:56.1048104+08:00</EndTime> <Id>1</Id> <PostId>1</PostId> <UserId>3</UserId> <UserName>sample string 6</UserName> <WorkContent>sample string 4</WorkContent> <WorkResult>sample string 5</WorkResult> </t_company_day_work>
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.