PUT https://webapi.mymarketing.co.il/api/campaigns/{id}/template
Update campaign template. Please note: only campaigns that are in draft mode can be updated
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
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
Request 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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.