PUT api/templates/search
Request Information
URI Parameters
None.
Body Parameters
TemplateListFilterDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| AppId | globally unique identifier |
None. |
|
| CustomerGroupId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"AppId": "de6e6f74-8d56-45c5-97c9-81107ec41f77",
"CustomerGroupId": "a361e5dc-2ff8-41d9-8d3b-c0ad510fe235"
}
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": "9221a011-667a-4193-a1fe-9b071aff7a79",
"TemplateId": 2,
"Name": "sample string 3",
"SourceUrl": "sample string 4",
"CustomerGroup": {
"Id": "9e155f55-39a6-4811-b19a-3eb923276ee4",
"Name": "sample string 2"
},
"App": {
"Id": "9e155f55-39a6-4811-b19a-3eb923276ee4",
"Name": "sample string 2"
},
"PreviewType": "Pinch",
"InheritanceRestriction": "RootAndChild",
"ChildTemplates": [
"a414246e-4d94-45a7-84c6-fd1079758aaf",
"24f35892-65dc-4fa6-bb0b-7d6068582c98"
]
},
{
"Id": "9221a011-667a-4193-a1fe-9b071aff7a79",
"TemplateId": 2,
"Name": "sample string 3",
"SourceUrl": "sample string 4",
"CustomerGroup": {
"Id": "9e155f55-39a6-4811-b19a-3eb923276ee4",
"Name": "sample string 2"
},
"App": {
"Id": "9e155f55-39a6-4811-b19a-3eb923276ee4",
"Name": "sample string 2"
},
"PreviewType": "Pinch",
"InheritanceRestriction": "RootAndChild",
"ChildTemplates": [
"a414246e-4d94-45a7-84c6-fd1079758aaf",
"24f35892-65dc-4fa6-bb0b-7d6068582c98"
]
}
]