Skip to content

getTemplate

GET
Use dark colors for code blocksCopy
1
/{orgId}/{itemId}/templates/{templateType}/{templateId}
Get a template by templateId

Get a template by templateId. The adminBasic or adminAdvanced privilege is required.

Request:

ParameterDescriptionData Type
templateIdRequired. The ID of the template to be retreived.String
templateTypeRequired. The type of the template to be retreived.String

Query parameters

NameTypeRequired
tokenstring¦null

Path parameters

NameTypeRequired
templateIdstring
templateTypestring
orgIdstring
itemIdstring

Response status

StatusMeaningDescriptionSchema
200OK

success

Template
404Not Found

error

WorkflowExceptionDTO
500Internal Server Error

error

WorkflowJsonExceptionDTO

Examples

Request

Use dark colors for code blocksCopy
1
2
3
# You can also use wget
curl -X GET /{orgId}/{itemId}/templates/{templateType}/{templateId} \
  -H 'Authorization: Bearer <YOUR_TOKEN>'

Response

Use dark colors for code blocksCopy
1
2
3
4
5
{
  "templateId": "string",
  "templateName": "string",
  "templateDetails": "string"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.