POST api/saveworkFlowTemplate
Request Information
URI Parameters
None.
Body Parameters
SaveWorkFlowRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| workFlowId | integer |
Required |
|
| workFlowName | string |
Required |
|
| workFlowType | string |
Required |
|
| workFlowJson | string |
Required |
|
| sDate | date |
Required |
|
| eDate | date |
None. |
|
| IsActive | string |
Required Max length: 1 |
|
| Ready | string |
Required Max length: 1 |
|
| CreateBy | string |
None. |
|
| UpdateBy | string |
None. |
|
| CreateDate | date |
None. |
|
| UpdateDate | date |
None. |
|
| isEdit | boolean |
None. |
|
| isChange | boolean |
None. |
|
| workFlowSubType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"workFlowId": 1,
"workFlowName": "sample string 2",
"workFlowType": "sample string 3",
"workFlowJson": "sample string 4",
"sDate": "2026-01-13T18:19:44.9315586+07:00",
"eDate": "2026-01-13T18:19:44.9315586+07:00",
"isActive": "sample string 6",
"ready": "sample string 7",
"createBy": "sample string 8",
"updateBy": "sample string 9",
"createDate": "2026-01-13T18:19:44.9315586+07:00",
"updateDate": "2026-01-13T18:19:44.9315586+07:00",
"isEdit": true,
"isChange": true,
"workFlowSubType": "sample string 12"
}
application/xml, text/xml
Sample:
<SaveWorkFlowRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VentilatorAPI.HTTP.Request"> <CreateBy>sample string 8</CreateBy> <CreateDate>2026-01-13T18:19:44.9315586+07:00</CreateDate> <IsActive>sample string 6</IsActive> <Ready>sample string 7</Ready> <UpdateBy>sample string 9</UpdateBy> <UpdateDate>2026-01-13T18:19:44.9315586+07:00</UpdateDate> <eDate>2026-01-13T18:19:44.9315586+07:00</eDate> <isChange>true</isChange> <isEdit>true</isEdit> <sDate>2026-01-13T18:19:44.9315586+07:00</sDate> <workFlowId>1</workFlowId> <workFlowJson>sample string 4</workFlowJson> <workFlowName>sample string 2</workFlowName> <workFlowSubType>sample string 12</workFlowSubType> <workFlowType>sample string 3</workFlowType> </SaveWorkFlowRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.