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

Description

Assigns a job 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.
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 job to.

Example Usage

Example 1: URL for assigning job ID 5 to a user in the "Workflow" service on sampleserver.

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

Example 2: URL for assigning job ID 5 to a group in the "Workflow" service on sampleserver.

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

JSON Response Syntax

{ "success": true }

JSON Response Example

{ "success": true }