get_statistics
 
 
Overview
Returns a summary of your statistics in xml or csv format
 
Parameters
 
NameTypeRequiredComments
CsvBitNoTo determine the format the data is returned:
  0 = Default (XML format)   1 = Csv format
FromDateDateYes if ToDate is specified else notSpecify the date from which to return statistics
Format : yyyy-mm-dd
RowsIntegerNoSpecify how many rows of statistics should be returned, for example Rows=10 will return the 10 most recent sends
SendIDInteger 64bitNoSpecify SendID if you want to return the stattistics for a specific send.
SubAccountIDIntegerNoIf specified, the function returns the statistics for the sub account and not the main account
ToDateDateYes if FromDate is specified else notSpecify the date to which statistics must be returned
Format : yyyy-mm-dd
Returns
0|Error (Different descriptions for the error)
XML
  •  statistics
    •  send
      •  sendid
      •  fromname
      •  newslettername
      •  subject
      •  startdate
      •  enddate
      •  sent
      •  opened
      •  clicked
      •  forwarded
      •  unsubscribed
      •  delivered
      •  userunknown
      •  domailunknown
      •  mailboxfull
      •  spamtrapped
      •  other
      •  complaints
      •  mailinglistid
      •  newsletterid
      •  mailinglistname
      •  socialshare
Example
https://www.graphicmail.com/api.aspx?Username=user@mydomain.com&Password=123456&Function=get_statistics&Rows=10&Csv=0