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 7 Next »

In this section:

Method ReportByMessage

Generates an XML response with statistics (clicks and opens) for the specified message.

string ReportByMessage(string accessKey, int listID, int messageID) 

  • accessKey: string returned by the Login method, which must be used to authenticate all other calls 
  • listID: the ID of the list to which the message belongs
  • messageID: the ID of the message for which statistics are being requested

Example of ReportByMessageResult

<ReportByMessageResult>
   <errorCode></errorCode>
   <errorDescription></errorDescription>              
   <Clicks Url="" Totale="">
      <Click Email="" Totale="" />
      ...           
   </Cliks>
   <Opens Totale="">
      <Open Email="" Totale="" />
      ...
   </Opens>          
</ReportByUserResult>

Method ReportByUser

Generates an XML response with statistics (bounces, clicks, opens) and personal data for the specified subscriber.

string ReportByUser(string accessKey, string email, int listID, int messageID) 

  • accessKey: string returned by the Login method, which must be used to authenticate all other calls 
  • email: the e-mail address of the subscriber whose statistics are being requested
  • listID: the ID of the list to which the message belongs
  • messageID: the ID of the message for which statistics are being requested. If 0, all messages in the list will be included.

In the event that the status of the e-mail is unsubscribed, the statistics will not be returned.

Esempio di ReportByUserResult

<ReportByUserResult>
<errorCode></errorCode>
  <errorDescription></errorDescription>
  <Canali>
   <Email>Iscritto|Disiscritto|InAttesa|Non Registrato</Email>
<SMS>Iscritto|Disiscritto|InAttesa|Non Registrato</SMS>
<Posta>Iscritto|Disiscritto|InAttesa|Non Registrato</Posta>
<Voce>Iscritto|Disiscritto|InAttesa|Non Registrato</Voce>
<Fax>Iscritto|Disiscritto|InAttesa|Non Registrato</Fax>
  </Canali>
<Bounce>Data e ora ultimo Bounce</Bounce>
  <Clicks Url="Totale=">
<Click DataOra="" IP="" IDMessaggio="" Oggetto="" />
...       
  </Clicks>
  <Opens Totale="">
        <Open DataOra="" IP="" IDMessaggio="" Oggetto="" />
        ...
  </Opens>
  <CampiAnagrafici>
        <campo id="1" Valore="" />
        ...
        <campo id="39" Valore="" />
  </CampiAnagrafici>
</ReportByUserResult>

InAttesa corresponds to the status "PENDING", which refers to a subscriber that has not yet confirmed his/her subscription by clicking on the corresponding link in the subscription confirmation request message. 

  • No labels