Skip to main content
PUT
/
api
/
Automation
/
{id}
Update Automation.
curl --request PUT \
  --url https://api.example.com/api/Automation/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 123,
  "name": "<string>",
  "triggerID": 1,
  "triggerName": "<string>",
  "eventID": 1,
  "eventName": "<string>",
  "statusID": 1,
  "statusName": "<string>",
  "filtersJSON": "<string>",
  "actionsJSON": "<string>",
  "scheduleMetaDataJSON": "<string>",
  "nextRunDateUtc": "2023-11-07T05:31:56Z",
  "lastRunDateUtc": "2023-11-07T05:31:56Z",
  "excludeRecordsProcessedInDays": 123,
  "moduleId": 123,
  "maxNumberOfRecordsToExecute": 123,
  "orderByJSON": "<string>",
  "actionDetails": "<string>",
  "module": "<string>",
  "excludedDateGroupID": 123,
  "excludedDateGroupName": "<string>"
}
'
{
  "id": 123,
  "name": "<string>",
  "triggerID": 1,
  "triggerName": "<string>",
  "eventID": 1,
  "eventName": "<string>",
  "statusID": 1,
  "statusName": "<string>",
  "filtersJSON": "<string>",
  "actionsJSON": "<string>",
  "scheduleMetaDataJSON": "<string>",
  "nextRunDateUtc": "2023-11-07T05:31:56Z",
  "lastRunDateUtc": "2023-11-07T05:31:56Z",
  "excludeRecordsProcessedInDays": 123,
  "moduleId": 123,
  "maxNumberOfRecordsToExecute": 123,
  "orderByJSON": "<string>",
  "actionDetails": "<string>",
  "module": "<string>",
  "excludedDateGroupID": 123,
  "excludedDateGroupName": "<string>"
}

Path Parameters

id
integer<int32>
required

Query Parameters

runNow
boolean
default:false

Body

application/json
id
integer<int32>
name
string | null
triggerID
enum<integer>
Available options:
1,
2
triggerName
string | null
eventID
enum<integer>
Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69
eventName
string | null
statusID
enum<integer>
Available options:
1,
2
statusName
string | null
filtersJSON
string | null
actionsJSON
string | null
scheduleMetaDataJSON
string | null
nextRunDateUtc
string<date-time> | null
lastRunDateUtc
string<date-time> | null
excludeRecordsProcessedInDays
integer<int32> | null
moduleId
integer<int32> | null
maxNumberOfRecordsToExecute
integer<int32> | null
orderByJSON
string | null
actionDetails
string | null
module
string | null
excludedDateGroupID
integer<int32> | null
excludedDateGroupName
string | null

Response

200 - application/json

OK

id
integer<int32>
name
string | null
triggerID
enum<integer>
Available options:
1,
2
triggerName
string | null
eventID
enum<integer>
Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69
eventName
string | null
statusID
enum<integer>
Available options:
1,
2
statusName
string | null
filtersJSON
string | null
actionsJSON
string | null
scheduleMetaDataJSON
string | null
nextRunDateUtc
string<date-time> | null
lastRunDateUtc
string<date-time> | null
excludeRecordsProcessedInDays
integer<int32> | null
moduleId
integer<int32> | null
maxNumberOfRecordsToExecute
integer<int32> | null
orderByJSON
string | null
actionDetails
string | null
module
string | null
excludedDateGroupID
integer<int32> | null
excludedDateGroupName
string | null