vortus Posted February 4, 2017 Share Posted February 4, 2017 Hello. I would like to know if there may be possibility to find older API documentations? I am unable to get clients details properly using older version of WHMCS and newer documentations are no help at all. No, upgrade is not a solution for my case Currently using: $postfields["action"] = "getclientsdetails"; $postfields["username"] = env('WHMCS_API_USER'); $postfields["password"] = md5(env('WHMCS_API_PASS')); $postfields["clientid"] = intval($userid); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 100); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $postfields); $response = curl_exec($ch); curl_close($ch); Log::info(get_class($this).' WHMCS: '.$response); And receiving: {"status":"fail","message":"Invalid parameters submitted","data":null,"code":100008} Thank you! 0 Quote Link to comment Share on other sites More sharing options...
vortus Posted February 4, 2017 Author Share Posted February 4, 2017 Nevermind. My $url variable was cached with different API 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 4, 2017 Share Posted February 4, 2017 your best bet for old documentation might be to try archive.org... http://web.archive.org/web/*/http://docs.whmcs.com/API I would guess for v5 docs, you'd need to go back to 2014 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.