New API documentation
Question asked by Nicolas Fertig - 6/11/2019 at 5:23 AM
Answered
Hello,

Do you have documentation of the Api where to search by results?

For example, I am looking for max size and current size of mailboxes. The first one is in maxMailboxSize (/settings/sysadmin/list-users) and the second... I have to scan all the functions to find it. 

For now, I not found.

Could you help me?

Regards,
Giuseppe Damiani

2 Replies

Reply to Thread
0
Tony Scholz Replied
Employee Post Marked As Answer
Hello, 

The data you are looking for can all be found here. 

"diskSpace":{
    "domainDiskSpaceMaxSize": number,
    "domainDiskSpaceTotalSize": number,
    "userMeetingWorkspaceSize": number,
    "userFileStoreSize": number,
    "userDiskSpaceMaxSize": number,
    "userDiskSpaceTotalSize": number,    
    "userMailSize": number
},


You can also use ( /api/v1/report/details/domain/DISK_USAGE/ ) I pulled this from the developer tools on the browser as the documentation for it us not yet posted. The passed body parameters are;

{"startDate":"2019-06-07T23:45:11.385Z","endDate":"2019-06-13T23:45:11.385Z","step":4,"groupBy":0}

Thank you
Tony Scholz
Technical Support Specialist
SmarterTools Inc.
(877) 357-6278
www.smartertools.com
0
Nicolas Fertig Replied
Hello,

What is the best way to have the list of users with max space and used space ?

I found (/settings/domain/account-list-search)

The output is 

{
 ...
 "bytesAllowed": ...
 "bytesUsedPercent": ...
But I have to spent time to compute bytesUsed by (bytesAllowed * bytesUsedPercent)/100

Do you have better solution ?

Reply to Thread