neelsp | Posts: 77

Retrieving Users count via REST API

0 votes
Hi, We would like to retrieve the count of users created over a period of time. i.e. # of users created yearly. We are using the following API and it isn't providing us the desired results ...can you please assist? https://signer-esignlive.com/api/account/senders?search=created:2016 thanks Neel

harishaidary | Posts: 1812

Reply to: Retrieving Users count via REST API

0 votes
Hi Neel, I'm investigating the optional parameters for the retrieving of senders API call. After some testing, I wasn't able to get it to sort by creation date. I will let you know when I have an update on this.

neelsp | Posts: 77

Reply to: Retrieving Users count via REST API

0 votes
Thanks Haris. Awaiting updates / suggestions from you.

neelsp | Posts: 77

Reply to: Retrieving Users count via REST API

0 votes
Hi Haris, Please let me know if you have any further updates on this.

harishaidary | Posts: 1812

Reply to: Retrieving Users count via REST API

0 votes
Hi Neel, I've created a ticket with our maintenance team. I will let you know when I know more. Regards,

harishaidary | Posts: 1812

Reply to: Retrieving Users count via REST API

0 votes
Hi Neel, There was a mistake in our documentation. Looking more closely with our maintenance team, here are the optional parameters that works with the GET /api/account/senders requests:
search - Filter string; only users whose first name, last name or email matches this string are listed from - The first record requested in the results (useful for paging) to - The first record requested in the results (useful for paging) dir - The direction of the sorting of the results, allowableValues = asc,desc. And users are always sorted by email.
Hence, if you want to create a report where you want to get a count for the number of senders created between a date range, you will need to loop through each sender and look in the "created" field and determine if this date is between your date range.

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off