PUT api/templates/{id}
Update a TemplateInfo
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{ "Id": "a140327f-e82e-484b-8481-86c363f84850", "TemplateId": 2, "Name": "sample string 3", "SourceUrl": "sample string 4", "CustomerGroup": { "Id": "0cf1c342-e1e4-46f0-ba05-26711375c203", "Name": "sample string 2" }, "App": { "Id": "0cf1c342-e1e4-46f0-ba05-26711375c203", "Name": "sample string 2" }, "PreviewType": "Pinch", "InheritanceRestriction": "RootAndChild", "ChildTemplates": [ "bcf6f03f-d3d0-4f1d-98e2-2e092a70f7cb", "9fb35ac8-722a-452f-abf2-113a473f0957" ] }
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": "55df29d6-27ee-4735-8395-a94b7190d547", "TemplateId": 2, "Name": "sample string 3", "SourceUrl": "sample string 4", "CustomerGroup": { "Id": "61cc1a89-708a-430a-9485-390acf3f671a", "Name": "sample string 2" }, "App": { "Id": "61cc1a89-708a-430a-9485-390acf3f671a", "Name": "sample string 2" }, "PreviewType": "Pinch", "InheritanceRestriction": "RootAndChild", "ChildTemplates": [ "8e3c41e1-06e1-46c4-87ab-cdb5f4a1502c", "46fba24b-59bc-4a0b-8c1f-0ba2b8060ec5" ] }