Campaign Web Service

 Campaign Web Services allow you to perform many operations:

  • Create a new Email or SMS Campaign
  • Update Email or SMS Campaigns
  • Inquire about existing or cancelled Email or SMS Campaigns
  • Stop Email Campaigns in send status
  • Send Test Emails



Campaign Web Service Methods

The following table lists supported methods in Campaign Web Service and provides a brief description of each method. Click on the method name for more information:
MethodDescription
AppendListToCampaignAppends a list to a specific campaign.
CancelEmailCampaignCancels an email that is in send status.
CreateEmailCampaignCreates an email campaign. If the campaign already exists, it updates it.
CreatePushCampaignCreates a push campaign. If the campaign already exists, it updates it.
CreateWebPushCampaignCreates a web push campaign. If the campaign already exists, it updates it.
CreateSmsCampaignCreates an SMS campaign. If the campaign already exists, it updates it.
LockCampaignLocks a ready-to-go campaign.
QueryEmailCampaignQueries an email campaign.
QuerySmsCampaignQueries an SMS campaign.
SelectCanceledEmailCampaignsSelects cancelled email campaigns within specific days.
QueryMemberCampaignsSelects campaign summary by member ID.
SelectCreatedEmailCampaignsSelects new email campaigns within specific days.
SelectOngoingEmailCampaignsSelects triggered email campaigns within specific days.
SelectScheduledEmailCampaignsSelects scheduled email campaigns within specific days.
SelectTestedEmailCampaignsSelects tested email campaigns within specific days.
SendEmailCampaignSets an email campaign to prod.
SendPushCampaignSets a push campaign to prod.
SendEmailCampaignWithExtendedOptionsSets an email campaign to prod.
SendSmsCampaignSets an SMS campaign to prod.
StartEmailCampaignRestarts a previously stopped email.
StopEmailCampaignStops an email in send status.
TestEmailCampaignSets an email campaign for test.
TestSmsCampaignSets an SMS campaign for test.
UnlockCampaignUnlocks a ready-to-go campaign.
UpdateEmailCampaignUpdates an email campaign. If the campaign does not exist, it creates it.
UpdateSmsCampaign

Updates an SMS campaign. If the campaign does not exist, it creates it.

CancelSmsCampaignCancels an SMS campaign in Send status.
CancelPushCampaignCancels an push campaign in Send status.
StopPushCampaignStops an push campaign in Send status.
StartPushCampaignRestarts a previously stopped Push campaign.
CancelWebPushCampaignCancels a Web Push campaign in Send status.
StopWebPushCampaignStops a Web Push campaign in Send status
StartWebPushCampaignRestarts a previously stopped Web Push campaign.


To interact with any Web Services, developers must first use the Login method to create a SERVICE TICKET. Developers can send requests to other Web Service and methods using this SERVICE TICKET.



CreateEmailCampaign 

Back to Top ^

<CreateEmailCampaign>
Creates an Email Campaign.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDNew Campaign ID

MANDATORY

NameCampaign Name

MANDATORY

CampaignTypeCampaign Type: SingleShot , Template or Automatic

MANDATORY

FromNameCampaign Sender's Name

MANDATORY

FromAddressCampaign Sender's email address

MANDATORY

ReplyAddressReply Email Address

MANDATORY

SubjectCampaign Subject Line

MANDATORY

ReadFlagKeep Read Report for the Campaign, if false the Read Report will not be kept

MANDATORY

ClickThroughFlagKeep Click Report for the Campaign, if false Click Report will not be kept

MANDATORY

ShareThisFlagPlace "Share" links in the email

MANDATORY

UniqueEmailFlag

If the identifier of your account is something other than EMAIL, this function makes them unique at the time of sending

MANDATORY

HtmlMessageCampaign HTML content

MANDATORY

PreHeaderTextPreview Text

MANDATORY

ExpireDateCampaign Expiration Date

MANDATORY

DeliveryDateCampaign Delivery Date

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.

HTMLMESSAGE parameter must always have HTML, Head and Body Tags.

If CAMPAIGNTYPE parameter is SingleShot, then a campaign is prepared for one time only send. If this parameter is sent as Template, an operation campaign is created. If it is sent as Automatic, a scheduled campaign will be created.

FROMNAME and FROMADDRESS parameters are pre-defined in your account. You can access these information from settings>sending path.

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CreateEmailCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <EmailCampaign>
        <CampaignID>string</CampaignID>
        <Name>string</Name>
        <CampaignType>SingleShot or Template or Automatic</CampaignType>
        <FromName>string</FromName>
        <FromAddress>string</FromAddress>
        <ReplyAddress>string</ReplyAddress>
        <Subject>
          <string>string</string>
          <string>string</string>
        </Subject>
        <Locked>boolean</Locked>
        <ReadFlag>boolean</ReadFlag>
        <ClickThroughFlag>boolean</ClickThroughFlag>
        <ShareThisFlag>boolean</ShareThisFlag>
        <UniqueEmailFlag>boolean</UniqueEmailFlag>
        <RateFlag>boolean</RateFlag>
        <OmnitureFlag>boolean</OmnitureFlag>
        <GoogleAnalytics>boolean</GoogleAnalytics>
        <GoogleUtmSource>string</GoogleUtmSource>
        <GoogleUtmMedium>string</GoogleUtmMedium>
        <GoogleUtmTerm>string</GoogleUtmTerm>
        <GoogleUtmContent>string</GoogleUtmContent>
        <GoogleUtmCampaign>string</GoogleUtmCampaign>
        <Speed>int</Speed>
        <SpamAnalysisScore>string</SpamAnalysisScore>
        <SpamAnalysisDetail>string</SpamAnalysisDetail>
        <ExpireDate>string</ExpireDate>
        <HtmlMessage>string</HtmlMessage>
        <PreHeaderText>string</PreHeaderText>
        <Created>string</Created>
        <Updated>string</Updated>
        <DeliveryDate>string</DeliveryDate>
        <Status>string</Status>
        <PreparedEmailCount>int</PreparedEmailCount>
        <RelayedEmailCount>int</RelayedEmailCount>
        <SentEmailCount>int</SentEmailCount>
        <ReadCount>int</ReadCount>
        <TotalRead>int</TotalRead>
        <SpamCount>int</SpamCount>
        <ClickCount>int</ClickCount>
        <TotalClick>int</TotalClick>
        <HUCount>int</HUCount>
        <SUCount>int</SUCount>
        <TotalUnsubscribed>int</TotalUnsubscribed>
      </EmailCampaign>
    </CreateEmailCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CreateEmailCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <CreateEmailCampaignResult />
      <EmailCampaign>
        <CampaignID>string</CampaignID>
        <Name>string</Name>
        <CampaignType>SingleShot or Template or Automatic</CampaignType>
        <FromName>string</FromName>
        <FromAddress>string</FromAddress>
        <ReplyAddress>string</ReplyAddress>
        <Subject>
          <string>string</string>
          <string>string</string>
        </Subject>
        <Locked>boolean</Locked>
        <ReadFlag>boolean</ReadFlag>
        <ClickThroughFlag>boolean</ClickThroughFlag>
        <ShareThisFlag>boolean</ShareThisFlag>
        <UniqueEmailFlag>boolean</UniqueEmailFlag>
        <RateFlag>boolean</RateFlag>
        <OmnitureFlag>boolean</OmnitureFlag>
        <GoogleAnalytics>boolean</GoogleAnalytics>
        <GoogleUtmSource>string</GoogleUtmSource>
        <GoogleUtmMedium>string</GoogleUtmMedium>
        <GoogleUtmTerm>string</GoogleUtmTerm>
        <GoogleUtmContent>string</GoogleUtmContent>
        <GoogleUtmCampaign>string</GoogleUtmCampaign>
        <Speed>int</Speed>
        <SpamAnalysisScore>string</SpamAnalysisScore>
        <SpamAnalysisDetail>string</SpamAnalysisDetail>
        <ExpireDate>string</ExpireDate>
        <HtmlMessage>string</HtmlMessage>
        <PreHeaderText>string</PreHeaderText>
        <Created>string</Created>
        <Updated>string</Updated>
        <DeliveryDate>string</DeliveryDate>
        <Status>string</Status>
        <PreparedEmailCount>int</PreparedEmailCount>
        <RelayedEmailCount>int</RelayedEmailCount>
        <SentEmailCount>int</SentEmailCount>
        <ReadCount>int</ReadCount>
        <TotalRead>int</TotalRead>
        <SpamCount>int</SpamCount>
        <ClickCount>int</ClickCount>
        <TotalClick>int</TotalClick>
        <HUCount>int</HUCount>
        <SUCount>int</SUCount>
        <TotalUnsubscribed>int</TotalUnsubscribed>
      </EmailCampaign>
    </CreateEmailCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, CODE the parameter will return 00 as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99CampaignID already exist!The sent CampID value already exists in the database.
99Campaign ID must be 32 byte guid!CampID parameter does not comply with 32 byte, GUID and uppercase criteria.
99Invalid from address!The FromAddress parameter is not registered in your account.
99Invalid from name!The FromName parameter is not registered in your account.
99Not a valid HTML!HtmlMessage parameter does not contain HTML, head and/or body tags or the HTML format is incorrect.




CreatePushCampaign 

Back to Top ^

<CreatePushCampaign>
Creates a Push Campaign.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDNew Campaign ID

MANDATORY

NameCampaign Name

MANDATORY

TypeType: 1-Image , 2-Video,3-Text,4-Settings , 5-Survey

MANDATORY

TextMessageCampaign Message Content

MANDATORY

AlternateTextMessageCampaign Message Alternate Content

MANDATORY

TargetUrlTarget Url

MANDATORY

AlternateTargetUrlAlternate Target Url

OPTIONAL

MediaUrlMedia Url

OPTIONAL

AlternateMediaUrlAlternate Media Url

OPTIONAL

AlternateCustomParamsAlternate Custom Parameters

OPTIONAL

ReportAdmins

Send Report

MANDATORY

FastListIdFL Id

OPTIONAL

ReportExpireDateReport ExpireDate

MANDATORY

DeliveryExpireDateCampaign Expiration Date

MANDATORY

DeliveryDateCampaign Delivery Date

MANDATORY

SpeedLimitationCampaign Speed

OPTIONAL

DailyLimitDaily Limit

OPTIONAL

AbCustomizationEnable Ab Customization

OPTIONAL

CustomParamsCustom Parameters

OPTIONAL

ApplicationCustomer Application ( Name : Application Name Type : Application Type - I (IOS) -A (Android))

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.
REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CreatePushCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <PushCampaign>
        <CampaignID>string</CampaignID>
        <Name>string</Name>
        <Type>int</Type>
        <TextMessage>string</TextMessage>
        <AlternateTextMessage>string</AlternateTextMessage>
        <TargetUrl>string</TargetUrl>
        <AlternateTargetUrl>string</AlternateTargetUrl>
        <MediaUrl>string</MediaUrl>
        <AlternateMediaUrl>string</AlternateMediaUrl>
        <AlternateCustomParams>string</AlternateCustomParams>
        <ReportAdmins>string</ReportAdmins>
        <DeliveryDate>string</DeliveryDate>
        <DeliveryExpireDate>string</DeliveryExpireDate>
        <ReportExpireDate>string</ReportExpireDate>
        <FastListId>string</FastListId>
        <SpeedLimitation>string</SpeedLimitation>
        <DailyLimit>string</DailyLimit>
        <AbCustomization>string</AbCustomization>
        <CustomParams>string</CustomParams>
        <Application>
          <Name>string</Name>
          <Type>string</Type>
        </Application>
        <Classification1>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification1>
        <Classification2>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification2>
        <Classification3>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification3>
        <Classification4>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification4>
        <Classification5>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification5>
        <IsBadge>boolean</IsBadge>
        <IsMutableContent>boolean</IsMutableContent>
        <MulitpleApplications>
          <Application>
            <Name>string</Name>
            <Type>string</Type>
          </Application>
          <Application>
            <Name>string</Name>
            <Type>string</Type>
          </Application>
        </MulitpleApplications>
        <TimeToLive>int</TimeToLive>
      </PushCampaign>
    </CreatePushCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CreatePushCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <CreatePushCampaignResult />
      <PushCampaign>
        <CampaignID>string</CampaignID>
        <Name>string</Name>
        <Type>int</Type>
        <TextMessage>string</TextMessage>
        <AlternateTextMessage>string</AlternateTextMessage>
        <TargetUrl>string</TargetUrl>
        <AlternateTargetUrl>string</AlternateTargetUrl>
        <MediaUrl>string</MediaUrl>
        <AlternateMediaUrl>string</AlternateMediaUrl>
        <AlternateCustomParams>string</AlternateCustomParams>
        <ReportAdmins>string</ReportAdmins>
        <DeliveryDate>string</DeliveryDate>
        <DeliveryExpireDate>string</DeliveryExpireDate>
        <ReportExpireDate>string</ReportExpireDate>
        <FastListId>string</FastListId>
        <SpeedLimitation>string</SpeedLimitation>
        <DailyLimit>string</DailyLimit>
        <AbCustomization>string</AbCustomization>
        <CustomParams>string</CustomParams>
        <Application>
          <Name>string</Name>
          <Type>string</Type>
        </Application>
        <Classification1>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification1>
        <Classification2>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification2>
        <Classification3>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification3>
        <Classification4>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification4>
        <Classification5>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification5>
        <IsBadge>boolean</IsBadge>
        <IsMutableContent>boolean</IsMutableContent>
        <MulitpleApplications>
          <Application>
            <Name>string</Name>
            <Type>string</Type>
          </Application>
          <Application>
            <Name>string</Name>
            <Type>string</Type>
          </Application>
        </MulitpleApplications>
        <TimeToLive>int</TimeToLive>
      </PushCampaign>
    </CreatePushCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, CODE the parameter will return 00 as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99CampaignID already exist!The sent CampID value already exists in the database.
99Campaign ID must be 32 byte guid!CampID parameter does not comply with 32 byte, GUID and uppercase criteria.

CreateWebPushCampaign 

Back to Top ^

<CreateWebPushCampaign>
Creates a Web Push Campaign.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDNew Campaign ID

MANDATORY

NameCampaign Name

MANDATORY

TypeType: 1-Image , 2-Video,3-Text,4-Settings , 5-Survey

MANDATORY

TextMessageCampaign Message Content

MANDATORY

AlternateTextMessageCampaign Message Alternate Content

MANDATORY

TargetUrlTarget Url

MANDATORY

AlternateTargetUrlAlternate Target Url

OPTIONAL

MediaUrlMedia Url

OPTIONAL

AlternateMediaUrlAlternate Media Url

OPTIONAL

AlternateCustomParamsAlternate Custom Parameters

OPTIONAL

ReportAdmins

Send Report

MANDATORY

FastListIdFL Id

OPTIONAL

ReportExpireDateReport ExpireDate

MANDATORY

DeliveryExpireDateCampaign Expiration Date

MANDATORY

DeliveryDateCampaign Delivery Date

MANDATORY

SpeedLimitationCampaign Speed

OPTIONAL

DailyLimitDaily Limit

OPTIONAL

AbCustomizationEnable Ab Customization

OPTIONAL

CustomParamsCustom Parameters

OPTIONAL

ApplicationCustomer Application ( W=Web Push))

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.
REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CreateWebPushCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <WebPushCampaign>
        <CampaignID>string</CampaignID>
        <Name>string</Name>
        <Type>int</Type>
        <TextMessage>string</TextMessage>
        <AlternateTextMessage>string</AlternateTextMessage>
        <TargetUrl>string</TargetUrl>
        <AlternateTargetUrl>string</AlternateTargetUrl>
        <MediaUrl>string</MediaUrl>
        <AlternateMediaUrl>string</AlternateMediaUrl>
        <AlternateCustomParams>string</AlternateCustomParams>
        <ReportAdmins>string</ReportAdmins>
        <DeliveryDate>string</DeliveryDate>
        <DeliveryExpireDate>string</DeliveryExpireDate>
        <ReportExpireDate>string</ReportExpireDate>
        <FastListId>string</FastListId>
        <SpeedLimitation>string</SpeedLimitation>
        <DailyLimit>string</DailyLimit>
        <AbCustomization>string</AbCustomization>
        <CustomParams>string</CustomParams>
        <Application>
          <Name>string</Name>
          <Type>string</Type>
        </Application>
        <Classification1>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification1>
        <Classification2>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification2>
        <Classification3>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification3>
        <Classification4>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification4>
        <Classification5>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification5>
        <IsBadge>boolean</IsBadge>
        <IsMutableContent>boolean</IsMutableContent>
        <MulitpleApplications>
          <Application>
            <Name>string</Name>
            <Type>string</Type>
          </Application>
          <Application>
            <Name>string</Name>
            <Type>string</Type>
          </Application>
        </MulitpleApplications>
        <TimeToLive>int</TimeToLive>
      </WebPushCampaign>
    </CreateWebPushCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CreateWebPushCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <CreateWebPushCampaignResult />
      <WebPushCampaign>
        <CampaignID>string</CampaignID>
        <Name>string</Name>
        <Type>int</Type>
        <TextMessage>string</TextMessage>
        <AlternateTextMessage>string</AlternateTextMessage>
        <TargetUrl>string</TargetUrl>
        <AlternateTargetUrl>string</AlternateTargetUrl>
        <MediaUrl>string</MediaUrl>
        <AlternateMediaUrl>string</AlternateMediaUrl>
        <AlternateCustomParams>string</AlternateCustomParams>
        <ReportAdmins>string</ReportAdmins>
        <DeliveryDate>string</DeliveryDate>
        <DeliveryExpireDate>string</DeliveryExpireDate>
        <ReportExpireDate>string</ReportExpireDate>
        <FastListId>string</FastListId>
        <SpeedLimitation>string</SpeedLimitation>
        <DailyLimit>string</DailyLimit>
        <AbCustomization>string</AbCustomization>
        <CustomParams>string</CustomParams>
        <Application>
          <Name>string</Name>
          <Type>string</Type>
        </Application>
        <Classification1>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification1>
        <Classification2>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification2>
        <Classification3>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification3>
        <Classification4>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification4>
        <Classification5>
          <ClassificationLabel>string</ClassificationLabel>
          <ClassificationValue>string</ClassificationValue>
        </Classification5>
        <IsBadge>boolean</IsBadge>
        <IsMutableContent>boolean</IsMutableContent>
        <MulitpleApplications>
          <Application>
            <Name>string</Name>
            <Type>string</Type>
          </Application>
          <Application>
            <Name>string</Name>
            <Type>string</Type>
          </Application>
        </MulitpleApplications>
        <TimeToLive>int</TimeToLive>
      </WebPushCampaign>
    </CreateWebPushCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, CODE the parameter will return 00 as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99CampaignID already exist!The sent CampID value already exists in the database.
99Campaign ID must be 32 byte guid!CampID parameter does not comply with 32 byte, GUID and uppercase criteria.

SendEmailCampaign 

Back to Top ^

<SendEmailCampaign>
Sends an Email Campaign.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDNew Campaign ID

MANDATORY

DeliveryDateTimeCampaign Sending Time

MANDATORY

DemograficFiltersDemographic criteria selected in campaign

MANDATORY

GroupListInterest lists recipient source

MANDATORY

MarketingPDFToEmail address to send campaign reports to

MANDATORY

MarketingPDFLanguageLanguage selection for PDF reports

MANDATORY

AdminReportToEmail address to send administrative campaign reports to

MANDATORY

SubjectOptimizationSubject Optimization Parameter

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.

If CAMPAIGNTYPE parameter is SingleShot, then a campaign is prepared for one time only send. If this parameter is sent as Template, an operation campaign is created. If it is sent as Automatic, a scheduled campaign will be created.

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendEmailCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
      <Preferences>
        <DeliveryDateTime>string</DeliveryDateTime>
        <DemograficFilters>
          <EmFilter>
            <Key>string</Key>
            <Operator>string</Operator>
            <Value>string</Value>
          </EmFilter>
          <EmFilter>
            <Key>string</Key>
            <Operator>string</Operator>
            <Value>string</Value>
          </EmFilter>
        </DemograficFilters>
        <Lists>
          <GroupList>
            <GroupName>string</GroupName>
            <ListName>string</ListName>
          </GroupList>
          <GroupList>
            <GroupName>string</GroupName>
            <ListName>string</ListName>
          </GroupList>
        </Lists>
        <MarketingPDFTo>
          <EmKeyValue>
            <Key>string</Key>
            <Value>string</Value>
          </EmKeyValue>
          <EmKeyValue>
            <Key>string</Key>
            <Value>string</Value>
          </EmKeyValue>
        </MarketingPDFTo>
        <MarketingPDFLanguage>Turkish or English</MarketingPDFLanguage>
        <AdminReportTo>string</AdminReportTo>
        <SubjectOptimization>
          <Target>short</Target>
          <WaitInHour>short</WaitInHour>
        </SubjectOptimization>
      </Preferences>
    </SendEmailCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendEmailCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <SendEmailCampaignResult />
    </SendEmailCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.


Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99CampaignID already exist!The sent CampID value already exists in the database.
99Campaign ID must be 32 byte guid!CampID parameter does not comply with 32 byte, GUID and uppercase criteria.
99Not a valid HTML!HtmlMessage parameter does not contain HTML, head and/or body tags or the HTML format is incorrect.

SendPushCampaign 

Back to Top ^

<SendPushCampaign>
Sends a Push Campaign.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDNew Campaign ID

MANDATORY

DeliveryDateTimeCampaign Sending Time

MANDATORY

DemograficFiltersDemographic criteria selected in campaign

MANDATORY

GroupListInterest lists recipient source

MANDATORY

MarketingPDFToEmail address to send campaign reports to

MANDATORY

MarketingPDFLanguageLanguage selection for PDF reports

MANDATORY

AdminReportToEmail address to send administrative campaign reports to

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.
REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendPushCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
      <Preferences>
        <DeliveryDateTime>string</DeliveryDateTime>
        <DemograficFilters>
          <EmFilter>
            <Key>string</Key>
            <Operator>string</Operator>
            <Value>string</Value>
          </EmFilter>
          <EmFilter>
            <Key>string</Key>
            <Operator>string</Operator>
            <Value>string</Value>
          </EmFilter>
        </DemograficFilters>
        <Lists>
          <GroupList>
            <GroupName>string</GroupName>
            <ListName>string</ListName>
          </GroupList>
          <GroupList>
            <GroupName>string</GroupName>
            <ListName>string</ListName>
          </GroupList>
        </Lists>
        <MarketingPDFTo>
          <EmKeyValue>
            <Key>string</Key>
            <Value>string</Value>
          </EmKeyValue>
          <EmKeyValue>
            <Key>string</Key>
            <Value>string</Value>
          </EmKeyValue>
        </MarketingPDFTo>
        <MarketingPDFLanguage>Turkish or English</MarketingPDFLanguage>
        <AdminReportTo>string</AdminReportTo>
      </Preferences>
    </SendPushCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendPushCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <SendPushCampaignResult />
    </SendPushCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.


Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99CampaignID already exist!The sent CampID value already exists in the database.
99Campaign ID must be 32 byte guid!CampID parameter does not comply with 32 byte, GUID and uppercase criteria.



TestEmailCampaign 

Back to Top ^

<TestEmailCampaign>
Tests an Email Campaign.

Parametreler

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDThe ID of the Campaign to be updated

MANDATORY

ListGroupListGroup Name

MANDATORY

ListNameListName Name

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <TestEmailCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
      <ListGroup>string</ListGroup>
      <ListName>string</ListName>
    </TestEmailCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <TestEmailCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <TestEmailCampaignResult />
    </TestEmailCampaignResponse>
  </soap12:Body>
</soap12:Envelope>



UpdateEmailCampaign 

Back to Top ^

<UpdateEmailCampaign>
Updates the draft of an Email Campaign.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDThe ID of the Campaign to be updated

MANDATORY

NameCampaign Name

MANDATORY

CampaignTypeCampaign Type: SingleShot , Template or Automatic

MANDATORY

FromNameCampaign Sender's Name

MANDATORY

FromAddressCampaign Sender's email address

MANDATORY

ReplyAddressReply Email Address

MANDATORY

SubjectCampaign Subject Line

MANDATORY

ReadFlagKeep Read Report for the Campaign, if false the Read Report will not be kept

MANDATORY

ClickThroughFlagKeep Click Report for the Campaign, if false Click Report will not be kept

MANDATORY

ShareThisFlagPlace "Share" links in the email

MANDATORY

UniqueEmailFlag

If the identifier of your account is something other than EMAIL, this function makes them unique at the time of sending

MANDATORY

HtmlMessageCampaign HTML content

MANDATORY

PreHeaderTextPreview Text

MANDATORY

ExpireDateCampaign Expiration Date

MANDATORY

DeliveryDateCampaign Delivery Date

MANDATORY


CAMPID parameter must be 32 bytes, GUID and uppercase.

HTMLMESSAGE parameter must always have HTML, Head and Body Tags.

If CAMPAIGNTYPE parameter is SingleShot, then a campaign is prepared for one time only send. If this parameter is sent as Template, an operation campaign is created. If it is sent as Automatic, a scheduled campaign will be created.

FROMNAME and FROMADDRESS parameters are pre-defined in your account. You can access these information from settings>sending path.

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <UpdateEmailCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <EmailCampaign>
        <CampaignID>string</CampaignID>
        <Name>string</Name>
        <CampaignType>SingleShot or Template or Automatic</CampaignType>
        <FromName>string</FromName>
        <FromAddress>string</FromAddress>
        <ReplyAddress>string</ReplyAddress>
        <Subject>
          <string>string</string>
          <string>string</string>
        </Subject>
        <Locked>boolean</Locked>
        <ReadFlag>boolean</ReadFlag>
        <ClickThroughFlag>boolean</ClickThroughFlag>
        <ShareThisFlag>boolean</ShareThisFlag>
        <UniqueEmailFlag>boolean</UniqueEmailFlag>
        <RateFlag>boolean</RateFlag>
        <OmnitureFlag>boolean</OmnitureFlag>
        <GoogleAnalytics>boolean</GoogleAnalytics>
        <GoogleUtmSource>string</GoogleUtmSource>
        <GoogleUtmMedium>string</GoogleUtmMedium>
        <GoogleUtmTerm>string</GoogleUtmTerm>
        <GoogleUtmContent>string</GoogleUtmContent>
        <GoogleUtmCampaign>string</GoogleUtmCampaign>
        <Speed>int</Speed>
        <SpamAnalysisScore>string</SpamAnalysisScore>
        <SpamAnalysisDetail>string</SpamAnalysisDetail>
        <ExpireDate>string</ExpireDate>
        <HtmlMessage>string</HtmlMessage>
        <PreHeaderText>string</PreHeaderText>
        <Created>string</Created>
        <Updated>string</Updated>
        <DeliveryDate>string</DeliveryDate>
        <Status>string</Status>
        <PreparedEmailCount>int</PreparedEmailCount>
        <RelayedEmailCount>int</RelayedEmailCount>
        <SentEmailCount>int</SentEmailCount>
        <ReadCount>int</ReadCount>
        <TotalRead>int</TotalRead>
        <SpamCount>int</SpamCount>
        <ClickCount>int</ClickCount>
        <TotalClick>int</TotalClick>
        <HUCount>int</HUCount>
        <SUCount>int</SUCount>
        <TotalUnsubscribed>int</TotalUnsubscribed>
      </EmailCampaign>
    </UpdateEmailCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <UpdateEmailCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <UpdateEmailCampaignResult />
      <EmailCampaign>
        <CampaignID>string</CampaignID>
        <Name>string</Name>
        <CampaignType>SingleShot or Template or Automatic</CampaignType>
        <FromName>string</FromName>
        <FromAddress>string</FromAddress>
        <ReplyAddress>string</ReplyAddress>
        <Subject>
          <string>string</string>
          <string>string</string>
        </Subject>
        <Locked>boolean</Locked>
        <ReadFlag>boolean</ReadFlag>
        <ClickThroughFlag>boolean</ClickThroughFlag>
        <ShareThisFlag>boolean</ShareThisFlag>
        <UniqueEmailFlag>boolean</UniqueEmailFlag>
        <RateFlag>boolean</RateFlag>
        <OmnitureFlag>boolean</OmnitureFlag>
        <GoogleAnalytics>boolean</GoogleAnalytics>
        <GoogleUtmSource>string</GoogleUtmSource>
        <GoogleUtmMedium>string</GoogleUtmMedium>
        <GoogleUtmTerm>string</GoogleUtmTerm>
        <GoogleUtmContent>string</GoogleUtmContent>
        <GoogleUtmCampaign>string</GoogleUtmCampaign>
        <Speed>int</Speed>
        <SpamAnalysisScore>string</SpamAnalysisScore>
        <SpamAnalysisDetail>string</SpamAnalysisDetail>
        <ExpireDate>string</ExpireDate>
        <HtmlMessage>string</HtmlMessage>
        <PreHeaderText>string</PreHeaderText>
        <Created>string</Created>
        <Updated>string</Updated>
        <DeliveryDate>string</DeliveryDate>
        <Status>string</Status>
        <PreparedEmailCount>int</PreparedEmailCount>
        <RelayedEmailCount>int</RelayedEmailCount>
        <SentEmailCount>int</SentEmailCount>
        <ReadCount>int</ReadCount>
        <TotalRead>int</TotalRead>
        <SpamCount>int</SpamCount>
        <ClickCount>int</ClickCount>
        <TotalClick>int</TotalClick>
        <HUCount>int</HUCount>
        <SUCount>int</SUCount>
        <TotalUnsubscribed>int</TotalUnsubscribed>
      </EmailCampaign>
    </UpdateEmailCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, the <CODE> parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99CampaignID already exist!The sent CampID value already exists in the database.
99Campaign ID must be 32 byte guid!CampID parameter does not comply with 32 byte, GUID and uppercase criteria.
99Invalid from address!The FromAddress parameter is not registered in your account.
99Invalid from name!The FromName parameter is not registered in your account.
99Not a valid HTML!HtmlMessage parameter does not contain HTML, head and/or body tags or the HTML format is incorrect.



CancelEmailCampaign 

Back to Top ^

<CancelEmailCampaign>
Cancels an Email Campaign for which sending is not yet complete.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDThe ID of the Campaign to cancel

MANDATORY

ForceCancelIfCampStartedIf this parameter is sent as  true, Campaign sending will be canceled even if it has already started.

MANDATORY

If FORCECANCELIFCAMPSTARTED parameter is sent as false, the campaign with a future scheduled date of sending but not yet sent is canceled.

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CancelEmailCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
      <ForceCancelIfCampStarted>boolean</ForceCancelIfCampStarted>
    </CancelEmailCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CancelEmailCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <CancelEmailCampaignResult />
    </CancelEmailCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid Campaign ID!The CampID value does not exist in the database.



QueryEmailCampaign 

Back to Top ^

<QueryEmailCampaign>
Lists the parameters of an existing Email Campaign.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDCampaign ID

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <QueryEmailCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
    </QueryEmailCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <QueryEmailCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <QueryEmailCampaignResult />
      <EmailCampaign>
        <CampaignID>string</CampaignID>
        <Name>string</Name>
        <CampaignType>SingleShot or Template or Automatic</CampaignType>
        <FromName>string</FromName>
        <FromAddress>string</FromAddress>
        <ReplyAddress>string</ReplyAddress>
        <Subject>
          <string>string</string>
          <string>string</string>
        </Subject>
        <Locked>boolean</Locked>
        <ReadFlag>boolean</ReadFlag>
        <ClickThroughFlag>boolean</ClickThroughFlag>
        <ShareThisFlag>boolean</ShareThisFlag>
        <UniqueEmailFlag>boolean</UniqueEmailFlag>
        <RateFlag>boolean</RateFlag>
        <OmnitureFlag>boolean</OmnitureFlag>
        <GoogleAnalytics>boolean</GoogleAnalytics>
        <GoogleUtmSource>string</GoogleUtmSource>
        <GoogleUtmMedium>string</GoogleUtmMedium>
        <GoogleUtmTerm>string</GoogleUtmTerm>
        <GoogleUtmContent>string</GoogleUtmContent>
        <GoogleUtmCampaign>string</GoogleUtmCampaign>
        <Speed>int</Speed>
        <SpamAnalysisScore>string</SpamAnalysisScore>
        <SpamAnalysisDetail>string</SpamAnalysisDetail>
        <ExpireDate>string</ExpireDate>
        <HtmlMessage>string</HtmlMessage>
        <PreHeaderText>string</PreHeaderText>
        <Created>string</Created>
        <Updated>string</Updated>
        <DeliveryDate>string</DeliveryDate>
        <Status>string</Status>
        <PreparedEmailCount>int</PreparedEmailCount>
        <RelayedEmailCount>int</RelayedEmailCount>
        <SentEmailCount>int</SentEmailCount>
        <ReadCount>int</ReadCount>
        <TotalRead>int</TotalRead>
        <SpamCount>int</SpamCount>
        <ClickCount>int</ClickCount>
        <TotalClick>int</TotalClick>
        <HUCount>int</HUCount>
        <SUCount>int</SUCount>
        <TotalUnsubscribed>int</TotalUnsubscribed>
      </EmailCampaign>
    </QueryEmailCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid Campaign ID!CampID value does not exist in the database.



QueryMemberCampaigns 

Back to Top ^

<QueryMemberCampaigns>
Select campaign summary stats by member id

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

MemberIDThe ID of the Member

MANDATORY

CampaignIdsCampaign ID(s)

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <QueryMemberCampaigns xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <MemberId>string</MemberId>
      <CampaignIds>
        <string>string</string>
        <string>string</string>
      </CampaignIds>
    </QueryMemberCampaigns>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <QueryMemberCampaignsResponse xmlns="http://ws.euromsg.com/campaign">
      <QueryMemberCampaignsResult />
      <CampaignList>
        <CampaignSummary>
          <Id>string</Id>
          <Name>string</Name>
          <Subject>string</Subject>
          <DeliveryDate>string</DeliveryDate>
          <ReadTime>string</ReadTime>
          <DeliveryStatus>string</DeliveryStatus>
          <ClickStatus>string</ClickStatus>
        </CampaignSummary>
        <CampaignSummary>
          <Id>string</Id>
          <Name>string</Name>
          <Subject>string</Subject>
          <DeliveryDate>string</DeliveryDate>
          <ReadTime>string</ReadTime>
          <DeliveryStatus>string</DeliveryStatus>
          <ClickStatus>string</ClickStatus>
        </CampaignSummary>
      </CampaignList>
    </QueryMemberCampaignsResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE>  parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.

SelectCanceledEmailCampaigns 

Back to Top ^

<CancelEmailCampaign>
Lists Cancelled Email Campaigns in a selected date range.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

SinceDayAgoDetermine how many days in retrospect the query will run

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SelectCanceledEmailCampaigns xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <SinceDayAgo>int</SinceDayAgo>
    </SelectCanceledEmailCampaigns>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SelectCanceledEmailCampaignsResponse xmlns="http://ws.euromsg.com/campaign">
      <SelectCanceledEmailCampaignsResult />
      <CampaignList>
        <CanceledEmailCampaign>
          <Id>string</Id>
          <Name>string</Name>
          <Subject>string</Subject>
          <Message>string</Message>
          <ProcessedMessage>string</ProcessedMessage>
          <Created>string</Created>
          <Updated>string</Updated>
          <LanguageID>string</LanguageID>
          <CancelStatus>string</CancelStatus>
        </CanceledEmailCampaign>
        <CanceledEmailCampaign>
          <Id>string</Id>
          <Name>string</Name>
          <Subject>string</Subject>
          <Message>string</Message>
          <ProcessedMessage>string</ProcessedMessage>
          <Created>string</Created>
          <Updated>string</Updated>
          <LanguageID>string</LanguageID>
          <CancelStatus>string</CancelStatus>
        </CanceledEmailCampaign>
      </CampaignList>
    </SelectCanceledEmailCampaignsResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.



SelectOngoingEmailCampaigns 

Back to Top ^

<SelectOngoingEmailCampaigns>
Lists the Ongoing Email Campaigns in a selected date range.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

SinceDayAgoDetermine how many days in retrospect the query will run

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SelectOngoingEmailCampaigns xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <SinceDayAgo>int</SinceDayAgo>
    </SelectOngoingEmailCampaigns>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SelectOngoingEmailCampaignsResponse xmlns="http://ws.euromsg.com/campaign">
      <SelectOngoingEmailCampaignsResult />
      <CampaignList>
        <OngoingEmailCampaign>
          <Id>string</Id>
          <Name>string</Name>
          <Subject>string</Subject>
          <ProcessedMessage>string</ProcessedMessage>
          <Created>string</Created>
          <Updated>string</Updated>
          <LanguageID>string</LanguageID>
        </OngoingEmailCampaign>
        <OngoingEmailCampaign>
          <Id>string</Id>
          <Name>string</Name>
          <Subject>string</Subject>
          <ProcessedMessage>string</ProcessedMessage>
          <Created>string</Created>
          <Updated>string</Updated>
          <LanguageID>string</LanguageID>
        </OngoingEmailCampaign>
      </CampaignList>
    </SelectOngoingEmailCampaignsResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.


Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.



SelectTestedEmailCampaigns 

Back to Top ^

<SelectTestedEmailCampaigns>
Lists the Campaigns for which Test sending was done in a selected date range.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

SinceDayAgoDetermine how many days in retrospect the query will run

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SelectTestedEmailCampaigns xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <SinceDayAgo>int</SinceDayAgo>
    </SelectTestedEmailCampaigns>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SelectTestedEmailCampaignsResponse xmlns="http://ws.euromsg.com/campaign">
      <SelectTestedEmailCampaignsResult />
      <CampaignList>
        <TestedEmailCampaign>
          <Id>string</Id>
          <Name>string</Name>
          <Subject>string</Subject>
          <ProcessedMessage>string</ProcessedMessage>
          <Created>string</Created>
          <Updated>string</Updated>
          <LanguageID>string</LanguageID>
        </TestedEmailCampaign>
        <TestedEmailCampaign>
          <Id>string</Id>
          <Name>string</Name>
          <Subject>string</Subject>
          <ProcessedMessage>string</ProcessedMessage>
          <Created>string</Created>
          <Updated>string</Updated>
          <LanguageID>string</LanguageID>
        </TestedEmailCampaign>
      </CampaignList>
    </SelectTestedEmailCampaignsResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.


Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.



CreateSmsCampaign 

Back to Top ^

<CreateSmsCampaign>
Creates an SMS Campaign.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDID for the new SMS Campaign

MANDATORY

NameCampaign Name

MANDATORY

CampaignTypeCampaign Type:  SingleShot or Template or Automatic

MANDATORY

OriginatorSMS Campaign Sender's Name

MANDATORY

SmsMessageMessage Text

MANDATORY

AlternateSmsMessageAlternative Message Text

MANDATORY

UniqueSmsFlagIf this parameter is true, the repeated GSM numbers in the selected audience are de-duplicated at the time of sending.

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.

You can not use a variable in the alternative message body.

If in the message text, SMS text exceeds 160 characters excluding variables, alternative message text will be sent.

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CreateSmsCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <SmsCampaign>
        <CampaignID>string</CampaignID>
        <Name>string</Name>
        <CampaignType>SingleShot or Template or Automatic</CampaignType>
        <Originator>string</Originator>
        <Locked>boolean</Locked>
        <SmsMessage>string</SmsMessage>
        <AlternateSmsMessage>string</AlternateSmsMessage>
        <UniqueSmsFlag>boolean</UniqueSmsFlag>
        <Created>string</Created>
        <Updated>string</Updated>
        <DeliveryStartDate>string</DeliveryStartDate>
        <Status>string</Status>
      </SmsCampaign>
    </CreateSmsCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CreateSmsCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <CreateSmsCampaignResult />
      <SmsCampaign>
        <CampaignID>string</CampaignID>
        <Name>string</Name>
        <CampaignType>SingleShot or Template or Automatic</CampaignType>
        <Originator>string</Originator>
        <Locked>boolean</Locked>
        <SmsMessage>string</SmsMessage>
        <AlternateSmsMessage>string</AlternateSmsMessage>
        <UniqueSmsFlag>boolean</UniqueSmsFlag>
        <Created>string</Created>
        <Updated>string</Updated>
        <DeliveryStartDate>string</DeliveryStartDate>
        <Status>string</Status>
      </SmsCampaign>
    </CreateSmsCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99CampaignID already exist!CampID value already exists in the database.
99Campaign ID must be 32 byte guid!CampID parameter does not comply with 32 byte, GUID and uppercase criteria.

SendSmsCampaign 

Back to Top ^

<SendSmsCampaign>
Sends an Sms Campaign.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDID for the new SMS Campaign

MANDATORY

DeliveryStartDateTimeCampaign is start date

MANDATORY

DeliveryEndDateTimeCampaign is finish date

MANDATORY

GroupNameGroupName

MANDATORY

ListNameListName

MANDATORY

MarketingPDFLanguageLanguage selection for PDF reports

MANDATORY

AdminReportToEmail address to send administrative campaign reports to

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.

If in the message text, SMS text exceeds 160 characters excluding variables, alternative message text will be sent.

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendSmsCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
      <Preferences>
        <DeliveryStartDateTime>string</DeliveryStartDateTime>
        <DeliveryEndDateTime>string</DeliveryEndDateTime>
        <DemograficFilters>
          <EmFilter>
            <Key>string</Key>
            <Operator>string</Operator>
            <Value>string</Value>
          </EmFilter>
          <EmFilter>
            <Key>string</Key>
            <Operator>string</Operator>
            <Value>string</Value>
          </EmFilter>
        </DemograficFilters>
        <Lists>
          <GroupList>
            <GroupName>string</GroupName>
            <ListName>string</ListName>
          </GroupList>
          <GroupList>
            <GroupName>string</GroupName>
            <ListName>string</ListName>
          </GroupList>
        </Lists>
        <MarketingPDFTo>
          <EmKeyValue>
            <Key>string</Key>
            <Value>string</Value>
          </EmKeyValue>
          <EmKeyValue>
            <Key>string</Key>
            <Value>string</Value>
          </EmKeyValue>
        </MarketingPDFTo>
        <MarketingPDFLanguage>Turkish or English</MarketingPDFLanguage>
        <AdminReportTo>string</AdminReportTo>
      </Preferences>
    </SendSmsCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendSmsCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <SendSmsCampaignResult />
    </SendSmsCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99CampaignID already exist!CampID value already exists in the database.
99Campaign ID must be 32 byte guid!CampID parameter does not comply with 32 byte, GUID and uppercase criteria.

TestSmsCampaign 

Back to Top ^

<TestSmsCampaign>
Test an Sms Campaign.

Parameters


ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDID for the new SMS Campaign

MANDATORY

GroupNameGroupName

MANDATORY

ListNameListName

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.

If in the message text, SMS text exceeds 160 characters excluding variables, alternative message text will be sent.

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <TestSmsCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
      <ListGroup>string</ListGroup>
      <ListName>string</ListName>
    </TestSmsCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <TestSmsCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <TestSmsCampaignResult />
    </TestSmsCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99CampaignID already exist!CampID value already exists in the database.
99Campaign ID must be 32 byte guid!CampID parameter does not comply with 32 byte, GUID and uppercase criteria.

QuerySmsCampaign 

Back to Top ^

<QuerySmsCampaign>
Lists the parameters of an existing Sms Campaign.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDID for the new SMS Campaign

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.
REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <QuerySmsCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
    </QuerySmsCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <QuerySmsCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <QuerySmsCampaignResult />
      <SmsCampaign>
        <CampaignID>string</CampaignID>
        <Name>string</Name>
        <CampaignType>SingleShot or Template or Automatic</CampaignType>
        <Originator>string</Originator>
        <Locked>boolean</Locked>
        <SmsMessage>string</SmsMessage>
        <AlternateSmsMessage>string</AlternateSmsMessage>
        <UniqueSmsFlag>boolean</UniqueSmsFlag>
        <Created>string</Created>
        <Updated>string</Updated>
        <DeliveryStartDate>string</DeliveryStartDate>
        <Status>string</Status>
      </SmsCampaign>
    </QuerySmsCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.



AppendListToCampaign 

Back to Top ^

<AppendListToCampaign>
Append a list to a specific campaign. (For MSCRM integration)

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDThe ID of the Campaign to be updated

MANDATORY

ListGroupListGroup Name

MANDATORY

ListNameListName Name

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AppendListToCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
      <ListGroup>string</ListGroup>
      <ListName>string</ListName>
    </AppendListToCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AppendListToCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <AppendListToCampaignResult />
    </AppendListToCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid Campaign ID!The CampID value does not exist in the database.




LockCampaign

Back to Top ^

<LockCampaign>
Locks a ready-to-go campaign

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDThe ID of the Campaign to be updated

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <LockCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
    </LockCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <LockCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <LockCampaignResult />
    </LockCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid Campaign ID!The CampID value does not exist in the database.

SelectCreatedEmailCampaigns

Back to Top ^

<SelectCreatedEmailCampaigns>
Select new email campaigns within specific days.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

SinceDayAgoDetermine how many days in retrospect the query will run

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SelectCreatedEmailCampaigns xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <SinceDayAgo>int</SinceDayAgo>
    </SelectCreatedEmailCampaigns>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SelectCreatedEmailCampaignsResponse xmlns="http://ws.euromsg.com/campaign">
      <SelectCreatedEmailCampaignsResult />
      <CampaignList>
        <CreatedEmailCampaign>
          <Id>string</Id>
          <Name>string</Name>
          <Subject>string</Subject>
          <Message>string</Message>
          <Created>string</Created>
          <Updated>string</Updated>
          <LanguageID>string</LanguageID>
        </CreatedEmailCampaign>
        <CreatedEmailCampaign>
          <Id>string</Id>
          <Name>string</Name>
          <Subject>string</Subject>
          <Message>string</Message>
          <Created>string</Created>
          <Updated>string</Updated>
          <LanguageID>string</LanguageID>
        </CreatedEmailCampaign>
      </CampaignList>
    </SelectCreatedEmailCampaignsResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.

SelectScheduledEmailCampaigns

Back to Top ^

<SelectScheduledEmailCampaigns>
Select scheduled email campaigns and their status within specific days.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

SinceDayAgoDetermine how many days in retrospect the query will run

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SelectScheduledEmailCampaigns xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <SinceDayAgo>int</SinceDayAgo>
    </SelectScheduledEmailCampaigns>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SelectScheduledEmailCampaignsResponse xmlns="http://ws.euromsg.com/campaign">
      <SelectScheduledEmailCampaignsResult />
      <CampaignList>
        <ScheduledEmailCampaign>
          <Id>string</Id>
          <Name>string</Name>
          <Subject>string</Subject>
          <Message>string</Message>
          <ProcessedMessage>string</ProcessedMessage>
          <Created>string</Created>
          <Updated>string</Updated>
          <LanguageID>string</LanguageID>
          <DeliveryDate>string</DeliveryDate>
        </ScheduledEmailCampaign>
        <ScheduledEmailCampaign>
          <Id>string</Id>
          <Name>string</Name>
          <Subject>string</Subject>
          <Message>string</Message>
          <ProcessedMessage>string</ProcessedMessage>
          <Created>string</Created>
          <Updated>string</Updated>
          <LanguageID>string</LanguageID>
          <DeliveryDate>string</DeliveryDate>
        </ScheduledEmailCampaign>
      </CampaignList>
    </SelectScheduledEmailCampaignsResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.

SendEmailCampaignWithExtendedOptions

Back to Top ^

<SendEmailCampaignWithExtendedOptions>
Sends an Email Campaign with external options

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDNew Campaign ID

MANDATORY

DeliveryDateTimeCampaign Sending Time

MANDATORY

DemograficFiltersDemographic criteria selected in campaign

MANDATORY

GroupListInterest lists recipient source

MANDATORY

MarketingPDFToEmail address to send campaign reports to

MANDATORY

MarketingPDFLanguageLanguage selection for PDF reports

MANDATORY

AdminReportToEmail address to send administrative campaign reports to

MANDATORY

SubjectOptimizationSubject Optimization Parameter

MANDATORY

ExtendedOptionsDefines a key value pair to send an email campaign with external parameters.

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.

If CAMPAIGNTYPE parameter is SingleShot, then a campaign is prepared for one time only send. If this parameter is sent as Template, an operation campaign is created. If it is sent as Automatic, a scheduled campaign will be created.

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendEmailCampaignWithExtendedOptions xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
      <Preferences>
        <DeliveryDateTime>string</DeliveryDateTime>
        <DemograficFilters>
          <EmFilter>
            <Key>string</Key>
            <Operator>string</Operator>
            <Value>string</Value>
          </EmFilter>
          <EmFilter>
            <Key>string</Key>
            <Operator>string</Operator>
            <Value>string</Value>
          </EmFilter>
        </DemograficFilters>
        <Lists>
          <GroupList>
            <GroupName>string</GroupName>
            <ListName>string</ListName>
          </GroupList>
          <GroupList>
            <GroupName>string</GroupName>
            <ListName>string</ListName>
          </GroupList>
        </Lists>
        <MarketingPDFTo>
          <EmKeyValue>
            <Key>string</Key>
            <Value>string</Value>
          </EmKeyValue>
          <EmKeyValue>
            <Key>string</Key>
            <Value>string</Value>
          </EmKeyValue>
        </MarketingPDFTo>
        <MarketingPDFLanguage>Turkish or English</MarketingPDFLanguage>
        <AdminReportTo>string</AdminReportTo>
        <SubjectOptimization>
          <Target>short</Target>
          <WaitInHour>short</WaitInHour>
        </SubjectOptimization>
      </Preferences>
      <ExtendedOptions>
        <EmKeyValue>
          <Key>string</Key>
          <Value>string</Value>
        </EmKeyValue>
        <EmKeyValue>
          <Key>string</Key>
          <Value>string</Value>
        </EmKeyValue>
      </ExtendedOptions>
    </SendEmailCampaignWithExtendedOptions>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendEmailCampaignWithExtendedOptionsResponse xmlns="http://ws.euromsg.com/campaign">
      <SendEmailCampaignWithExtendedOptionsResult />
    </SendEmailCampaignWithExtendedOptionsResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.


Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99CampaignID already exist!The sent CampID value already exists in the database.
99Campaign ID must be 32 byte guid!CampID parameter does not comply with 32 byte, GUID and uppercase criteria.
99Not a valid HTML!HtmlMessage parameter does not contain HTML, head and/or body tags or the HTML format is incorrect.



StartEmailCampaign

Back to Top ^

<StartEmailCampaign>
Starts an e-mail which is stopped before.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDThe ID of the Campaign to cancel

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <StartEmailCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
    </StartEmailCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <StartEmailCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <StartEmailCampaignResult />
    </StartEmailCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid Campaign ID!The CampID value does not exist in the database.

StopEmailCampaign

Back to Top ^

<StopEmailCampaign>
Stops an e-mail campaign which is in send status.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDThe ID of the Campaign to cancel

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <StopEmailCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
    </StopEmailCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <StopEmailCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <StopEmailCampaignResult />
    </StopEmailCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid Campaign ID!The CampID value does not exist in the database.

UnlockCampaign

Back to Top ^

<UnlockCampaign>
Unlocks a ready-to-go campaign.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDThe ID of the Campaign to cancel

MANDATORY

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <UnlockCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
    </UnlockCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <UnlockCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <UnlockCampaignResult />
    </UnlockCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid Campaign ID!The CampID value does not exist in the database.

UpdateSmsCampaign

Back to Top ^

<UpdateSmsCampaign>
Updates an SMS campaign. If the campaign does not exist, it creates a new one.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDID for the new SMS Campaign

MANDATORY

NameCampaign Name

MANDATORY

CampaignTypeCampaign Type:  SingleShot or Template or Automatic

MANDATORY

OriginatorSMS Campaign Sender's Name

MANDATORY

SmsMessageMessage Text

MANDATORY

AlternateSmsMessageAlternative Message Text

MANDATORY

UniqueSmsFlagIf this parameter is true, the repeated GSM numbers in the selected audience are de-duplicated at the time of sending.

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.

You can not use a variable in the alternative message body.

If in the message text, SMS text exceeds 160 characters excluding variables, alternative message text will be sent.

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <UpdateSmsCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <SmsCampaign>
        <CampaignID>string</CampaignID>
        <Name>string</Name>
        <CampaignType>SingleShot or Template or Automatic</CampaignType>
        <Originator>string</Originator>
        <Locked>boolean</Locked>
        <SmsMessage>string</SmsMessage>
        <AlternateSmsMessage>string</AlternateSmsMessage>
        <UniqueSmsFlag>boolean</UniqueSmsFlag>
        <Created>string</Created>
        <Updated>string</Updated>
        <DeliveryStartDate>string</DeliveryStartDate>
        <Status>string</Status>
      </SmsCampaign>
    </UpdateSmsCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <UpdateSmsCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <UpdateSmsCampaignResult />
      <SmsCampaign>
        <CampaignID>string</CampaignID>
        <Name>string</Name>
        <CampaignType>SingleShot or Template or Automatic</CampaignType>
        <Originator>string</Originator>
        <Locked>boolean</Locked>
        <SmsMessage>string</SmsMessage>
        <AlternateSmsMessage>string</AlternateSmsMessage>
        <UniqueSmsFlag>boolean</UniqueSmsFlag>
        <Created>string</Created>
        <Updated>string</Updated>
        <DeliveryStartDate>string</DeliveryStartDate>
        <Status>string</Status>
      </SmsCampaign>
    </UpdateSmsCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99CampaignID already exist!CampID value already exists in the database.
99Campaign ID must be 32 byte guid!CampID parameter does not comply with 32 byte, GUID and uppercase criteria.





CancelSmsCampaign

Back to Top ^

<CancelSmsCampaign>
Cancels SMS campaigns.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDID for the new SMS Campaign

MANDATORY

ForceCancelIfCampStartedForces to cancel

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.

You can not use a variable in the alternative message body.

If in the message text, SMS text exceeds 160 characters excluding variables, alternative message text will be sent.

REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CancelSmsCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
      <ForceCancelIfCampStarted>boolean</ForceCancelIfCampStarted>
    </CancelSmsCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CancelSmsCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <CancelSmsCampaignResult />
    </CancelSmsCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid Campaign IDCampID parameter does not comply with 32 byte, GUID and uppercase criteria.
99Campaign in wrong stateCampaign state must be LIVE, PREPARING or PREPARED
99Campaign cancel started alreadyCampaign cancel process started


CancelPushCampaign

Back to Top ^

<CancelPushCampaign>
Cancels push campaigns.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDID for the new SMS Campaign

MANDATORY

ForceCancelIfCampStartedForces to cancel

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.
REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CancelPushCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
      <ForceCancelIfCampStarted>boolean</ForceCancelIfCampStarted>
    </CancelPushCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CancelPushCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <CancelPushCampaignResult />
    </CancelPushCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid Campaign IDCampID parameter does not comply with 32 byte, GUID and uppercase criteria.
99Campaign in wrong stateCampaign state must be LIVE, PREPARING or PREPARED
99Campaign cancel started alreadyCampaign cancel process started



StopPushCampaign

Back to Top ^

<StopPushCampaign>
Stops a push which is in send status.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDID for the new SMS Campaign

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.
REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <StopPushCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
    </StopPushCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <StopPushCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <StopPushCampaignResult />
    </StopPushCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid Campaign IDCampID parameter does not comply with 32 byte, GUID and uppercase criteria.
99Campaign in wrong stateCampaign state must be LIVE, PREPARING or PREPARED



StartPushCampaign

Back to Top ^

<StartPushCampaign>
Restarts a previously stopped push campaign.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDID for the new SMS Campaign

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.
REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <StartPushCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
    </StartPushCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <StartPushCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <StartPushCampaignResult />
    </StartPushCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid Campaign IDCampID parameter does not comply with 32 byte, GUID and uppercase criteria.
99Campaign in wrong stateCampaign state must be LIVE, PREPARING or PREPARED


CancelWebPushCampaign

Back to Top ^

<CancelWebPushCampaign>
Cancels web push campaigns.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDID for the new SMS Campaign

MANDATORY

ForceCancelIfCampStartedForces to cancel

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.
REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CancelWebPushCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
      <ForceCancelIfCampStarted>boolean</ForceCancelIfCampStarted>
    </CancelWebPushCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CancelWebPushCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <CancelWebPushCampaignResult />
    </CancelWebPushCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid Campaign IDCampID parameter does not comply with 32 byte, GUID and uppercase criteria.
99Campaign in wrong stateCampaign state must be LIVE, PREPARING or PREPARED
99Campaign cancel started alreadyCampaign cancel process started


StopWebPushCampaign

Back to Top ^

<StopWebPushCampaign>
Stops a web push which is in send status.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDID for the new Web Push Campaign

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.
REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <StopWebPushCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
    </StopWebPushCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <StopWebPushCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <StopWebPushCampaignResult />
    </StopWebPushCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid Campaign IDCampID parameter does not comply with 32 byte, GUID and uppercase criteria.
99Campaign in wrong stateCampaign state must be LIVE, PREPARING or PREPARED





StartWebPushCampaign

Back to Top ^

<StartWebPushCampaign>
Restarts a previously stopped Web Push campaign.

Parameters

ParameterValue
ServiceTicketServiceTicket obtained through Login

MANDATORY

CampaignIDID for the new Web Push Campaign

MANDATORY

CAMPID parameter must be 32 bytes, GUID and uppercase.
REQUEST EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <StartWebPushCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
    </StartWebPushCampaign>
  </soap12:Body>
</soap12:Envelope>
RESPONSE EXAMPLE
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <StartWebPushCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <StartWebPushCampaignResult />
    </StartWebPushCampaignResponse>
  </soap12:Body>
</soap12:Envelope>

If the request was successful, <CODE> the parameter will return 00  as a response.

Error Parameters

CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid Campaign IDCampID parameter does not comply with 32 byte, GUID and uppercase criteria.
99Campaign in wrong state

Campaign state must be LIVE, PREPARING or PREPARED



Parent Topic: SOAP Web Service

Copyright 2020 Related Digital