2

I need to pull data from Sailthru using .NET API to get following columns:

profile_id,
email,
hash,
send_time,
open_time,
click_time,
first_ten_clicks,
first_ten_clicks_time,
purchase_time,
device

I have gone through the site also tried few parameters but nothing helped to get data profile wise.

Suhaib Janjua
  • 3,538
  • 16
  • 59
  • 73
Tweety01
  • 176
  • 2
  • 17

1 Answers1

0

This code fragment should help you :

UserRequest request = new UserRequest();
          request.Id = theUsersEmail;
          request.Key = theUsersEmail;
          Hashtable fieldsHashtable = new Hashtable();
          fieldsHashtable.Add("vars", 1);
          request.Fields = fieldsHashtable;

          SailthruResponse response = YourSailthruClientInstance.GetUser(request);

response.HashtableResponse; // This is the keyvalue table where your data is stored
Yann
  • 317
  • 2
  • 8