POST api/FlowRequestOvertime/CreateOrEdit_Overtime

创建编辑加班流程申请

Request Information

URI Parameters

None.

Body Parameters

WebApi.ViewModels.FlowRequestOvertimeModel
NameDescriptionTypeAdditional information
RequestId

申请Id

integer

None.

RequestContent

申请内容

string

None.

FileUrl

状态

string

None.

Id

integer

None.

FlowName

string

None.

FlowId

integer

None.

FlowRequestId

integer

None.

StartDate

date

None.

EndDate

date

None.

Length

decimal number

None.

Remark

string

None.

t_flow_request

DAL.t_flow_request

None.

Request Formats

application/json, text/json

Sample:
{
  "RequestId": 1,
  "RequestContent": "sample string 2",
  "FileUrl": "sample string 3",
  "Id": 4,
  "FlowName": "sample string 5",
  "FlowId": 6,
  "FlowRequestId": 7,
  "StartDate": "2026-06-09T21:21:07.3983504+08:00",
  "EndDate": "2026-06-09T21:21:07.3983504+08:00",
  "Length": 10.0,
  "Remark": "sample string 11",
  "t_flow_request": {
    "Id": 1,
    "FlowName": "sample string 2",
    "NickName": "sample string 3",
    "FlowId": 4,
    "UserId": 5,
    "Status": 6,
    "RequestContent": "sample string 7",
    "CurrentStepId": 1,
    "FlowCode": "sample string 8",
    "CurrentStepAlias": "sample string 9",
    "CreateTime": "2026-06-09T21:21:07.3983504+08:00",
    "FileUrl": "sample string 11",
    "MainPostId": 1,
    "MainDepartmentId": 1,
    "MainCompanyId": 1
  }
}

application/xml, text/xml

Sample:
<FlowRequestOvertimeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.ViewModels">
  <EndDate xmlns="http://schemas.datacontract.org/2004/07/DAL">2026-06-09T21:21:07.3983504+08:00</EndDate>
  <FlowId xmlns="http://schemas.datacontract.org/2004/07/DAL">6</FlowId>
  <FlowName xmlns="http://schemas.datacontract.org/2004/07/DAL">sample string 5</FlowName>
  <FlowRequestId xmlns="http://schemas.datacontract.org/2004/07/DAL">7</FlowRequestId>
  <Id xmlns="http://schemas.datacontract.org/2004/07/DAL">4</Id>
  <Length xmlns="http://schemas.datacontract.org/2004/07/DAL">10</Length>
  <Remark xmlns="http://schemas.datacontract.org/2004/07/DAL">sample string 11</Remark>
  <StartDate xmlns="http://schemas.datacontract.org/2004/07/DAL">2026-06-09T21:21:07.3983504+08:00</StartDate>
  <t_flow_request xmlns="http://schemas.datacontract.org/2004/07/DAL">
    <CreateTime>2026-06-09T21:21:07.3983504+08:00</CreateTime>
    <CurrentStepAlias>sample string 9</CurrentStepAlias>
    <CurrentStepId>1</CurrentStepId>
    <FileUrl>sample string 11</FileUrl>
    <FlowCode>sample string 8</FlowCode>
    <FlowId>4</FlowId>
    <FlowName>sample string 2</FlowName>
    <Id>1</Id>
    <MainCompanyId>1</MainCompanyId>
    <MainDepartmentId>1</MainDepartmentId>
    <MainPostId>1</MainPostId>
    <NickName>sample string 3</NickName>
    <RequestContent>sample string 7</RequestContent>
    <Status>6</Status>
    <UserId>5</UserId>
  </t_flow_request>
  <FileUrl>sample string 3</FileUrl>
  <RequestContent>sample string 2</RequestContent>
  <RequestId>1</RequestId>
</FlowRequestOvertimeModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Web.Http.Results.JsonResultOfDAL.HandleResult
NameDescriptionTypeAdditional 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.