Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. //// Create the retrieve request and define the object and properties we want to retrieve
  2. $rr = new ExactTarget_RetrieveRequest();
  3. $rr->ObjectType = "List";
  4. $rr->Properties = array();
  5. $rr->Properties[] = "ID";
  6. $rr->Properties[] = "ListName";
  7. $rr->Properties[] = "Category";
  8. $rr->Properties[] = "Type";
  9. $rr->Options = NULL;
  10.  
  11. //// Set a simple filter part to retrieve the list with a specific ID
  12. $filter1 = new ExactTarget_SimpleFilterPart() ;
  13. $filter1->Property= "ListName";
  14. $filter1->SimpleOperator=ExactTarget_SimpleOperators::notEquals;
  15. $filter1->Value=array(""); //the id of the list you want to retrieve
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement