POST api/templatefiltercategories
Creates a template filter category.
Request Information
URI Parameters
None.
Body Parameters
The template filter category model to create with.
TemplatefilterCategoryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| TenantId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Values | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "a5f4ea7e-1a5e-4451-ac94-46aa6158a80a",
"TenantId": "9c6f15bd-edd4-4124-b69a-fe484bf26bb7",
"Name": "sample string 3",
"Values": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<TemplatefilterCategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Template.Models">
<Id>a5f4ea7e-1a5e-4451-ac94-46aa6158a80a</Id>
<Name>sample string 3</Name>
<TenantId>9c6f15bd-edd4-4124-b69a-fe484bf26bb7</TenantId>
<Values xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Values>
</TemplatefilterCategoryDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.