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": "b85393e7-00c7-4cc5-b7bb-d17ab5fd2935",
"CustomerGroupId": "af4de9ef-3d6a-4357-a060-c0771338f191"
}
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": "fd3bc422-4e12-4fb4-ba7a-6e7af47e7fdb",
"TemplateId": 2,
"Name": "sample string 3",
"SourceUrl": "sample string 4",
"CustomerGroup": {
"Id": "f15c67c7-ff72-4215-80eb-ee811c4d91a6",
"Name": "sample string 2"
},
"App": {
"Id": "f15c67c7-ff72-4215-80eb-ee811c4d91a6",
"Name": "sample string 2"
},
"PreviewType": "Pinch",
"InheritanceRestriction": "RootAndChild",
"ChildTemplates": [
"4d469a22-7450-40a8-b8eb-0d0aef42cb49",
"cb0547d7-170e-470d-a77d-46fdaf922b1f"
]
},
{
"Id": "fd3bc422-4e12-4fb4-ba7a-6e7af47e7fdb",
"TemplateId": 2,
"Name": "sample string 3",
"SourceUrl": "sample string 4",
"CustomerGroup": {
"Id": "f15c67c7-ff72-4215-80eb-ee811c4d91a6",
"Name": "sample string 2"
},
"App": {
"Id": "f15c67c7-ff72-4215-80eb-ee811c4d91a6",
"Name": "sample string 2"
},
"PreviewType": "Pinch",
"InheritanceRestriction": "RootAndChild",
"ChildTemplates": [
"4d469a22-7450-40a8-b8eb-0d0aef42cb49",
"cb0547d7-170e-470d-a77d-46fdaf922b1f"
]
}
]