For more information on using API

GET https://webapi.mymarketing.co.il/api/account/contentCategories

Get the account's categories.

Request Information

URI Parameters

Body Parameters

None.

Response Information

Resource Description

ApiContentCategoriesList

Name

Description

Type

Additional information

count

Count

integer
content_categories

Content Categories

Collection of ApiContentCategory

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ApiContentCategoriesList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <content_categories>
    <ApiContentCategory>
      <display_order>4</display_order>
      <is_default>true</is_default>
      <name>sample string 3</name>
      <created>2016-12-24T14:12:12</created>
      <id>1</id>
    </ApiContentCategory>
    <ApiContentCategory>
      <display_order>4</display_order>
      <is_default>true</is_default>
      <name>sample string 3</name>
      <created>2016-12-24T14:12:12</created>
      <id>1</id>
    </ApiContentCategory>
  </content_categories>
  <count>1</count>
</ApiContentCategoriesList>