GetLog
Retrieves information about the log of a mailing.
Parameters:
Search criteria:
-
action - it is used with = into the SQL query and it can be:
- bounce_ac - Address Change
- bounce_ar - Auto Reply
- bounce_cr - Challenge Response
- bounce_df - DNS Failure
- bounce_hb - Hard Bounce
- bounce_mb - Mail Block
- bounce_fm - Full Mailbox
- bounce_sb - Soft Bounce
- bounce_tr - Transient Bounce
- clichthru
- forward
- in_queue
- opened
- opened_forward
- out_queue
- unsubscribe
- view
- record_id - a record from the list
- start_date - it is used with >= into the SQL query
- end_date - it is used with <= into the SQL query
- date - it is used with LIKE into the SQL query
-
extra - it is used with LIKE into the SQL query; it holds an extra information for certains actions
- for the forward action it gives the email address where the message was forwarded
- for the opened action it gives image or css meaning that the opened was detected by image or css
- for the opened_forward action see opened action
- for the clickthru action it holds the link where the user was redirected
Optional parameters:
- limit - this limits the maximum of returned logs
- offset - used together with limit; the list is retrieved from this offset
- count - used to count the logs
- uniques - if it has "true" as value, it will return only the uniques logs
Returns for each found log:
- id
- record_id
- email
- action
- time
- user_agent
- ip
- host
- extra
When count is used, it returns total and unique number of matching logs.
XML request (without count):
XML response (without count):
XML request (with count):
XML response (with count):