For more information on using API

GET https://webapi.mymarketing.co.il/api/campaigns/{id}/template

Get campaign template

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Campaign id.Can be found using the endpoint "Get account's email campaigns..." or in the UI(go to Emails->Emails Lists->click on the campaign's preview -> you'll find the id int the URL)

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiCampaignTemplate

Name

Description

Type

Additional information

id

Template id. Can be found using the endpoint "Get account's "my templates"" or in the UI (go to "Emails" -> "My Templates" -> click on your desired template -> you'll find the ID at the end of the URL). Only required if you don't use the "content" parameter.

integer

Response Formats

application/json, text/json

Sample:
{
  "id": 1
}

application/xml, text/xml

Sample:
<ApiCampaignTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <id>1</id>
</ApiCampaignTemplate>