For more information on using API

POST https://webapi.mymarketing.co.il/api/templates/TemplateCategory

Create and return a new template category.

Request Information

URI Parameters

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

ApiTemplateCategoryInfo

Name

Description

Type

Additional information

id

integer
culture_code

string
name

The category's name.

string
name_key

Can be deleted in a post/put endpoints

string

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.