- URL:https://[root]/portals/[portalID]/collaborations/[collaborationID]/workspaces/[workspaceID]/schedule/update(POST only)
- Version Introduced:10.6
Example usage
Below is a sample ArcGIS Online POST request for the update operation:
POST /sharing/rest/portals/0123456789ABCDEF/collaborations/3e9d1694351a4b5badef66c7599fced5/workspaces/c3c831f1274a4f228ecd87f1953c6f21/schedule/update HTTP/1.1
Host: org.arcgis.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
startTime=1615586200&interval=5&repeatCount=-1&f=pjson
Below is a sample ArcGIS Enterprise POST request for the update operation:
POST /webadaptor/sharing/rest/portals/0123456789ABCDEF/collaborations/3e9d1694351a4b5badef66c7599fced5/workspaces/c3c831f1274a4f228ecd87f1953c6f21/schedule/update HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
startTime=1615586200&interval=5&repeatCount=-1&f=pjson
Description
Collaboration guests can use the update operation to update or create a job schedule for synchronized items in a collaboration workspace.
Request parameters
Parameter | Details |
---|---|
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. |
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. |
f | The response format. The default format is html. Values: html | json | pjson |
JSON Response example
{
"success" : true
}