For more information on using API

POST http://webapi.mymarketing.co.il/api/account/contentCategories

Create a new category.

Request Information

URI Parameters

Body Parameters

ApiContentCategoryPost

Name

Description

Type

Additional information

name

Category name

string
display_order

Display Order

integer
is_default

If the Category is Default

boolean

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "display_order": 2,
  "is_default": true
}

application/xml, text/xml

Sample:
<ApiContentCategoryPost xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>sample string 1</Name>
  <DisplayOrder>2</DisplayOrder>
  <IsDefault>true</IsDefault>
</ApiContentCategoryPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiContentCategory

Name

Description

Type

Additional information

id

Category id

integer
created

Date Created

date
name

Category name

string
display_order

Display Order

integer
is_default

If the Category is Default

boolean

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "created": "2016-12-24T14:12:12",
  "name": "sample string 3",
  "display_order": 4,
  "is_default": true
}

application/xml, text/xml

Sample:
<ApiContentCategory xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>sample string 3</Name>
  <DisplayOrder>4</DisplayOrder>
  <IsDefault>true</IsDefault>
  <Id>1</Id>
  <Created>2016-12-24T14:12:12</Created>
</ApiContentCategory>