API /odata/ProcessSchedules

orchestrator
api
schedule

#1

Trying to schedule a process with sending http request to /odata/ProcessSchedules
{
“Enabled”: true,
“Name”: “123123”,
“ReleaseKey”: “2******************************3”,
“StartProcessCron”: “0 20 19 9 7 ? 2020”,
“StartStrategy”: 0,
“ExecutorRobots”: [
{
“Id”: 28269
}
]
}

Response body:
{
“message”: “The job’s associated process could not be found”,
“errorCode”: 1002,
“resourceIds”: null
}
Swagger example value has a lot of optinal parametres, but I am not sure which are really not mandatory?
Any ideas?


#2

{
“Enabled”: true,
“Name”: “name”,
“ReleaseId”: 1111111,
“StartProcessCron”: “0 40 22 9 7 ? 2021”,
“StartProcessCronDetails”: “{“advancedCronExpression”:“0 40 22 9 7 ? 2021”}”,
“StartStrategy”: 0,
“ExecutorRobots”: [
{
“Id”: 00000
}
],
“TimeZoneId”: “FLE Standard Time”,
“TimeZoneIana”: “Europe/Kiev”
}

1111111 from getrelease
00000 from getrobots id