/[workspaceID]/schedule/update: Update Schedule

URL:
https://[root]/portals/[portalID]/collaborations/[collaborationID]/workspaces/[workspaceID]/schedule/update
Methods:
POST
Version Introduced:
10.6

Example usage

The following is a sample ArcGIS Online POST request for the update operation:

1
2
3
4
5
6
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

The following is a sample ArcGIS Enterprise POST request for the update operation:

1
2
3
4
5
6
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

ParameterDetails

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

1
2
3
{
  "success" : true
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close