GET all users via API

  • 1
  • Problem
  • Updated 2 years ago
Hi all,
I can't find a way to get all users via API. only supports getting a single user. Looking at the reports an administrator can create I can see that a "Users" report type is supported that does exactly that. After creating the report via the UI I can get the report definition and report record data via the API. The report type created is UserSummaryLooking at the reports API ( seems like UserSummary report type is not supported. Trying to create the UserSummary report via API succeeds in creating the report definition but report execution fail with the following error:
 "Message":"Unexpected Error: Object reference not set to an instance of an object."
Photo of Uri Ben-dor

Uri Ben-dor

  • 1 Post
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Pratik Somanagoudar

Pratik Somanagoudar, Software Engineer

  • 28 Posts
  • 5 Reply Likes
Hi Uri,

I looked at our logs and tried to figure out at what went wrong with your request. If I found the correct request, it seems like the JSON body provided is missing a " ," (comma) and hence json validation is failing. However I do see we do not throw a 400 exception in this case which I would like to fix in future releases. Please let me know if this helps.