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 TemplateInfoDto| Name | 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": "edd7b62e-c964-46ba-902c-3146a7c9fa1a",
"TemplateId": 2,
"Name": "sample string 3",
"SourceUrl": "sample string 4",
"CustomerGroup": {
"Id": "943a38b2-b0b3-43aa-a634-c43e43471c46",
"Name": "sample string 2"
},
"App": {
"Id": "943a38b2-b0b3-43aa-a634-c43e43471c46",
"Name": "sample string 2"
},
"PreviewType": "Pinch",
"InheritanceRestriction": "RootAndChild",
"ChildTemplates": [
"e7547a42-a5e3-4d14-b806-ab6b4ad89dd3",
"b73843ed-d65d-4272-9821-acd830488814"
]
},
{
"Id": "edd7b62e-c964-46ba-902c-3146a7c9fa1a",
"TemplateId": 2,
"Name": "sample string 3",
"SourceUrl": "sample string 4",
"CustomerGroup": {
"Id": "943a38b2-b0b3-43aa-a634-c43e43471c46",
"Name": "sample string 2"
},
"App": {
"Id": "943a38b2-b0b3-43aa-a634-c43e43471c46",
"Name": "sample string 2"
},
"PreviewType": "Pinch",
"InheritanceRestriction": "RootAndChild",
"ChildTemplates": [
"e7547a42-a5e3-4d14-b806-ab6b4ad89dd3",
"b73843ed-d65d-4272-9821-acd830488814"
]
}
]