![]() |
ISPConfig 3.0.3.1 API
Hi Till
Thank you for your reply. My code is below which is the exactly same with a sample code just except the params. Please advise exactly what I have to change? Thanks Harry PHP Code:
|
I've moved your post to the dev forum now as it is only related to the API.
Here are the changes that we did in the API: ISPConfig 3.0.2.2: client_update($session_id, $reseller_id, $client_id, $params) ISPConfig 3.0.3: client_update($session_id, $client_id, $reseller_id, $params) In your code, did you exchange the variable order where you call this function already? |
Quote:
Thanks for moving my post to Dev forum. Yes, I did and had a Soap error 'Wrong version' so I tried to find the reason for the error from remote.inc.php. I changed code (just exchanged $reseller_id and $client_id) as below and it's working without error. $affected_rows = $this->updateQuery('../client/form/client.tform.php', $reseller_id, $client_id, $params); Thanks Harry |
I've got another question:
Is there a function for adding a domain / a website? I only see examples for adding an email domain. And how can I find out the ID of a client via the API? |
@holykim: I will forward the problem back to the API devs that changed the API.
@Germanius: http://www.howtoforge.com/forums/showthread.php?t=50404 By the way, please make a new thread the next time as your question is not related to the problem discussed in this thread. |
| All times are GMT +2. The time now is 17:19. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.