For more information on using API

GET http://webapi.mymarketing.co.il/api/campaigns/{id}/details

Get campaign details by id

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Campaign id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiCampaignDetails

Name

Description

Type

Additional information

name

Name of campaign

string
subject

Campaign Subject

string
user_profile_id

Sending profile id

integer
google_analytics_name

Google analytics details

string
sub_account_id

Sub account id to connect to the campaign

integer
content_category_id

Campaign category id

integer
preheader

Preheader

string
predictive_delivery

predictive_delivery

boolean
segmentation_id

Segmentation id

integer

Response Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "subject": "sample string 2",
  "user_profile_id": 1,
  "google_analytics_name": "sample string 3",
  "sub_account_id": 1,
  "content_category_id": 1,
  "preheader": "sample string 4",
  "predictive_delivery": true,
  "segmentation_id": 1
}

application/xml, text/xml

Sample:
<ApiCampaignDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <add_statistics i:nil="true" />
  <content_category_id>1</content_category_id>
  <google_analytics_name>sample string 3</google_analytics_name>
  <name>sample string 1</name>
  <predictive_delivery>true</predictive_delivery>
  <preheader>sample string 4</preheader>
  <segmentation_id>1</segmentation_id>
  <sub_account_id>1</sub_account_id>
  <subject>sample string 2</subject>
  <user_profile_id>1</user_profile_id>
</ApiCampaignDetails>