GET api/templates/{id}
Get template info
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
TemplateInfoDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
TemplateId | integer |
None. |
|
Name | string |
None. |
|
SourceUrl | string |
None. |
|
CustomerGroup | NamedItem |
None. |
|
App | NamedItem |
None. |
|
PreviewType | TemplatePreviewTypeEnum |
None. |
|
InheritanceRestriction | TemplateInheritanceRestrictionEnum |
None. |
|
ChildTemplates | Collection of globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "43a1fd1c-8be8-43d2-8fc0-58b002ff4684", "TemplateId": 2, "Name": "sample string 3", "SourceUrl": "sample string 4", "CustomerGroup": { "Id": "a9217fdf-ca9f-40aa-9bb0-70ca1b5e96bd", "Name": "sample string 2" }, "App": { "Id": "a9217fdf-ca9f-40aa-9bb0-70ca1b5e96bd", "Name": "sample string 2" }, "PreviewType": "Pinch", "InheritanceRestriction": "RootAndChild", "ChildTemplates": [ "6cbdf189-ceff-4965-ad58-2afefdfe6edb", "a9465e4d-3376-4c45-92f7-8260c2e0dbbc" ] }