GET api/templates/customergroup/{customerGroupId}
Get templates list for customer group
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerGroupId |
customer group ID |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of 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": "2488db10-1c70-4721-903a-f45509d58f7c", "TemplateId": 2, "Name": "sample string 3", "SourceUrl": "sample string 4", "CustomerGroup": { "Id": "417f1324-486b-4258-921c-10f3a0daae03", "Name": "sample string 2" }, "App": { "Id": "417f1324-486b-4258-921c-10f3a0daae03", "Name": "sample string 2" }, "PreviewType": "Pinch", "InheritanceRestriction": "RootAndChild", "ChildTemplates": [ "059a8ff3-b32c-4694-b50a-d2b9490dfd42", "44276bfd-b5bf-4b4b-9a07-d944271cbd7b" ] }, { "Id": "2488db10-1c70-4721-903a-f45509d58f7c", "TemplateId": 2, "Name": "sample string 3", "SourceUrl": "sample string 4", "CustomerGroup": { "Id": "417f1324-486b-4258-921c-10f3a0daae03", "Name": "sample string 2" }, "App": { "Id": "417f1324-486b-4258-921c-10f3a0daae03", "Name": "sample string 2" }, "PreviewType": "Pinch", "InheritanceRestriction": "RootAndChild", "ChildTemplates": [ "059a8ff3-b32c-4694-b50a-d2b9490dfd42", "44276bfd-b5bf-4b4b-9a07-d944271cbd7b" ] } ]