GET
/{orgId}/{itemId}/templates/{templateType}/{templateId}
Get a template by templateId. The adminBasic or adminAdvanced privilege is required.
Request:
Parameter | Description | Data Type |
---|---|---|
templateId | Required. The ID of the template to be retreived. | String |
templateType | Required. The type of the template to be retreived. | String |
Query parameters
Name | Type | Required |
---|---|---|
token | string¦null |
Path parameters
Name | Type | Required |
---|---|---|
template | string | |
template | string | |
org | string | |
item | string |
Response status
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | success | Template |
404 | Not Found | error | WorkflowExceptionDTO |
500 | Internal Server Error | error | WorkflowJsonExceptionDTO |
Examples
Request
# You can also use wget
curl -X GET /{orgId}/{itemId}/templates/{templateType}/{templateId} \
-H 'Authorization: Bearer <YOUR_TOKEN>'
Response
{
"templateId": "string",
"templateName": "string",
"templateDetails": "string"
}