Get a template by 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 |
---|---|---|
|
|
Path parameters
Name | Type | Required |
---|---|---|
|
| |
|
| |
|
| |
|
|
Examples
Request
# You can also use wget
curl -X GET /{orgId}/{itemId}/templates/{templateType}/{templateId} \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Response
200 Response
{
"templateId": "string",
"templateName": "string",
"templateDetails": "string"
}
Status | Meaning | Description | Schema |
---|---|---|---|
| success | ||
| error | ||
| error |