automations
Update an automation
Changed onUpdates the full definition of an automation. The requesting user must be the owner of the automation and either be assigned the AutomationCreator role or have at least one of the following scopes: automations, admin.automations, automations.private or automations.shared.
put/api/v1/automations/{id}
Request
- Base URLhttps://your-tenant.us.qlikcloud.com
- URLhttps://your-tenant.us.qlikcloud.com/api/v1/automations/{id}
- Authnone declared
Path parameters
idstring required
Example:00000000-0000-0000-0000-000000000000
The unique identifier for the automation.
Request body
Example request
{
"schedules": [
{
"stopAt": "2022-12-01 00:00:00",
"startAt": "2022-01-01 00:00:00",
"interval": 60,
"timezone": "Europe/Stockholm",
"recurrence": "RRULE:FREQ=DAILY;INTERVAL=1;BYHOUR=9;BYMINUTE=0;BYSECOND=0"
}
],
"maxConcurrentRuns": 10
}Response
OK Response
Example response
{
"id": "e0e720d0-4947-11ec-a1d2-9559fa35801d",
"state": "available",
"lastRun": {
"id": "d452d100-9b0b-11ec-b199-8323e1031c3e",
"metrics": {
"blocks": [
{
"type": "endpointBlock",
"rxBytes": 18329921,
"txBytes": 18329921,
"apiCalls": 40
}
]
},
"stopTime": "2021-12-23T12:28:21.000000Z",
"createdAt": "2021-12-23T12:28:21.000000Z",
"startTime": "2021-12-23T12:28:21.000000Z",
"updatedAt": "2021-12-23T12:28:21.000000Z",
"scheduledStartTime": "2021-12-23T12:28:21.000000Z"
},
"ownerId": "sWYAHxZxhtcmBT7Ptc5xJ5I6N7HxwnEy",
"runMode": "triggered",
"spaceId": "5f0f78b239ff4f0001234567",
"createdAt": "2021-12-23T12:28:21.000000Z",
"lastRunAt": "2021-12-23T12:28:21.000000Z",
"schedules": [
{
"id": "d452d100-9b0b-11ec-b199-8323e1031c3e",
"stopAt": "2022-12-01 00:00:00",
"startAt": "2021-12-01 00:00:00",
"interval": 60,
"timezone": "Europe/Stockholm",
"nextRunAt": "2021-12-01 00:00:00",
"recurrence": "RRULE:FREQ=DAILY;INTERVAL=1;BYHOUR=9;BYMINUTE=0;BYSECOND=0",
"lastStartedAt": "2022-01-01T12:28:21.000000Z"
}
],
"updatedAt": "2021-12-23T12:28:21.000000Z",
"snippetIds": [
"e0e720d0-4947-11ec-a1d2-9559fa35801d"
],
"endpointIds": [
"9d94bef0-b28c-11eb-8dba-01593c457362",
"53a6fb70-b28f-11eb-b601-b545a40867e0"
],
"connectorIds": [
"0d87808f-27c0-11ea-921c-022e6b5ea1e2",
"0d86ee8a-27c0-11ea-921c-022e6b5ea1e2"
],
"lastRunStatus": "finished",
"executionToken": "aZXuEogT9X3le0k0WXMBnzuYKq4xRlkDnurjs8NVhEAAW1BYx8C1PpIl3ielgRb1",
"maxConcurrentRuns": 10
}Changes
- info
the request property
//became nullable - info
the request property
//became nullable
- info
- info
added the new optional request property
// - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info