For more information on using API

PUT https://webapi.mymarketing.co.il/api/templates/TemplateCategory/{id}

Update the given template category

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Category Id. Can be found using the endpoint "Get "my templates" categories".

integer

Required

Body Parameters

ApiTemplateCategoryPost

Name

Description

Type

Additional information

name

The category's name.

string
name_key

Can be deleted in a post/put endpoints

string

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 3",
  "name_key": "sample string 4"
}

application/xml, text/xml

Sample:
<ApiTemplateCategoryPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <name>sample string 3</name>
  <name_key>sample string 4</name_key>
</ApiTemplateCategoryPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.