Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
colourGreen
titlepost
 
Anchor
toptran
toptran

Service URLpost.asmx

General Information

Transactional emails are emails that are typically related to system or account related activity triggered by customer interactions with your brand. Common examples of these emails are: 

  • Password reminders / resets
  • System notifications
  • Order confirmation
  • Verification messages
  • Shipping confirmation



Transactional Email Web Service Methods 

The following table lists supported methods in Transactional Email Web Service and provides a brief description of each method. Click on the method name for more information:



Method

Description

GetPostBulkBounceResult

Queries the transactional emails reported as Hard Bounce or Soft Bounce between two dates.

GetPostBulkResult

Queries the status of transactional emails sent between two dates.

GetPostBulkResultByLastUpdate

Queries the transactional emails with changed results (read, reported as invalid etc) between two dates.

GetPostBulkResultByPostId

Queries the status of transactional emails related to the PostIDs.

GetPostBulkResultWithOptional

Queries the status of transactional emails between two dates with Optional Post Type and To Adress.

GetPostResult

Queries the status of a transactional email sent.

PostHtml

Enables free-HtGetPostBulkResultByPostIdml posting.

PostHtmlWithCCandBCC

Enables free-Html posting with CC and BCC. Be aware that these CC and BCC emails may affect the reporting of transactional emails. Please use them after consulting the RMC IT Support Team.

PostHtmlWithType

Enables free-Html posting with type.

PostHtmlWithTypeCCandBCC

Enables free-Html posting with type and with CC and BCC. Be aware that these CC and BCC emails may affect the reporting of transactional emails. Please use them after consulting RMC Support Team.

PostHtmlWithTypeKeyIDAndCustomParams

Enables free-Html posting with Type, Key_ID and Custom Fields.

PostTransactionalEmailWithHtmlTemplate

Enables Transactional Email with HTML Template posting.

PostTransactionalEmailWithXsltTemplate

Enables Transactional Email with XSLT Template posting.




Warning

To interact with any Web Services, developers must first use the Login method to create a

Status
subtletrue
colourRed
title Service Ticket
. Developers can send requests to other Web Service and methods using this
Status
subtletrue
colourRed
title Service Ticket
.



PostHtml 
Anchor
posthtml
posthtml

Back to Top ^

<PostHtml>
Enables free-Html posting.

Parameters


ParameterValue
ServiceTicketServiceTicket obtained through Login

Status
colourGreen
titlemandatory

FromNameSender's name

Status
colourGreen
titlemandatory

FromAddressSender's email address

Status
colourGreen
titlemandatory

ReplyAddressReply address that will appear on the email

Status
colourGreen
titlemandatory

SubjectEmail subject

Status
colourGreen
titlemandatory

HtmlBodyEmail content

Status
colourGreen
titlemandatory

CharsetCharacter set for HTML

Status
colourGreen
titlemandatory

ToNameRecipient's name

Status
colourGreen
titlemandatory

ToEmailAddressRecipient's email address

Status
colourGreen
titlemandatory

AttachmentsAttachments to be included in the email

Status
colourYellow
titleoptional

Code Block
languagexml
titleREQUEST EXAMPLE
linenumberstrue
<?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>
    <PostHtml xmlns="http://api.relateddigital.com/post">
      <ServiceTicket>string</ServiceTicket>
      <FromName>string</FromName>
      <FromAddress>string</FromAddress>
      <ReplyAddress>string</ReplyAddress>
      <Subject>string</Subject>
      <HtmlBody>string</HtmlBody>
      <Charset>string</Charset>
      <ToName>string</ToName>
      <ToEmailAddress>string</ToEmailAddress>
      <Attachments>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
      </Attachments>
    </PostHtml>
  </soap:Body>
</soap:Envelope>
Code Block
languagexml
titleRESPONSE EXAMPLE
linenumberstrue
<?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>
    <PostHtmlResponse xmlns="http://api.relateddigital.com/post">
      <PostHtmlResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
        <ToAddress>string</ToAddress>
      </PostHtmlResult>
    </PostHtmlResponse>
  </soap:Body>
</soap:Envelope>
Tip

If the request was successful, the

Status
subtletrue
colourRed
titleCode
 parameter will return
Status
subtletrue
colourRed
title00
as a response.

Note

Status
subtletrue
colourRed
titleHtmlBody
parameter must always have HTML, Head and Body Tags.

Note

Status
subtletrue
colourRed
titleFromName
and
Status
subtletrue
colourRed
titleFromAddress
 
parameters are pre-defined in your account. You can access these information from settings>sending path.

Note

This service allows you to send informative emails only based on user's actions like account activation, password reset, order confirmation. Advertising/promotional content are excluded. Please contact RMC Technical Client Support Team to obtain more information about sending transactional emails with promotional content.

Error Parameters


CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid email address!Incorrect/invalid sender email address.
99Not a valid from name!The FromName information was not defined in your account.
99Not a valid from address!The  FromAdress information was not defined in your account.
99Email address exist in blacklist!A previous transactional email was marked as spam by email recipient.
99Not a valid HTML!HTML content format is incorrect.



PostHtmlWithType 
Anchor
posthtmwtype
posthtmwtype

Back to Top ^

<PostHtmlWithType>
Enables free-Html posting with type.

Parameters


ParameterValue
ServiceTicketServiceTicket obtained through Login

Status
colourGreen
titlemandatory

FromNameSender's name

Status
colourGreen
titlemandatory

FromAddressSender's email address

Status
colourGreen
titlemandatory

ReplyAddressReply address that will appear on the email

Status
colourGreen
titlemandatory

SubjectEmail subject

Status
colourGreen
titlemandatory

HtmlBodyEmail content

Status
colourGreen
titlemandatory

CharsetCharacter set for HTML

Status
colourGreen
titlemandatory

ToNameRecipient's name

Status
colourGreen
titlemandatory

ToEmailAddressRecipient's email address

Status
colourGreen
titlemandatory

AttachmentsAttachments to be included in the email

Status
colourYellow
titleoptional

PostTypeType of the email to be sent

Status
colourGreen
titlemandatory



Code Block
languagexml
titleREQUEST EXAMPLE
linenumberstrue
<?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>
    <PostHtmlWithType xmlns="http://api.relateddigital.com/post">
      <ServiceTicket>string</ServiceTicket>
      <FromName>string</FromName>
      <FromAddress>string</FromAddress>
      <ReplyAddress>string</ReplyAddress>
      <Subject>string</Subject>
      <HtmlBody>string</HtmlBody>
      <Charset>string</Charset>
      <ToName>string</ToName>
      <ToEmailAddress>string</ToEmailAddress>
      <Attachments>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
      </Attachments>
      <PostType>string</PostType>
    </PostHtmlWithType>
  </soap:Body>
</soap:Envelope>
Code Block
languagexml
titleRESPONSE EXAMPLE
linenumberstrue
<?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>
    <PostHtmlWithTypeResponse xmlns="http://api.relateddigital.com/post">
      <PostHtmlWithTypeResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
        <ToAddress>string</ToAddress>
      </PostHtmlWithTypeResult>
    </PostHtmlWithTypeResponse>
  </soap:Body>
</soap:Envelope>
Tip

If the request was successful, the

Status
subtletrue
colourRed
titleCode
 parameter will return
Status
subtletrue
colourRed
title00
as a response.

Note

Status
subtletrue
colourRed
titleHtmlBody
parameter must always have HTML, Head and Body Tags.

Note

Status
subtletrue
colourRed
titleFromName
and
Status
subtletrue
colourRed
titleFromAddress
 
parameters are pre-defined in your account. You can access these information from settings>sending path.



Note

PostType parameter is used to group the sent SMS messages for reporting purposes. This is not a predefined parameter. For example for email Password Reminder messages

Status
subtletrue
colourRed
titlePassword Reminder
 can be be used as value.

Note

This service allows you to send informative emails only based on user's actions like account activation, password reset, order confirmation. Advertising/promotional content are excluded. Please contact RMC Technical Client Support to obtain more information about sending transactional emails with promotional content.

Error Parameters


CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid email address!Incorrect/invalid sender email address.
99Not a valid from name!The FromName information was not defined in your account.
99Not a valid from address!The  FromAdress information was not defined in your account.
99Email address exist in blacklist!A previous transactional email was marked as spam by email recipient.
99Not a valid HTML!HTML content format is incorrect.



PostHtmlWithCCandBCC 
Anchor
postwccnbcc
postwccnbcc

Back to Top ^

<PostHtmlWithCCandBCC>
Enables free-Html posting with CC and BCC.

Parameters


ParameterValue
ServiceTicketServiceTicket obtained through Login

Status
colourGreen
titlemandatory

FromNameSender's name

Status
colourGreen
titlemandatory

FromAddressSender's email address

Status
colourGreen
titlemandatory

ReplyAddressReply address that will appear on the email

Status
colourGreen
titlemandatory

SubjectEmail subject

Status
colourGreen
titlemandatory

HtmlBodyEmail content

Status
colourGreen
titlemandatory

CharsetCharacter set for HTML

Status
colourGreen
titlemandatory

ToNameRecipient's name

Status
colourGreen
titlemandatory

ToEmailAddressRecipient's email address

Status
colourGreen
titlemandatory

CCEmailAddressEmail addresses to be included in CC

Status
colourGreen
titlemandatory

BCCEmailAddressEmail addresses to be included in BCC

Status
colourGreen
titlemandatory

AttachmentsAttachments to be included in the email

Status
colourYellow
titleoptional

Code Block
languagexml
titleREQUEST EXAMPLE
linenumberstrue
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:post="http://ws.euromsg.com/post">
    <soapenv:Header/>
    <soapenv:Body>
        <PostHtmlWithTypeCCandBCC>
            <ServiceTicket>String</ServiceTicket>
            <FromName>String</FromName>
            <FromAddress>String</FromAddress>
            <ReplyAddress>String</ReplyAddress>
            <Subject>String</Subject>
            <HtmlBody>HtmlBody</HtmlBody>
            <PlainTextBody>String</PlainTextBody>
            <Charset>String</Charset>
            <ToName>String</ToName>
            <ToEmailAddress>String</ToEmailAddress>
            <CCEmailAddress>String</CCEmailAddress>
            <PostType>int</PostType>
        </PostHtmlWithTypeCCandBCC>
    </soapenv:Body>
</soapenv:Envelope>
Code Block
languagexml
titleRESPONSE EXAMPLE
linenumberstrue
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
        <PostHtmlWithTypeCCandBCCResponse xmlns="http://ws.euromsg.com/post">
            <PostHtmlWithTypeCCandBCCResult>
                <Code>00</Code>
                <Message />
                <DetailedMessage />
                <PostID>String</PostID>
                <MarkedSpam>boolean</MarkedSpam>
                <PostType>String</PostType>
                <FromAdress>String</FromAdress>
                <ReplyAdress>String</ReplyAdress>
                <Subject>String</Subject>
                <ToAddress>String</ToAddress>
            </PostHtmlWithTypeCCandBCCResult>
        </PostHtmlWithTypeCCandBCCResponse>
    </soap:Body>
</soap:Envelope>
Tip

If the request was successful,

Status
subtletrue
colourRed
titleCode
 the parameter will return
Status
subtletrue
colourRed
title00
as a response.

Note

Status
subtletrue
colourRed
titleHtmlBody
parameter must always have HTML, Head and Body Tags.

Note

Status
subtletrue
colourRed
titleFromName
and
Status
subtletrue
colourRed
titleFromAddress
 parameters are pre-defined in your account. You can access these information from settings>sending path.



Note

This service allows you to send informative emails only based on user's actions like account activation, password reset, order confirmation. Advertising/promotional content are excluded. Please contact our support team to obtain more information about sending transactional emails with promotional content.

Warning

If any of the recipients in CC, BCC or the original recipient gives a response to an email; the email will be marked as "read". The detail as to which user has given the first response is not stored. Even if only one of the 3 recipient reads the email, the email will be reported as

Status
subtletrue
colourRed
titleREAD
.

Error Parameters


CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid email address!Incorrect/invalid sender email address.
99Not a valid from name!The FromName information was not defined in your account.
99Not a valid from address!The  FromAdress information was not defined in your account.
99Email address exist in blacklist!A previous transactional email was marked as spam by email recipient.
99Not a valid HTML!HTML content format is incorrect.



PostHtmlWithTypeCCandBCC 
Anchor
posthtmlwtype
posthtmlwtype

Back to Top ^

<PostHtmlWithTypeCCandBCC>
Enables free-Html posting with Type, CC and BCC

Parameters


ParameterValue
ServiceTicketServiceTicket obtained through Login

Status
colourGreen
titlemandatory

FromNameSender's name

Status
colourGreen
titlemandatory

FromAddressSender's email address

Status
colourGreen
titlemandatory

ReplyAddressReply address that will appear on the email.

Status
colourGreen
titlemandatory

SubjectEmail subject.

Status
colourGreen
titlemandatory

HtmlBodyEmail content.

Status
colourGreen
titlemandatory

CharsetCharacter set for HTML.

Status
colourGreen
titlemandatory

ToNameRecipient's name.

Status
colourGreen
titlemandatory

ToEmailAddressRecipient's email address.

Status
colourGreen
titlemandatory

CCEmailAddressEmail addresses to be included in CC.

Status
colourGreen
titlemandatory

BCCEmailAddressEmail addresses to be included in BCC.

Status
colourGreen
titlemandatory

AttachmentsAttachments to be included in the email.

Status
colourYellow
titleoptional

PostTypeType of the email to be sent.

Status
colourGreen
titlemandatory

Code Block
languagexml
titleREQUEST EXAMPLE
linenumberstrue
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:post="http://ws.euromsg.com/post">
    <soapenv:Header/>
    <soapenv:Body>
        <PostHtmlWithTypeCCandBCC>
            <ServiceTicket>String</ServiceTicket>
            <FromName>String</FromName>
            <FromAddress>String</FromAddress>
            <ReplyAddress>String</ReplyAddress>
            <Subject>String</Subject>
            <HtmlBody>HtmlBody</HtmlBody>
            <PlainTextBody>String</PlainTextBody>
            <Charset>String</Charset>
            <ToName>String</ToName>
            <ToEmailAddress>String</ToEmailAddress>
            <CCEmailAddress>String</CCEmailAddress>
            <PostType>int</PostType>
        </PostHtmlWithTypeCCandBCC>
    </soapenv:Body>
</soapenv:Envelope>
Code Block
languagexml
titleRESPONSE EXAMPLE
linenumberstrue
<?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>
    <PostHtmlWithTypeCCandBCCResponse xmlns="http://api.relateddigital.com/post">
      <PostHtmlWithTypeCCandBCCResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
        <ToAddress>string</ToAddress>
      </PostHtmlWithTypeCCandBCCResult>
    </PostHtmlWithTypeCCandBCCResponse>
  </soap:Body>
</soap:Envelope>
Tip

If the request was successful,

Status
subtletrue
colourRed
titleCode
 the parameter will return
Status
subtletrue
colourRed
title00
as a response.

Note

Status
subtletrue
colourRed
titleHtmlBody
parameter must always have HTML, Head and Body Tags.

Note

Status
subtletrue
colourRed
titleFromName
and
Status
subtletrue
colourRed
titleFromAddress
 parameters are pre-defined in your account. You can access these information from settings>sending path.



Note

This service allows you to send informative emails only based on user's actions like account activation, password reset, order confirmation. Advertising/promotional content are excluded in this service. Please contact RMC Technical Client Support Team to obtain more information about sending transactional emails with promotional content.



Note

PostType parameter is used to group the sent SMS messages for reporting purposes. This is not a predefined parameter. For example for email Password Reminder messages

Status
subtletrue
colourRed
titlePassword Reminder
 can be be used as value.

Warning

If any of the recipients in CC, BCC or the original recipient gives a response to an email; the email will be marked as "read". The detail as to which user has given the first response is not stored. Even if only one of the 3 recipient reads the email, the email will be reported as

Status
subtletrue
colourRed
titleREAD
.

Error Parameters


CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid email address!Incorrect/invalid sender email address.
99Not a valid from name!The FromName information was not defined in your account.
99Not a valid from address!The  FromAdress information was not defined in your account.
99Email address exist in blacklist!A previous transactional email was marked as spam by email recipient.
99Not a valid HTML!HTML content format is incorrect.



PostHtmlWithTypeKeyIDAndCustomParams 
Anchor
params
params

Back to Top ^

<PostHtmlWithTypeKeyIDAndCustomParams>
Enables free-Html posting with Type, Key_ID and Custom Fields.

Parameters


ParameterValue
ServiceTicketServiceTicket obtained through Login.

Status
colourGreen
titlemandatory

FromNameSender's name.

Status
colourGreen
titlemandatory

FromAddressSender's email address.

Status
colourGreen
titlemandatory

ReplyAddressReply address that will appear on the email.

Status
colourGreen
titlemandatory

SubjectSubject line.

Status
colourGreen
titlemandatory

HtmlBodyEmail content.

Status
colourGreen
titlemandatory

CharsetCharacter set for HTML.

Status
colourGreen
titlemandatory

ToNameRecipient name.

Status
colourGreen
titlemandatory

ToEmailAddressRecipient's email address.

Status
colourGreen
titlemandatory

CC

Email addresses to add to CC

Status
colourYellow
titleoptional

BCC

Email addresses to add to bCC

Status
colourYellow
titleoptional

AttachmentsAttachments to be included in the email.

Status
colourYellow
titleoptional

PostTypeType of email to be sent.

Status
colourGreen
titlemandatory

KeyIDRecipient KEY_ID information.

Status
colourGreen
titlemandatory

CustomParamsCustom parameters found in the email (Ex. promotion code).

Status
colourGreen
titlemandatory

Code Block
languagexml
titleREQUEST EXAMPLE
linenumberstrue
<?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>
    <PostHtmlWithTypeKeyIDAndCustomParams xmlns="http://ws.euromsg.com/post">
      <ServiceTicket>string</ServiceTicket>
      <FromName>string</FromName>
      <FromAddress>string</FromAddress>
      <ReplyAddress>string</ReplyAddress>
      <Subject>string</Subject>
      <HtmlBody>string</HtmlBody>
      <Charset>string</Charset>
      <ToName>string</ToName>
      <ToEmailAddress>string</ToEmailAddress>
      <Attachments>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
      </Attachments>
      <PostType>string</PostType>
      <KeyID>string</KeyID>
      <CustomParams>string</CustomParams>
      <CC>
        <string>string</string>
        <string>string</string>
      </CC>
      <BCC>
        <string>string</string>
        <string>string</string>
      </BCC>
    </PostHtmlWithTypeKeyIDAndCustomParams>
  </soap:Body>
</soap:Envelope>
Code Block
languagexml
titleRESPONSE EXAMPLE
linenumberstrue
<?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>
    <PostHtmlWithTypeKeyIDAndCustomParamsResponse xmlns="http://api.relateddigital.com/post">
      <PostHtmlWithTypeKeyIDAndCustomParamsResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
        <ToAddress>string</ToAddress>
      </PostHtmlWithTypeKeyIDAndCustomParamsResult>
    </PostHtmlWithTypeKeyIDAndCustomParamsResponse>
  </soap:Body>
</soap:Envelope>
Tip

If the request was successful, the

Status
subtletrue
colourRed
titleCode
 parameter will return
Status
subtletrue
colourRed
title00
as a response.

Note

Status
subtletrue
colourRed
titleHtmlBody
parameter must always have HTML, Head and Body Tags.

Note

Status
subtletrue
colourRed
titleFromName
and
Status
subtletrue
colourRed
titleFromAddress
 parameters are pre-defined in your account. You can access these information from settings>sending path.



Note

This service allows you to send informative emails only based on user's actions like account activation, password reset, order confirmation. Advertising/promotional content are excluded in this service. Please contact our support team to obtain more information about sending transactional emails with promotional content.



Note

PostType parameter is used to group the sent SMS messages for reporting purposes. This is not a predefined parameter. For example for email Password Reminder messages

Status
subtletrue
colourRed
titlePassword Reminder
 can be be used as value.



Warning

If any of the recipients in CC, BCC or the original recipient gives a response to an email; the email will be marked as "read". The detail as to which user has given the first response is not stored. Even if only one of the 3 recipient reads the email, the email will be reported as

Status
subtletrue
colourRed
titleREAD
.

Error Parameters


CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid email address!Incorrect/invalid recipient email address.
99Not a valid from name!The from name information was not defined in your account.
99Not a valid from address!The from address information was not defined in your account.
99Email address exist in blacklist!A previous transactional email was marked as spam by the email recipient.
99Not a valid HTML!HTML content format is incorrect.



GetPostResult 
Anchor
getpostresult
getpostresult

Back to Top ^

<GetPostResult>
Queries the status of a transactional email sent.

Parameters


ParameterValue
ServiceTicketServiceTicket obtained through Login.

Status
colourGreen
titlemandatory

PostIDEmail ID in question.

Status
colourGreen
titlemandatory

Code Block
languagexml
titleREQUEST EXAMPLE
linenumberstrue
<?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>
    <GetPostResult xmlns="http://api.relateddigital.com/post">
      <ServiceTicket>string</ServiceTicket>
      <PostID>string</PostID>
    </GetPostResult>
  </soap:Body>
</soap:Envelope>
Code Block
languagexml
titleRESPONSE EXAMPLE
linenumberstrue
<?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>
    <GetPostResultResponse xmlns="http://api.relateddigital.com/post">
      <GetPostResultResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
        <ToAddress>string</ToAddress>
      </GetPostResultResult>
    </GetPostResultResponse>
  </soap:Body>
</soap:Envelope>
Tip

If the request was successful, the

Status
subtletrue
colourRed
titleCode
parameter will return
Status
subtletrue
colourRed
title00
as a response.

Note

PostID parameter is the 32 bytes long ID returned from the service after the transactional email is sent.

Error Parameters


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



GetPostBulkResult 
Anchor
getbulkresult
getbulkresult

Back to Top ^

<GetPostBulkResult>
Queries the status of transactional emails sent between two dates.

Parameters


ParameterValue
ServiceTicketServiceTicket obtained through Login.

Status
colourGreen
titlemandatory

BeginDateReport beginning date. Date format must be dd.mm.yyyy

Status
colourGreen
titlemandatory

EndDateReport ending date. Date format must be dd.mm.yyyy

Status
colourGreen
titlemandatory


Delivery Status 


Values

Description

HU-HB

Invalid domain or username. Errors in cases such as ip blocking.

HJ

Marking as spam.

SU

Mails that cannot be sent to the mail address in an instant

due to

. Errors in cases such as full of mail box or temporary dns error.

HT

Disposable E-mails named as HT by Euromessage. No delivery to these addresses.

RE

Delivery is provided. No response from user.

RD

Read by user.

Code Block
languagexml
titleREQUEST EXAMPLE
linenumberstrue
<?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>
    <GetPostBulkResult xmlns="http://api.relateddigital.com/post">
      <ServiceTicket>string</ServiceTicket>
      <BeginDate>string</BeginDate>
      <EndDate>string</EndDate>
    </GetPostBulkResult>
  </soap:Body>
</soap:Envelope>
Code Block
languagexml
titleRESPONSE EXAMPLE
linenumberstrue
<?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>
    <GetPostBulkResultResponse xmlns="http://api.relateddigital.com/post">
      <GetPostBulkResultResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
        <ToAddress>string</ToAddress>
      </GetPostBulkResultResult>
      <BulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
      </BulkReport>
    </GetPostBulkResultResponse>
  </soap:Body>
</soap:Envelope>
Tip

If the request was successful, the

Status
subtletrue
colourRed
titleCode
 parameter will return
Status
subtletrue
colourRed
title00
as a response.

Note

The date range is limited to a maximum of 24 hours.

Note

Date format is

Status
subtletrue
colourRed
titleyyyy-MM-dd hh:mm:ss
.

Error Parameters


CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid date!The date range entered exceeds 24 hours.



GetPostBulkBounceResult  
Anchor
bounceresult
bounceresult

Back to Top ^


<GetPostBulkBounceResult>
Queries the transactional emails reported as invalid or undelivered between two dates.

Parameters


ParameterValue
ServiceTicketServiceTicket obtained through Login.

Status
colourGreen
titlemandatory

BeginDateReport start date. Date format must be dd.mm.yyyy

Status
colourGreen
titlemandatory

EndDateReport end date. Date format must be dd.mm.yyyy

Status
colourGreen
titlemandatory

Code Block
languagexml
titleREQUEST EXAMPLE
linenumberstrue
<?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>
    <GetPostBulkBounceResult xmlns="http://api.relateddigital.com/post">
      <ServiceTicket>string</ServiceTicket>
      <BeginDate>string</BeginDate>
      <EndDate>string</EndDate>
    </GetPostBulkBounceResult>
  </soap:Body>
</soap:Envelope>
Code Block
languagexml
titleRESPONSE EXAMPLE
linenumberstrue
<?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>
    <GetPostBulkBounceResultResponse xmlns="http://api.relateddigital.com/post">
      <GetPostBulkBounceResultResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
        <ToAddress>string</ToAddress>
      </GetPostBulkBounceResultResult>
      <BulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
      </BulkReport>
    </GetPostBulkBounceResultResponse>
  </soap:Body>
</soap:Envelope>
Tip

If the request was successful, the

Status
subtletrue
colourRed
titleCode
 parameter will return
Status
subtletrue
colourRed
title00
as a response.

Note

The date range is limited to a maximum of 24 hours.

Note

Date format is

Status
subtletrue
colourRed
titleyyyy-MM-dd hh:mm:ss
.

Error Parameters 


CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid date!The date range entered exceeds 24 hours.



GetPostBulkResultByLastUpdate 
Anchor
lastupdate
lastupdate

Back to Top ^

<GetPostBulkResultByLastUpdate>

Queries the transactional emails with changed results (read, reported as invalid etc) between two dates.

Parameters


ParameterValue
ServiceTicketServiceTicket obtained through Login.

Status
colourGreen
titlemandatory

BeginDateReport start date. Date format must be dd.mm.yyyy

Status
colourGreen
titlemandatory

EndDateReport end date. Date format must be dd.mm.yyyy

Status
colourGreen
titlemandatory

Code Block
languagexml
titleREQUEST EXAMPLE
linenumberstrue
<?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>
    <GetPostBulkResultByLastUpdate xmlns="http://api.relateddigital.com/post">
      <ServiceTicket>string</ServiceTicket>
      <BeginDate>string</BeginDate>
      <EndDate>string</EndDate>
    </GetPostBulkResultByLastUpdate>
  </soap:Body>
</soap:Envelope>
Code Block
languagexml
titleRESPONSE EXAMPLE
linenumberstrue
<?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>
    <GetPostBulkResultByLastUpdateResponse xmlns="http://api.relateddigital.com/post">
      <GetPostBulkResultByLastUpdateResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
        <ToAddress>string</ToAddress>
      </GetPostBulkResultByLastUpdateResult>
      <BulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
      </BulkReport>
    </GetPostBulkResultByLastUpdateResponse>
  </soap:Body>
</soap:Envelope> 
Tip

If the request was successful, the

Status
subtletrue
colourRed
titleCode
 parameter will return
Status
subtletrue
colourRed
title00
as a response.

Note

The date range is limited to a maximum of 24 hours.

Note

Date format is

Status
subtletrue
colourRed
titleyyyy-MM-dd hh:mm:ss
.



Note

Function returns an email list including only emails for which the deliverability status has changed. For example: if 100 emails are sent, 20 of them are read and 15 of them are invalid or undelivered, the service returns the data only for those 35 emails.

Error Parameters


CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Not a valid date!The date range entered exceeds 24 hours.



GetPostBulkResultByPostId 
Anchor
resultbypostid
resultbypostid

Back to Top ^

<GetPostBulkResultByPostId>
Queries the status of transactional emails related to the PostID's.

Parameters


ParameterValue
ServiceTicketServiceTicket obtained through Login.

Status
colourGreen
titlemandatory

postIdsPostID's to question.

Status
colourGreen
titlemandatory

Code Block
languagexml
titleREQUEST EXAMPLE
linenumberstrue
<?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>
    <GetPostBulkResultByPostId xmlns="http://api.relateddigital.com/post">
      <serviceTicket>string</serviceTicket>
      <postIds>
        <string>string</string>
        <string>string</string>
      </postIds>
    </GetPostBulkResultByPostId>
  </soap:Body>
</soap:Envelope>
Code Block
languagexml
titleRESPONSE EXAMPLE
linenumberstrue
<?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>
    <GetPostBulkResultByPostIdResponse xmlns="http://api.relateddigital.com/post">
      <GetPostBulkResultByPostIdResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
        <ToAddress>string</ToAddress>
      </GetPostBulkResultByPostIdResult>
      <bulkResult>
        <EmPostResult>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
          <FromAdress>string</FromAdress>
          <ReplyAdress>string</ReplyAdress>
          <Subject>string</Subject>
          <ToAddress>string</ToAddress>
        </EmPostResult>
        <EmPostResult>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
          <FromAdress>string</FromAdress>
          <ReplyAdress>string</ReplyAdress>
          <Subject>string</Subject>
          <ToAddress>string</ToAddress>
        </EmPostResult>
      </bulkResult>
    </GetPostBulkResultByPostIdResponse>
  </soap:Body>
</soap:Envelope>
Tip

If the request was successful, the

Status
subtletrue
colourRed
titleCode
 parameter will return
Status
subtletrue
colourRed
title00
as a response.

Error Parameters


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



PostTransactionalEmailWithHtmlTemplate 
Anchor
htmltemplate
htmltemplate

Back to Top ^

<PostTransactionalEmailWithHtmlTemplate>
Enables Transactional Email with HTML Template posting.

Parameters


ParameterValue
ServiceTicketServiceTicket obtained through Login.

Status
colourGreen
titlemandatory

FromNameSender's name.

Status
colourGreen
titlemandatory

FromAddressSender's email address.

Status
colourGreen
titlemandatory

ReplyAddressReply address that will appear on the email.

Status
colourGreen
titlemandatory

TemplateNameTemplate name for the email to be sent.

Status
colourGreen
titlemandatory

SubjectVariablesVariables list to be used in the subject line.

Status
colourGreen
titlemandatory

BodyVariablesList of variables to be used in the email body.

Status
colourGreen
titlemandatory

CharsetCharacter set for the email template.

Status
colourGreen
titlemandatory

ToNameRecipient's name.

Status
colourGreen
titlemandatory

ToEmailAddressRecipient's email address.

Status
colourGreen
titlemandatory

AttachmentsAttachments to be included in the email.

Status
colourYellow
titleoptional

Code Block
languagexml
titleREQUEST EXAMPLE
linenumberstrue
<?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>
    <PostTransactionalEmailWithHtmlTemplate xmlns="http://api.relateddigital.com/post">
      <ServiceTicket>string</ServiceTicket>
      <FromName>string</FromName>
      <FromAddress>string</FromAddress>
      <ReplyAddress>string</ReplyAddress>
      <TemplateName>string</TemplateName>
      <SubjectVariables>
        <EmKeyValue>
          <Key>string</Key>
          <Value>string</Value>
        </EmKeyValue>
        <EmKeyValue>
          <Key>string</Key>
          <Value>string</Value>
        </EmKeyValue>
      </SubjectVariables>
      <BodyVariables>
        <EmKeyValue>
          <Key>string</Key>
          <Value>string</Value>
        </EmKeyValue>
        <EmKeyValue>
          <Key>string</Key>
          <Value>string</Value>
        </EmKeyValue>
      </BodyVariables>
      <Charset>string</Charset>
      <ToName>string</ToName>
      <ToEmailAddress>string</ToEmailAddress>
      <Attachments>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
      </Attachments>
    </PostTransactionalEmailWithHtmlTemplate>
  </soap:Body>
</soap:Envelope>
Code Block
languagexml
titleRESPONSE EXAMPLE
linenumberstrue
<?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>
    <PostTransactionalEmailWithHtmlTemplateResponse xmlns="http://api.relateddigital.com/post">
      <PostTransactionalEmailWithHtmlTemplateResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
        <ToAddress>string</ToAddress>
      </PostTransactionalEmailWithHtmlTemplateResult>
    </PostTransactionalEmailWithHtmlTemplateResponse>
  </soap:Body>
</soap:Envelope>
Tip

If the request was successful, the

Status
subtletrue
colourRed
titleCode
 parameter will return
Status
subtletrue
colourRed
title00
as a response.

Note

You can use the

Status
subtletrue
colourRed
titleCreateTransactionalEmailTemplate
function in the
Status
subtletrue
colourRed
titletemplate.asmx
service in order to define the template that will be used in this function.

Error Parameters


CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Invalid from name!The from name information was not defined in your account.
99Not a valid from address!The from address information was not defined in your account.
99No session. Please try re-logon.No active sessions found. Try login again.
99Email address exist in blacklist!A previous transactional email was marked as spam by the email recipient.



PostTransactionalEmailWithXsltTemplate 
Anchor
xlstemplate
xlstemplate

Back to Top ^

<PostTransactionalEmailWithXsltTemplate>
Enables Transactional Email with XSLT Template posting.

Parameters


ParameterValue
ServiceTicketServiceTicket obtained through Login.

Status
colourGreen
titlemandatory

FromNameSenders's name.

Status
colourGreen
titlemandatory

FromAddressSender's email address.

Status
colourGreen
titlemandatory

ReplyAddressReply address that will appear on the email.

Status
colourGreen
titlemandatory

TemplateNameTemplate name for the email to be sent.

Status
colourGreen
titlemandatory

SubjectVariablesVariables list to be used in the subject line.

Status
colourGreen
titlemandatory

BodyVariablesList of variables to be used in the email body.

Status
colourGreen
titlemandatory

CharsetCharacter set for the email template.

Status
colourGreen
titlemandatory

ToNameRecipient's name.

Status
colourGreen
titlemandatory

ToEmailAddressRecipient's email address.

Status
colourGreen
titlemandatory

AttachmentsAttachments to be included in the email.

Status
colourYellow
titleoptional

Code Block
languagexml
titleREQUEST EXAMPLE
linenumberstrue
<?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>
    <PostTransactionalEmailWithXsltTemplate xmlns="http://api.relateddigital.com/post">
      <ServiceTicket>string</ServiceTicket>
      <FromName>string</FromName>
      <FromAddress>string</FromAddress>
      <ReplyAddress>string</ReplyAddress>
      <TemplateName>string</TemplateName>
      <Xml>string</Xml>
      <Charset>string</Charset>
      <ToName>string</ToName>
      <ToEmailAddress>string</ToEmailAddress>
      <Attachments>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
      </Attachments>
    </PostTransactionalEmailWithXsltTemplate>
  </soap:Body>
</soap:Envelope>
Code Block
languagexml
titleRESPONSE EXAMPLE
linenumberstrue
<?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>
    <PostTransactionalEmailWithXsltTemplate xmlns="http://api.relateddigital.com/post">
      <ServiceTicket>string</ServiceTicket>
      <FromName>string</FromName>
      <FromAddress>string</FromAddress>
      <ReplyAddress>string</ReplyAddress>
      <TemplateName>string</TemplateName>
      <Xml>string</Xml>
      <Charset>string</Charset>
      <ToName>string</ToName>
      <ToEmailAddress>string</ToEmailAddress>
      <Attachments>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
        <EmAttachment>
          <Name>string</Name>
          <Type>string</Type>
          <Content>base64Binary</Content>
        </EmAttachment>
      </Attachments>
    </PostTransactionalEmailWithXsltTemplate>
  </soap12:Body>
</soap12:Envelope>
Tip

If the request was successful, the

Status
subtletrue
colourRed
titleCode
 parameter will return
Status
subtletrue
colourRed
title00
as a response.

Note

You can use the

Status
subtletrue
colourRed
titleCreateTransactionalEmailTemplate
function in the
Status
subtletrue
colourRed
titletemplate.asmx
service in order to define the template that will be used in this function.

Error Parameters


CodeError MessageDescription
9998No session. Please try re-logon.No active sessions found. Try login again.
99Invalid from name!The from name information was not defined in your account.
99Not a valid from address!The from address information was not defined in your account.
99No session. Please try re-logon.No active sessions found. Try login again.
99Email address exist in blacklist!A previous transactional email was marked as spam by email recipient.



GetPostBulkResultWithOptional 
Anchor
GetPostBulkResultWithOptional
GetPostBulkResultWithOptional

Back to Top ^

<GetPostBulkResultWithOptional>
Queries the status of transactional emails related to the Optional.
Note

This method only shows the last 24 hours report from the start date (

Status
subtletrue
colourRed
titlebeginDateStr
).


Parameters


ParameterValue
ServiceTicketServiceTicket obtained through Login.

Status
colourGreen
titlemandatory

beginDateStrEmail start date.

Status
colourGreen
titlemandatory

endDateStrEmail end date.
postTypeType of email to be sent.
toAddressRecipient's email address.
Code Block
languagexml
titleREQUEST EXAMPLE
linenumberstrue
<?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>
    <GetPostBulkResultWithOptional xmlns="http://api.relateddigital.com/post">
      <serviceTicket>string</serviceTicket>
      <beginDateStr>string</beginDateStr>
      <endDateStr>string</endDateStr>
      <postType>string</postType>
      <toAddress>string</toAddress>
    </GetPostBulkResultWithOptional>
  </soap:Body>
</soap:Envelope>
Code Block
languagexml
titleRESPONSE EXAMPLE
linenumberstrue
<?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>
    <GetPostBulkResultWithOptionalResponse xmlns="http://api.relateddigital.com/post">
      <GetPostBulkResultWithOptionalResult>
        <PostID>string</PostID>
        <RelayStatus>string</RelayStatus>
        <DeliveryStatus>string</DeliveryStatus>
        <UndeliveryReason>string</UndeliveryReason>
        <MarkedSpam>boolean</MarkedSpam>
        <KeyID>string</KeyID>
        <CustomParams>string</CustomParams>
        <PostType>string</PostType>
        <ReadTime>string</ReadTime>
        <RelayBounceTime>string</RelayBounceTime>
        <LastUpdateTime>string</LastUpdateTime>
        <FromAdress>string</FromAdress>
        <ReplyAdress>string</ReplyAdress>
        <Subject>string</Subject>
        <ToAddress>string</ToAddress>
      </GetPostBulkResultWithOptionalResult>
      <BulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
        <EmPostBulkReport>
          <PostID>string</PostID>
          <RelayStatus>string</RelayStatus>
          <DeliveryStatus>string</DeliveryStatus>
          <UndeliveryReason>string</UndeliveryReason>
          <MarkedSpam>boolean</MarkedSpam>
          <KeyID>string</KeyID>
          <CustomParams>string</CustomParams>
          <PostType>string</PostType>
          <ReadTime>string</ReadTime>
          <RelayBounceTime>string</RelayBounceTime>
          <LastUpdateTime>string</LastUpdateTime>
        </EmPostBulkReport>
      </BulkReport>
    </GetPostBulkResultWithOptionalResponse>
  </soap:Body>
</soap:Envelope>
Tip

If the request was successful, the

Status
subtletrue
colourRed
titleCode
 parameter will return
Status
subtletrue
colourRed
title00
as a response.

Error Parameters


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




Parent Topic: SOAP Web Service



Delivery Status  


Values

Description

HU-HB

Invalid domain or username.

HJ

Marking as spam.

SU

Mails that cannot be sent to the mail address in an instant due to full of mail box or temporary dns error.

HT

Disposable E-mails named as HT by Euromessage.

RE

Delivery is provided. No response from user.

RD

Read by user.