FRAMES | NO FRAMES Description | Parameters | Examples | Response
Job Type
URL http://<wmservice-url>/jobTypes/<jobTypeId>
Parent Resource Workflow Manager Service

Description

Represents the detailed configuration properties of a job type.

Parameters

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

Values: html | json

Example Usage

Example 1: URL for job type ID 5 in the "Workflow" service on sampleserver.

http://sampleserver/arcgis/rest/services/Workflow/WMServer/jobTypes/5

JSON Response Syntax

{
  "id": <jobTypeId>,
  "name": "<jobTypeName>",
  "description": "<description>",
  "category": "<category>",
  "state": <state>,  // Valid values: 0 (draft), 1 (active), 2 (retired)
  "jobNamingScheme": "<jobNamingScheme>",
  "jobVersionNamingScheme": "<jobVersionNamingScheme>",
  "mxdNamingScheme": "<mxdNamingScheme>",
  "defaultAssignedTo": "<assignedTo>",
  "defaultAssignedType": <assignedType>,  // Valid values: 0 (unassigned), 1 (user), 2 (group)
  "defaultJobDuration": <jobDuration>,  // In units of days
  "defaultStartDate": <startTime>,
  "defaultDueDate": <dueTime>,
  "defaultPriority": <priority>,
  "defaultDescription": "<description>",
  "defaultDataWorkspaceId": "<dataWorkspaceId>",
  "defaultParentVersionName": "<parentVersionName>",
  "canDataWorkspaceChange": <true | false>,
  "autoExecuteCreatedJobs": <true | false>  // Added at 10.1
}

JSON Response Example

{
  "id": 1,
  "name": "Street Updates",
  "description": "Workflow for updating street centerlines",
  "category": "Data Editing",
  "state": 1,
  "jobNamingScheme": "Job [JOB:ID]",
  "jobVersionNamingScheme": "JOB_[JOB:ID]",
  "mxdNamingScheme": "JOB_[JOB:ID]",
  "defaultAssignedTo": "Technicians",
  "defaultAssignedType": 2,
  "defaultJobDuration": 30,
  "defaultStartDate": 1230768000000,
  "defaultDueDate": null,
  "defaultPriority": 2,
  "defaultDescription": "",
  "defaultDataWorkspaceId": "{39FD6B70-DA49-4F91-BD9D-0F2F0A8FEC26}",
  "defaultParentVersionName": "sde.DEFAULT",
  "canDataWorkspaceChange": true,
  "autoExecuteCreatedJobs": true
}