Hello Sir/Madam,
I will like to setup and trigger a job via API (Jason).
I refer to the API document as the hyperlink below.
However, there is some Json Parameter which is not clear to me. I am wondering if anyone could give me guides or tell me how to get the information. Any advice is highly appreciated.
- ReleaseId: (not sure where to get this information)
- ReleaseKey: ( UiPath license key?)
- ExternalJobKey: (not sure how to get the information)
- Id: (not sure how to get the information)
Starting a Schedule with Input Parameters Values
{
"@odata.context": "https://staging.uipath.com/Docs/Docs/odata/$metadata#ProcessSchedules/$entity",
"Enabled": true,
"Name": "ArgumentsTestAPI",
"ReleaseId": 1267,
"ReleaseKey": "00000000-0000-0000-0000-000000000000",
"ReleaseName": null,
"PackageName": null,
"EnvironmentName": null,
"EnvironmentId": null,
"JobPriority": null,
"RuntimeType": null,
"StartProcessCron": "0 0/5 * 1/1 * ? *",
"StartProcessCronDetails": "{\"type\":0,\"minutely\":{\"atMinute\":5},\"hourly\":{},\"daily\":{},\"weekly\":{\"weekdays\":[]},\"monthly\":{\"weekdays\":[]},\"advancedCronExpression\":\"\"}",
"StartProcessCronSummary": null,
"StartProcessNextOccurrence": null,
"StartStrategy": -1,
"StopProcessExpression": "",
"StopStrategy": null,
"ExternalJobKey": "b72b3799-ce22-4eb4-9de3-fd3a568acecc",
"TimeZoneId": "W. Central Africa Standard Time",
"TimeZoneIana": "Africa/Lagos",
"UseCalendar": false,
"CalendarId": null,
"CalendarName": null,
"StopProcessDate": null,
"InputArguments": "{\"Username\":\"AUsername\",\"Password\":\"MyPasswordb\"}",
"QueueDefinitionId": null,
"QueueDefinitionName": null,
"ItemsActivationThreshold": 1,
"ItemsPerJobActivationTarget": 1,
"MaxJobsForActivation": 2,
"Id": 1362
}