Tracking Management - Phiction/etapi GitHub Wiki

Retrieve :xml

Required parameters

  • :job_id
etapi_session.tracking_retrieve(
  :job_id => 0123456789
)
=> {
  "Conversion_Summary" => nil,
  "deliveredCount"     => "23",
  "FromEmail"          => "[email protected]",
  "Lists"  => {
    "list" => {
      "list_name" => "API Test",
      "list_ID"   => "26759"
    }
  },
  "email_links" => {
    "link" => [{
      "name"           => "Link 1",
      "URL"            => "http://apitest.com/link_1",
      "Percent"        => "6.1%",
      "Net_CTR"        => "13.0%",
      "click_throughs" => "3"
    }, {
      "name"           => nil,
      "URL"            => "http://apitest.com/link_2",
      "Percent"        => "18.4%",
      "Net_CTR"        => "39.1%",
      "click_throughs" => "9"
    }]
  },
  "sentCount"         => "23",
  "FromName"          => "Test",
  "IsMultipart"       => "True",
  "openCount"         => "10",
  "uniqueClickCount"  => "12",
  "undeliveredCount"  => "0",
  "FTAF_summary"      => {
    "new_subscribers"  => "0",
    "new_recipients"   => "0",
    "email_forwarders" => "0"
  },
  "DeliveredTime"     => "1/26/2011 12:30:00 PM",
  "Additional"        => nil,
  "EmailSubject"      => "Hi %%First Name%%. Bleep. Bloop.",
  "EmailName"         => "API Test",
  "unSubscribedCount" => "0"
}

Back