post https://api.supportbench.com/user/counts
Return a user count for items related to a user.
Options to query the data
Name | Usage | Default | Description |
---|---|---|---|
user_id | "1256" | Logged in user id | The user id to query. If this field is null or set to 0, then the user id will default to the logged in user. |
utc_offset | "-480" | 0 (UTC time) | The UTC offset of the time frame to query for. This is used specifically for returning the number events in the last day. |
Returning user count object
Name | Description |
---|---|
notifications | The number of notifications / alerts the user currently has. |
bookmarks | The number of bookmarks the user has. i.e. Companies, Contacts, views, etc.. |
cases | The number of cases the user currently owns. |
workcases | The number of cases within the users work queues. |
events | The number of events for today that has not passed. The UTC Offset is important for this to work correctly for your time zone. |
tour | If the tours have been completed. |