PUT api/TemplateFilterCategories

Updates a template filter category.

Request Information

URI Parameters

None.

Body Parameters

The template filter category model to update with.

TemplatefilterCategoryDto
NameDescriptionTypeAdditional 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": "06ea55f3-2017-466d-93df-a879366ccd2a",
  "TenantId": "d68d006d-150e-4e72-ae6c-540751be03f5",
  "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>06ea55f3-2017-466d-93df-a879366ccd2a</Id>
  <Name>sample string 3</Name>
  <TenantId>d68d006d-150e-4e72-ae6c-540751be03f5</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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TemplatefilterCategoryDto'.

Response Information

Resource Description

None.