For more information on using API

GET http://webapi.mymarketing.co.il/api/templates

Get all your Templates that are saved in 'My Templates'

Request Information

URI Parameters

Body Parameters

None.

Response Information

Resource Description

Collection of ApiTemplateDisplayView

Name

Description

Type

Additional information

Id

Template id

integer
IsBlank

Blank template with the default data

boolean
Name

Name of the template

string
TemplateURL

Template URL. For active commerce users only

string
IsSystem

Pre defined templates indicator. If it's Activetrail's than the value will be 1, if it's yours the value is 1.

boolean

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "IsBlank": true,
    "Name": "sample string 3",
    "TemplateURL": "sample string 4",
    "IsSystem": true
  },
  {
    "Id": 1,
    "IsBlank": true,
    "Name": "sample string 3",
    "TemplateURL": "sample string 4",
    "IsSystem": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfApiTemplateDisplayView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <ApiTemplateDisplayView>
    <Id>1</Id>
    <IsBlank>true</IsBlank>
    <IsSystem>true</IsSystem>
    <Name>sample string 3</Name>
    <TemplateURL>sample string 4</TemplateURL>
  </ApiTemplateDisplayView>
  <ApiTemplateDisplayView>
    <Id>1</Id>
    <IsBlank>true</IsBlank>
    <IsSystem>true</IsSystem>
    <Name>sample string 3</Name>
    <TemplateURL>sample string 4</TemplateURL>
  </ApiTemplateDisplayView>
</ArrayOfApiTemplateDisplayView>