PUT api/Workflow/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
WorkflowParam| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkflowName | string |
None. |
|
| IsEnable | boolean |
None. |
|
| TriggerId | integer |
None. |
|
| ActionId | integer |
None. |
|
| UpdateBy | integer |
None. |
|
| UpdateDate | string |
None. |
|
| UpdateTime | string |
None. |
|
| ActionEmail | ActionEmailParam |
None. |
|
| ActionFtp | Collection of ActionFtpParam |
None. |
|
| ActionReminder | Collection of ActionReminderParam |
None. |
|
| ActionTask | ActionTaskParam |
None. |
Request Formats
application/json, text/json
Sample:
{
"WorkflowName": "sample string 1",
"IsEnable": true,
"TriggerId": 3,
"ActionId": 4,
"UpdateBy": 5,
"UpdateDate": "sample string 6",
"UpdateTime": "sample string 7",
"ActionEmail": {
"Id": 1,
"Subject": "sample string 2",
"ToEmail": "sample string 3",
"Cc": "sample string 4",
"Bcc": "sample string 5",
"Content": "sample string 6"
},
"ActionFtp": [
{
"Id": 1,
"FieldId": 2,
"Sequence": 3
},
{
"Id": 1,
"FieldId": 2,
"Sequence": 3
}
],
"ActionReminder": [
{
"Id": 1,
"Period": "sample string 2",
"PeriodLength": 3,
"IsTask": true,
"IsEmail": true
},
{
"Id": 1,
"Period": "sample string 2",
"PeriodLength": 3,
"IsTask": true,
"IsEmail": true
}
],
"ActionTask": {
"Id": 1,
"Title": "sample string 2",
"Period": "sample string 3",
"PeriodLength": 4,
"Priority": 5,
"AssignTo": "sample string 6",
"Description": "sample string 7"
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.