OK I must have fat fingered or something beacause this works:
curl -k -u crieman:password https://178.215.133.200/vmrest/mailboxstores
Use xmllint to get it into a decent format:
curl -k -u crieman:password https://178.215.133.200/vmrest/mailboxstores | xmllint --format - > cuc.txt
And its working fine however the one item I need is not here TotalSizeOfMailbox
/vmrest/mailboxstores/xxxx-xxxx-xxxxx
UnityMbxDb1
cuxng1a
2cc490d6-d93c-47ad-869c-7001b0842f02
true
0
0
Unity Messaging Database -1
ciscounity
0
true
0
15000
/vmrest/mailboxstores/xxxx-xxxx-xxxxx/mailboxes
http://docwiki.cisco.com/wiki/Cisco_Unity_Connection_Provisioning_Interface_(CUPI)_API_--_Mailbox_Store_API
Shows this value being returned but I don't see it on my system, whats up with that?
Have also tried:
GET https:///vmrest/mailboxstores/
And still dont see the TotalSizeOfMailbox.
Alos I f I try and see the users as the document shows, I get:
TOO_MANY_RESULTS
I just want a value, not a list of all the users, possible to get that? and drawbacks on a busy system?
Any info is appreciated!