Summary
Creates a new template key.
Resource URL
/v3/template
Example Request
curl \
--request PUT \
--header “Content-type“: application/json
{
"name": "tk2",
"type": "StringType",
"parentID": 2643
}
https://[server]:8443/umsapi/v3/template
Request Body
|
Name |
Type |
Mandatory |
Description |
|
|
String |
yes |
Template key name |
|
|
String |
yes |
Template key type |
|
|
String |
no |
ID of template key folder (if template key is not directly in root) |
Response Type
Returns a success message.
Example Response
{
"id": "2644",
"name": "tk2",
"parentID": "2643",
"message": "Template key successfully created."
}