Zandek Posted September 1, 2017 Share Posted September 1, 2017 Hi! I am developing some system that using WHMCS API, and I got a stuck with AcceptOrder parameter serverid. I need to set this parameter (without using autosetup option) but I couldn't find a way to get a list of available servers (with theirs hostnames, ids, ip etc.) 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Developer WHMCS Andrew Posted September 1, 2017 WHMCS Developer Share Posted September 1, 2017 http://developers.whmcs.com/api-reference/getservers/ would get you a list of servers. This will provide a list of servers for you that aren't disabled. 0 Quote Link to comment Share on other sites More sharing options...
Zandek Posted September 1, 2017 Author Share Posted September 1, 2017 Thank you for answer, but it returns an error: Command not found 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Developer WHMCS Andrew Posted September 1, 2017 WHMCS Developer Share Posted September 1, 2017 What WHMCS version are you running? 0 Quote Link to comment Share on other sites More sharing options...
Zandek Posted September 1, 2017 Author Share Posted September 1, 2017 version 6.3.1 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Developer WHMCS Andrew Posted September 1, 2017 WHMCS Developer Share Posted September 1, 2017 This API command was added in WHMCS 7.x, in order to use it, you would need to upgrade. You would therefore need to "know" the server you want to use, or obtain the list directly from tblservers. 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.