Versions Compared

Key

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

...

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 methodaccess key obtained using 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

Code Block
languagehtml/xml
linenumberstrue
<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.