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": "ee117c42-a6a0-45b7-95ac-4b47a0c71685",
"CustomerGroupId": "c88b491b-6c8f-413f-ab3b-af6a489f9ae6"
}
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": "856c6448-1622-46f1-8f81-f2e6ac0769bb",
"TemplateId": 2,
"Name": "sample string 3",
"SourceUrl": "sample string 4",
"CustomerGroup": {
"Id": "70f8fbb3-7191-4d6f-9018-0d6fd356d8e5",
"Name": "sample string 2"
},
"App": {
"Id": "70f8fbb3-7191-4d6f-9018-0d6fd356d8e5",
"Name": "sample string 2"
},
"PreviewType": "Pinch",
"InheritanceRestriction": "RootAndChild",
"ChildTemplates": [
"c04c5ba3-852c-4f9a-be2d-1ad329cd65ce",
"75d1b3c7-95b9-4f9e-aa6a-ab9ec2556333"
]
},
{
"Id": "856c6448-1622-46f1-8f81-f2e6ac0769bb",
"TemplateId": 2,
"Name": "sample string 3",
"SourceUrl": "sample string 4",
"CustomerGroup": {
"Id": "70f8fbb3-7191-4d6f-9018-0d6fd356d8e5",
"Name": "sample string 2"
},
"App": {
"Id": "70f8fbb3-7191-4d6f-9018-0d6fd356d8e5",
"Name": "sample string 2"
},
"PreviewType": "Pinch",
"InheritanceRestriction": "RootAndChild",
"ChildTemplates": [
"c04c5ba3-852c-4f9a-be2d-1ad329cd65ce",
"75d1b3c7-95b9-4f9e-aa6a-ab9ec2556333"
]
}
]