For more information on using API

GET http://webapi.mymarketing.co.il/api/automationtemplatecategories?FetchType={FetchType}

Get automation template categories by fetch type (templates of users or system)

Request Information

URI Parameters

Name

Description

Type

Additional information

fetchType

If the template category was created by you the value is (0), if it was created by Activetrail the value is (1)

Body Parameters

None.

Response Information

Resource Description

Collection of ApiTemplateCategoryContainer

Name

Description

Type

Additional information

id

Category id

integer
name

Category name

string
isSystem

If the template category was created by you the value is (0), if it was created by Activetrail the value is (1)

boolean

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2",
    "isSystem": true
  },
  {
    "id": 1,
    "name": "sample string 2",
    "isSystem": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfApiTemplateCategoryContainer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <ApiTemplateCategoryContainer>
    <id>1</id>
    <isSystem>true</isSystem>
    <name>sample string 2</name>
  </ApiTemplateCategoryContainer>
  <ApiTemplateCategoryContainer>
    <id>1</id>
    <isSystem>true</isSystem>
    <name>sample string 2</name>
  </ApiTemplateCategoryContainer>
</ArrayOfApiTemplateCategoryContainer>