How to get API Func...
 
Notifications
Clear all

How to get API Functions

30 Posts
3 Users
0 Reactions
6,748 Views
Posts: 39
Topic starter
(@infinitm)
Trusted Member
Joined: 4 years ago

Hey Guys,

First off thanks for SolidCP as is. It's seeming to make our lives a bit easier with Exchange...

Now I only have a question with regards to the API...

We need to get a list of email accounts (Exchange Mail Accounts) from the user's with the disk quota assigned, and the disk quota used.

How can we go about doing this with the SolidCP API?

Kind Regards
Marcel Swart

29 Replies
Posts: 1509
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

The API details can be found in the SOAP pages in Exchange server. For exchange these would be found at on your Enterprise server at http://<EnterpriseServer IP>:9002/esExchangeServer.asmx?op=GetMailboxesStatistics

Kind Regards,

Trevor

Reply
Posts: 39
Topic starter
(@infinitm)
Trusted Member
Joined: 4 years ago

Hey Trevor,

Thank you, But that does not solve my question. My main problem is I don't know which endpoints to target to achieve the goals we need...

For example. I want to be able to create, update, delete and change passwords for exchange 2019 mailboxes.

Then I need to be able to add the auto responder, and manage the forwarder for it too through the API...

Where can we find the endpoints with the expected in and output data?

Reply
Posts: 39
Topic starter
(@infinitm)
Trusted Member
Joined: 4 years ago

Ok So digging in the forum I found a post explaining that if you browse to http://server.ip.address:9002/esExchangeServer.asmx you can get the functions. Tried it and BOOOOOM.

Thanks a lot guys, I hope the above helps someone. If you want to use the API and get the available functions just browse to it 🙂

Reply
Posts: 39
Topic starter
(@infinitm)
Trusted Member
Joined: 4 years ago

Ok So guys i've figured out the basics... Only problem is... How do I get the endpoint names?

I managed to get a few from the WHMCS module. But in these endpoints, I can't find the option to create a hosting space on a user's account after creating the user?
How can one do this?

And what are all the api endpoints? e.g:

http://server.ip:9002/esUsers.asmx

http://server.ip:9002/esPackages.asmx

http://server.ip:9002/esExchangeServer.asmx

Reply
Page 1 / 6
Share: