How to get API Func...
 
Notifications
Clear all

How to get API Functions

30 Posts
3 Users
0 Reactions
6,499 Views
Posts: 110
(@berkut)
Estimable Member
Joined: 7 years ago

You need to recreate all those logics

ortal/DesktopModules/SolidCP/UserCreateSpace.ascx.cs

Especially this method
ortal/DesktopModules/SolidCP/UserCreateSpace.ascx.cs#L172

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

I've checked and I believe I have repeated all these steps (unless some of the functions, I have different variables defined in it)...

How can we find out what we're missing though?

Reply
Posts: 110
(@berkut)
Estimable Member
Joined: 7 years ago

If everything works correctly through the SolidCP portal, then you can try to compare DB data that SolidCP generates with your SOAP calls and try to find the differences.

The error that you showed only says that, in the method GetMailboxSetupInstructions code gets a null exception because something with data goes wrong. Maybe SolidCP can't get the object with that ID, that you send into your SOAP calls.

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

Makes sense... Question though what needs to be defined for the GetMailboxSetupInstructions method to return a valid response? In other words. Why would it return null?

Maybe it's 1 of the tables as you said. Just not sure what's actually checked, Which DB etc... Where can I start digging? 

Reply
Posts: 110
(@berkut)
Estimable Member
Joined: 7 years ago

Just compare the DB data. You can use for example the program "heidisql" for viewing DB data.

Create first a hosting space with SolidCP, then create with your SOAP, and after that check the DB. If you are using a fresh database, there is not much data, so it will be easy to check ~ 20 tables, most of them will be empty.

Reply
Page 4 / 6
Share: