ISPConfig 220.127.116.11 API
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?
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:
client_update($session_id, $reseller_id, $client_id, $params)
client_update($session_id, $client_id, $reseller_id, $params)
In your code, did you exchange the variable order where you call this function already?
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);
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.
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 20:34.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.