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": "30092b73-dfd6-47bf-9b30-c9862f721d09",
"CustomerGroupId": "f4b8f2ee-ba63-4cdd-8830-29786d938fd7"
}
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": "719e1261-1bd0-450e-a4a8-2305310443c9",
"TemplateId": 2,
"Name": "sample string 3",
"SourceUrl": "sample string 4",
"CustomerGroup": {
"Id": "6f2bc822-c31f-49ba-81e0-a900065650ba",
"Name": "sample string 2"
},
"App": {
"Id": "6f2bc822-c31f-49ba-81e0-a900065650ba",
"Name": "sample string 2"
},
"PreviewType": "Pinch",
"InheritanceRestriction": "RootAndChild",
"ChildTemplates": [
"9d9bad01-dc94-4c08-9e90-701654ae3a65",
"654cde3b-e911-4f91-8a0f-2fee56c3f37b"
]
},
{
"Id": "719e1261-1bd0-450e-a4a8-2305310443c9",
"TemplateId": 2,
"Name": "sample string 3",
"SourceUrl": "sample string 4",
"CustomerGroup": {
"Id": "6f2bc822-c31f-49ba-81e0-a900065650ba",
"Name": "sample string 2"
},
"App": {
"Id": "6f2bc822-c31f-49ba-81e0-a900065650ba",
"Name": "sample string 2"
},
"PreviewType": "Pinch",
"InheritanceRestriction": "RootAndChild",
"ChildTemplates": [
"9d9bad01-dc94-4c08-9e90-701654ae3a65",
"654cde3b-e911-4f91-8a0f-2fee56c3f37b"
]
}
]