GET
/{orgId}/{itemId}/jobTemplatesGet all job templates, including active, draft and retired job templates.
Query parameters
| Name | Type | Required |
|---|---|---|
token | string¦null |
Path parameters
| Name | Type | Required |
|---|---|---|
org | string | |
item | string |
Response status
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | List of job templates | inline |
| 404 | Not Found | error | WorkflowExceptionDTO |
Response details
Status Code 200
JobTemplateDescriptions
| Name | Type | Required | Description |
|---|---|---|---|
job | [JobTemplateDescription] |
Examples
Request
# You can also use wget
curl -X GET /{orgId}/{itemId}/jobTemplates \
-H 'Authorization: Bearer <YOUR_TOKEN>'Response
{
"jobTemplates": [
{
"jobTemplateId": "string",
"jobTemplateName": "string",
"description": "string",
"category": "string",
"diagramId": "string",
"diagramName": "string",
"state": "Draft"
}
]
}