Virtualizor API Issue https://www.softaculous.com/board/index.php?tid=15205 <![CDATA[Virtualizor API Issue]]> https://www.softaculous.com/board/index.php?tid=15205&tpg=1#p47867 Sir whenever you make any call using SDK you will need to make a call to Master server only.If you make call to Slave server it will work but Master will not be aware of that changes. So in next sync the DB changes will be overwirtten as per the master server entry.
It should work from Master server.https://www.virtualizor.com/docs/admin-api/rebuild-vps/
Let us know if you are facing any issues.
]]>
Mon, 18 Nov 2019 06:31:44 GMT https://www.softaculous.com/board/index.php?tid=15205&tpg=1#p47867
<![CDATA[Virtualizor API Issue]]> https://www.softaculous.com/board/index.php?tid=15205&tpg=1#p45967 ]]> Wed, 22 May 2019 08:30:45 GMT https://www.softaculous.com/board/index.php?tid=15205&tpg=1#p45967 <![CDATA[Virtualizor API Issue]]> https://www.softaculous.com/board/index.php?tid=15205&tpg=1#p45966
Quote From : wolke May 21, 2019, 9:50 am
You need to set the server IP. You can´t use master for all API access. It is server based. So if you direct the API request to the master, but the vps is on a slave you will get the vps id not found error.
I mentioned that many months ago, because this make tha Admin API unusable in my opinion., At least if used with automation software like WHMCS (there you only have the vps ID and WHMCS has no clue on which server the vps is installed.).
That´s one of the reason I never use this.


They send me the new SDK admin. Check it out with they. With it, we can connect to any VPS from any server, master or slave.

So I finished my custom module from WHMCS: "Rebuild VPS", now we can rebuild a VPS without need access Virtualizor, why we do not allow the rebuild feature to the enduser. ]]>
Wed, 22 May 2019 07:01:46 GMT https://www.softaculous.com/board/index.php?tid=15205&tpg=1#p45966
<![CDATA[Virtualizor API Issue]]> https://www.softaculous.com/board/index.php?tid=15205&tpg=1#p45950 I mentioned that many months ago, because this make tha Admin API unusable in my opinion., At least if used with automation software like WHMCS (there you only have the vps ID and WHMCS has no clue on which server the vps is installed.).
That´s one of the reason I never use this.
]]>
Tue, 21 May 2019 09:50:24 GMT https://www.softaculous.com/board/index.php?tid=15205&tpg=1#p45950
<![CDATA[]]> https://www.softaculous.com/board/index.php?tid=15205&tpg=0#p45923  
 I'm trying to create a custom button on WHMCS Admin Panel called as "Rebuild", only to the Admin user be able to rebuild a VPS with easy mode, because I do not use "User Rebuilt" on VPS panel to prevent any errors that the customer can do.

I'm trying to use ADMIN API, but when I call the function, the system return this error: https://puu.sh/Dt6fR/84a806575a.png, say me this reason: "The VPS ID doesn't exists"

 
 My questions is:


1. The Virtualizor admin API only work if the VPS is in Master server?

2. Can you check if have some error in this simple code? https://puu.sh/Dt6N7/eb597c694a.png

On error log,  it returns all data from the VPS as correct informations, but it simply doesn't process.]]>
Thu, 16 May 2019 16:15:33 GMT https://www.softaculous.com/board/index.php?tid=15205&tpg=0#p45923