2 Replies Latest reply on Apr 19, 2016 9:17 AM by Scott A Johnson

    jive get people api by date

    sbollap1

      I am trying to use a regular expression as shown below, just wanted to know if this should work, basically want to get the people for certain published dates, but its not working, any clues would be appreciated

       

      var request = osapi.jive.corev3.people.get({count: 2, "fields": "@all", published: "2013-12.-*" });
      ...
      request.execute(function(response) {
      
      

       

      or is there a way to use something like this?

       

      var params = {
       count: 2,
       "fields": "@all",
       filter: "2013-12.*"    <------ not sure if this or the below line would work
       href: /filter?published=2013-12.*  
      }
      
      request.get(params).execute(function (response) {...});