FRAMES | NO FRAMES Description | Parameters | Examples | Response
Assign Jobs (Operation)
URL http://<jobs-url>/assign
Parent Resource Jobs

Description

Assigns one or more jobs to a user or group.

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json
user Required
Description: The username of the client.
jobs Required
Description: A comma-separated list of job IDs.
assignedType Required
Description: Determines whether to assign to a user (1) or group (2).

Values: 1 | 2
assignedTo Required
Description: The name of the user or group to assign the jobs to.

Example Usage

Example 1: URL for assigning job IDs 5, 6, and 9 to a user in the "Workflow" service on sampleserver.

http://sampleserver/arcgis/rest/services/Workflow/WMServer/jobs/assign?user=cjones&jobs=5,6,9&assignedType=1&assignedTo=amiller

Example 2: URL for assigning job IDs 5, 6, and 9 to a group in the "Workflow" service on sampleserver.

http://sampleserver/arcgis/rest/services/Workflow/WMServer/jobs/assign?user=cjones&jobs=5,6,9&assignedType=2&assignedTo=QA%20Team

JSON Response Syntax

{ "success": true }

JSON Response Example

{ "success": true }