For more information on using API

POST http://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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <CultureCode>sample string 2</CultureCode>
  <Name>sample string 3</Name>
  <NameKey>sample string 4</NameKey>
</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.