| FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
| URL | http://<dependencies-url>/create |
|---|---|
| Parent Resource | Dependencies |
| Parameter | Details |
|---|---|
| f | Description: The response format. The default response format is html. Values: html | json |
| user | Required Description: The username of the client. |
| heldOnType | Required Description: An integer value representing the dependency type of this job. 1: Dependency on a step2: Dependency on a stage3: Dependency on a statusValues: 1 | 2 | 3 |
| heldOnValue | Required Description: An integer value identifying a step, stage, or status at which this job will be held. |
| depJobId | Required Description: The ID of the job on which this job is dependent. |
| depOnType | Required Description: An integer value representing the dependency type of the other job. 1: Dependency on a step2: Dependency on a stage3: Dependency on a statusValues: 1 | 2 | 3 |
| depOnValue | Required Description: An integer value identifying a step, stage, or status. |
Example 1: URL for creating a dependency for job ID 5 on job ID 4 in the "Workflow" service on sampleserver.
http://sampleserver/arcgis/rest/services/Workflow/WMServer/jobs/5/dependencies/create?user=cjones&heldOnType=3&heldOnValue=6&depJobId=4&depOnType=2&depOnValue=5
{
"dependencyId": <dependencyId>
}
{
"dependencyId": 45
}