getTemplates

Click to copy

Get templates by template type

Get templates by template type. The adminBasic or adminAdvanced privilege is required.

Request:

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

Query parameters

NameTypeRequired

token

string

Path parameters

NameTypeRequired

templateType

string

orgId

string

itemId

string

Examples

Request

Use dark colors for code blocksCopy
1
2
3
4
# You can also use wget
curl -X GET /{orgId}/{itemId}/templates/{templateType} \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Response

200 Response

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
{
  "templates": [
    {
      "templateId": "string",
      "templateName": "string"
    }
  ]
}
StatusMeaningDescriptionSchema

200

OK

List of templates of a given type

Inline

404

Not Found

error

WorkflowExceptionDTO

500

Internal Server Error

error

WorkflowJsonExceptionDTO

Response details

Status Code 200

TemplateDescriptions

NameTypeRequired

templates

templateId

string

templateName

string

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