Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 25 Next »

POST 

Service URLcampaign.asmx

 

Campaign web servisini kullanarak, yeni bir email veya sms kampanyası yaratma, hesapta bulunan kampanyaları sorgulama, kampanya durdurma, test emaili gönderme gibi işlemleri yapabilirsiniz.

Campaign web servisine ait aşağıda ki metodlar bulunmaktadır.

 

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.
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 and their status within specific days.
SelectCreatedEmailCampaignsSelects new email campaigns within specific days.
SelectOngoingEmailCampaignsSelects ready-to-go ongoing email campaigns within specific days.
SelectScheduledEmailCampaignsSelects scheduled email campaigns and their status within specific days.
SelectTestedEmailCampaignsSelects ready-to-go email campaigns within specific days.
SendEmailCampaignSets an email 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.
UpdateSmsCampaignUpdates an SMS campaign. If the campaign does not exist, it creates it.

 

 

Geliştiricinin her hangi bir web servis ile etkileşime geçebilmesi için, öncelikle Login metodunu kullanarak bir  SERVICE TICKET alması gerekir. Diğer web servis ve metodlarına yaratmış olduğu bu değer ile istekte bulunabilir.

 


CreateEmailCampaign 

Back to Top ^

<CreateEmailCampaign>
Bir e-posta kampanyası oluşturmak için kullanılır.

Parametreler

 

ParametreDeğer 
ServiceTicketLogin aksiyonu ile elde edilen ServiceTicket

MANDATORY

CampaignIDOluşturulacak kampanyanın ID’si

MANDATORY

NameKampanyanın ismi

MANDATORY

CampaignTypeKampanyanın tipi. SingleShot , Template veya Automatic

MANDATORY

FromNameKampanyanın gönderen ismi

MANDATORY

FromAddressKampanyanın gönderen e-posta adresi

MANDATORY

ReplyAddressCevap e-posta adresi

MANDATORY

SubjectKampanyanın konu başlığı

MANDATORY

ReadFlagKampanyada okuma raporu tutulsun. Eğer false ise okuma raporu tutulmaz.

MANDATORY

ClickThroughFlagKampanyada tıklama raporu tutulsun. Eğer false ise tıklama raporu tutulmaz.

MANDATORY

ShareThisFlagE-postada “paylaş” linkleri yer alsın.

MANDATORY

UniqueEmailFlagEğer hesabınızın referansı EMAIL’den farklı bir bilgi ise, çoklayan e-postaları gönderim esnasında tekilleştirir.

MANDATORY

HtmlMessageKampanyanın html içeriği

MANDATORY

PreHeaderTextÖn izleme metni

MANDATORY

ExpireDateKampanyanın son geçerlilik tarihi

MANDATORY

DeliveryDateGönderim tarihi

MANDATORY

CAMPID parametresi mutlaka 32byte, GUID ve uppercase olmalıdır.

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.

ORNEK REQUEST
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap: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>
  </soap:Body>
</soap:Envelope>
ORNEK RESPONSE
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap: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>
  </soap:Body>
</soap:Envelope>

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

Hata Parametreleri

 

CodeMessageDetailedMessageAçıklama
9998No session. Please try re-logon. Login metodu çalıştırılmamış. Aktif oturum yok.
99CampaignID already exist! Gönderilen CampID değerinin veri tabanında kayıtlı olduğunu ifade eder.
99Campaign ID must be 32 byte guid! CampID parametresi 32 byte, GUID ve uppercase kriterlerine uymadığını gösterir.
99Invalid from address! Gönderilen FromAddress parametresinin hesabınızda kayıtlı olmadığını ifade eder.
99Invalid from name! Gönderilen FromName parametresinin hesabınızda kayıtlı olmadığını ifade eder.
99Not a valid HTML! HtmlMessage parametresinde html, head ve/veya body taglerinin yer almadığını yada html formatının hatalı olduğunu gösterir. 

 


SendEmailCampaign 

Back to Top ^

<SendEmailCampaign>
Bir e-posta kampanyası göndermek için kullanılır.

Parametreler 

 

ParametreDeğer 
ServiceTicketLogin aksiyonu ile elde edilen ServiceTicket

MANDATORY

CampaignIDOluşturulacak kampanyanın ID’si

MANDATORY

DeliveryDateTimeKampanyanın ismi

MANDATORY

DemograficFiltersKampanyanın tipi. SingleShot veya Template veya Automatic

MANDATORY

GroupListKampanyanın gönderen ismi

MANDATORY

MarketingPDFToKampanyanın gönderen e-posta adresi

MANDATORY

MarketingPDFLanguageCevap e-posta adresi

 

MANDATORY
AdminReportToKampanyanın konu başlığı

MANDATORY

SubjectOptimizationKampanyada okuma raporu tutulsun. Eğer false ise okuma raporu tutulmaz.

MANDATORY

 

 

CAMPID parametresi mutlaka 32byte, GUID ve uppercase olmalıdır.

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.

 

 

ORNEK REQUEST
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap: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>
  </soap:Body>
</soap:Envelope>
ORNEK RESPONSE
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SendEmailCampaignResponse xmlns="http://ws.euromsg.com/campaign">
      <SendEmailCampaignResult />
    </SendEmailCampaignResponse>
  </soap:Body>
</soap:Envelope>

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

 

Hata Parametreleri

 

CodeMessageDetailedMessageAçıklama
9998No session. Please try re-logon. Login metodu çalıştırılmamış. Aktif oturum yok.
99CampaignID already exist! Gönderilen CampID değerinin veri tabanında kayıtlı olduğunu ifade eder.
99Campaign ID must be 32 byte guid! CampID parametresi 32 byte, GUID ve uppercase kriterlerine uymadığını gösterir.
99Invalid from address! Gönderilen FromAddress parametresinin hesabınızda kayıtlı olmadığını ifade eder.
99Invalid from name! Gönderilen FromName parametresinin hesabınızda kayıtlı olmadığını ifade eder.
99Not a valid HTML! HtmlMessage parametresinde html, head ve/veya body taglerinin yer almadığını yada html formatının hatalı olduğunu gösterir.

 


UpdateEmailCampaign 

Back to Top ^

<UpdateEmailCampaign>
Taslak olarak yer alan bir e-posta kampanyasını güncellemek için kullanılır.

Parametreler

 

ParametreDeğer 
ServiceTicketLogin aksiyonu ile elde edilen ServiceTicket

MANDATORY

CampaignIDGüncellenecek kampanyanın ID’si

MANDATORY

NameKampanyanın ismi

MANDATORY

CampaignTypeKampanyanın tipi. SingleShot veya Template veya Automatic

MANDATORY

FromNameKampanyanın gönderen ismi

MANDATORY

FromAddressKampanyanın gönderen e-posta adresi

MANDATORY

ReplyAddressCevap e-posta adresi

MANDATORY

SubjectKampanyanın konu başlığı

MANDATORY

ReadFlagKampanyada okuma raporu tutulsun. Eğer false ise okuma raporu tutulmaz.

MANDATORY

ClickThroughFlagKampanyada tıklama raporu tutulsun. Eğer false ise tıklama raporu tutulmaz.

MANDATORY

ShareThisFlagE-postada “paylaş” linkleri yer alsın.

MANDATORY

UniqueEmailFlagEğer hesabınızın referansı EMAIL’den farklı bir bilgi ise, çoklayan e-postaları gönderim esnasında tekilleştirir.

MANDATORY

HtmlMessageKampanyanın html içeriği

MANDATORY

PreHeaderTextÖn izleme metni

MANDATORY

ExpireDateKampanyanın son geçerlilik tarihi

MANDATORY

DeliveryDateGönderim tarihi

MANDATORY

 

 

CAMPID parametresi mutlaka 32byte, GUID ve uppercase olmalıdır.

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.

ORNEK REQUEST
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap: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>
  </soap:Body>
</soap:Envelope>
ORNEK RESPONSE
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap: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>
  </soap:Body>
</soap:Envelope>

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

Hata Parametreleri

 

CodeMessageDetailedMessageAçıklama
9998No session. Please try re-logon. Login metodu çalıştırılmamış. Aktif oturum yok.
99CampaignID already exist! Gönderilen CampID değerinin veri tabanında kayıtlı olduğunu ifade eder.
99Campaign ID must be 32 byte guid! CampID parametresi 32 byte, GUID ve uppercase kriterlerine uymadığını gösterir.
99Invalid from address! Gönderilen FromAddress parametresinin hesabınızda kayıtlı olmadığını ifade eder.
99Invalid from name! Gönderilen FromName parametresinin hesabınızda kayıtlı olmadığını ifade eder.
99Not a valid HTML! HtmlMessage parametresinde html, head ve/veya body taglerinin yer almadığını yada html formatının hatalı olduğunu gösterir.

 


CancelEmailCampaign 

Back to Top ^

<CancelEmailCampaign>
Gönderimi henüz tamamlanmamış bir kampanyayı iptal etmeyi sağlar.

Parametreler

 

ParametreDeğer 
ServiceTicketLogin aksiyonu ile elde edilen ServiceTicket

MANDATORY

CampaignIDİptal edilecek kampanyanın ID’si

MANDATORY

ForceCancelIfCampStartedEğer bu parametre true olarak gönderilirse, kampanya gönderimi başlamışsa bile iptal edilir.

MANDATORY

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

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

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

Hata Parametreleri

 

CodeMessageDetailedMessageAçıklama
9998No session. Please try re-logon. Login metodu çalıştırılmamış. Aktif oturum yok.
99Not a valid Campaign ID! Gönderilen CampID değerinin veri tabanında kayıtlı olmadığını ifade eder.

 


QueryEmailCampaign 

Back to Top ^

<QueryEmailCampaign>
Mevcut bir kampanyanın parametrelerini listeler.

Parametreler

 

ParametreDeğer 
ServiceTicketLogin aksiyonu ile elde edilen ServiceTicket

MANDATORY

CampaignIDİptal edilecek kampanyanın ID’si

MANDATORY

ORNEK REQUEST
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <QueryEmailCampaign xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <CampaignId>string</CampaignId>
    </QueryEmailCampaign>
  </soap:Body>
</soap:Envelope>
ORNEK RESPONSE
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap: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>
  </soap:Body>
</soap:Envelope> 

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

Hata Parametreleri

 

CodeMessageDetailedMessageAçıklama
9998No session. Please try re-logon. Login metodu çalıştırılmamış. Aktif oturum yok.
99Not a valid Campaign ID! Gönderilen CampID değerinin veri tabanında kayıtlı olmadığını ifade eder.

 


SelectCanceledEmailCampaigns 

Back to Top ^

<CancelEmailCampaign>
Belli bir tarih aralığında iptal edilen kampanyaları listeler.

Parametreler

 

ParametreDeğer 
ServiceTicketLogin aksiyonu ile elde edilen ServiceTicket

MANDATORY

SinceDayAgoGünümüzden kaç gün geriye dönük sorgulama yapılacağını ifade eder.

MANDATORY

ORNEK REQUEST
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SelectCanceledEmailCampaigns xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <SinceDayAgo>int</SinceDayAgo>
    </SelectCanceledEmailCampaigns>
  </soap:Body>
</soap:Envelope>

 

 

ORNEK RESPONSE
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap: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>
  </soap:Body>
</soap:Envelope>

 

 

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

Hata Parametreleri

 

CodeMessageDetailedMessageAçıklama
9998No session. Please try re-logon. Login metodu çalıştırılmamış. Aktif oturum yok.

 


SelectOngoingEmailCampaigns 

Back to Top ^

<SelectOngoingEmailCampaigns>
Belli bir tarih aralığında oluşturulmuş işlem kampanyalarını listeler.

Parametreler

 

ParametreDeğer 
ServiceTicketLogin aksiyonu ile elde edilen ServiceTicket

MANDATORY

SinceDayAgoGünümüzden kaç gün geriye dönük sorgulama yapılacağını ifade eder.

MANDATORY

ORNEK REQUEST
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SelectOngoingEmailCampaigns xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <SinceDayAgo>int</SinceDayAgo>
    </SelectOngoingEmailCampaigns>
  </soap:Body>
</soap:Envelope>
ORNEK RESPONSE
 <?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap: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>
  </soap:Body>
</soap:Envelope>

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

 

Hata Parametreleri

 

CodeMessageDetailedMessageAçıklama
9998No session. Please try re-logon. Login metodu çalıştırılmamış. Aktif oturum yok.

 


SelectTestedEmailCampaigns 

Back to Top ^

<SelectTestedEmailCampaigns>
Belli bir tarih aralığında test gönderimi yapılmuış kampanyaları listeler.

Parametreler

 

ParametreDeğer 
ServiceTicketLogin aksiyonu ile elde edilen ServiceTicket

MANDATORY

SinceDayAgoGünümüzden kaç gün geriye dönük sorgulama yapılacağını ifade eder.

MANDATORY

ORNEK REQUEST
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SelectTestedEmailCampaigns xmlns="http://ws.euromsg.com/campaign">
      <ServiceTicket>string</ServiceTicket>
      <SinceDayAgo>int</SinceDayAgo>
    </SelectTestedEmailCampaigns>
  </soap:Body>
</soap:Envelope>
ORNEK RESPONSE
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap: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>
  </soap:Body>
</soap:Envelope>

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

 

Hata Parametreleri

 

CodeMessageDetailedMessageAçıklama
9998No session. Please try re-logon. Login metodu çalıştırılmamış. Aktif oturum yok.

 


CreateSmsCampaign 

Back to Top ^

<CreateSmsCampaign>
Bir sms kampanya oluşturmayı sağlar.

Parametreler

 

ParametreDeğer 
ServiceTicketLogin aksiyonu ile elde edilen ServiceTicket

MANDATORY

CampaignIDOluşturulacak sms kampanyasının ID’si

MANDATORY

NameKampanya ismi

MANDATORY

CampaignTypeKampanyanın tipi. Kampanyanın tipi. SingleShot veya Template veya Automatic

MANDATORY

OriginatorSms gönderici ismi

MANDATORY

SmsMessageMesaj metni

MANDATORY

AlternateSmsMessageAlternatif mesaj metni

MANDATORY

UniqueSmsFlagBu parametre true ise seçilen kitlede tekrarlayan gsm numaraları gönderim esnasında smsler tekilleştirilir.

MANDATORY

CAMPID parametresi mutlaka 32byte, GUID ve uppercase olmalıdır.

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

Eğer mesaj metninde değişkenler değil sms metni 160 karakteri geçerse, alternatif mesaj metni gönderilecektir.

ORNEK REQUEST
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap: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>
  </soap:Body>
</soap:Envelope>
ORNEK RESPONSE
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap: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>
  </soap:Body>
</soap:Envelope>

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

Hata Parametreleri

 

CodeMessageDetailedMessageAçıklama
9998No session. Please try re-logon. Login metodu çalıştırılmamış. Aktif oturum yok.
99CampaignID already exist! Gönderilen CampID değerinin veri tabanında kayıtlı olduğunu ifade eder.
99Campaign ID must be 32 byte guid! CampID parametresi 32 byte, GUID ve uppercase kriterlerine uymadığını gösterir.

 

 

 

 

 

 

 

 

  • No labels