jimlongo Posted October 28, 2020 Share Posted October 28, 2020 in version 7.10.2 API call $command = 'WhmcsDetails'; $postData = []; $results = localAPI($command, $postData, $adminUsername); the result Array ( [result] => error [message] => API Function Not Found ) It must be available in this version, as the docs have the result { "result": "success", "whmcs": { "version": "7.10.2", "canonicalversion": "7.10.2-release.1" } } 0 Quote Link to comment Share on other sites More sharing options...
jimlongo Posted October 28, 2020 Author Share Posted October 28, 2020 It's not the API in general. As an example the $command = 'GetClientGroups" returns Array ( [result] => success [totalresults] => 0 ) 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted October 28, 2020 Share Posted October 28, 2020 WhmcsDetails is a thing for v8 - you can't use it with v7 or earlier versions. 0 Quote Link to comment Share on other sites More sharing options...
jimlongo Posted October 29, 2020 Author Share Posted October 29, 2020 Appears so. Pretty silly Example JSON response in the docs. https://developers.whmcs.com/api-reference/whmcsdetails/ 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.