Example usage
Below is a sample ArcGIS Online POST request for the schedule resource:
https://org.arcgis.com/sharing/rest/portals/0123456789ABCDEF/collaborations/3e9d1694351a4b5badef66c7599fced5/workspaces/c3c831f1274a4f228ecd87f1953c6f21/schedule?f=pjson
Below is a sample ArcGIS Enterprise POST request for the schedule resource:
https://machine.domain.com/webadaptor/sharing/rest/portals/0123456789ABCDEF/collaborations/3e9d1694351a4b5badef66c7599fced5/workspaces/c3c831f1274a4f228ecd87f1953c6f21/schedule?f=pjson
Description
Collaboration guests can use the schedule resource to return a job schedule for synchronized items in a collaboration workspace. The response is a single JSON object that represents a job schedule.
Request parameters
Parameter | Details |
---|---|
f | The response format. The default format is html. Values: html | json | pjson |
Response properties
Property | Details |
---|---|
interval | A positive integer that represents time (in hours) between each job trigger. The default interval is 24 hours. |
repeatCount | A positive integer or -1 which represents how many times to keep re-triggering this job after which it will be automatically deleted. The default is -1 which means repeat indefinitely. |
timesTriggered | Count of times the job schedule has been triggered. |
startTime | A job's scheduled start time. The startTime is in Unix time in milliseconds. The default is the current time of the request call. |
nextFireTime | The next scheduled fire time for a job. The nextFireTime is in Unix time in milliseconds. |
state | Specifies the current condition of the job and includes the following returned values:
|
JSON Response example
{
"interval": 24,
"repeatCount": -1,
"timesTriggered": 1,
"startTime": 1525218023938,
"nextFireTime": 1525304423938,
"state": "NORMAL"
}