AndrewH.
- Total activity 73
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 31
Comments
Recent activity by AndrewH.-
WHM only has API 0 / 1, cPanel has API 1/2/UAPI. If you are trying to create a cPanel account that can only be done via WHM, and thus you must use the appropriate API calls. The following is a li...
-
Here is the docs on NVData::Get
-
Try the call exactly as you had it before, just swap cpanel_xmlapi_user=root to cpanel_xmlapi_user=someuser. You will still be authenticated as root but this just lets the API know to perform the ...
-
You should be able to access all cPanel API's via the 'cpanel' call with WHM API. That said, the user 'root' is probably not a cPanel user on your box. Try it out with one of the users with a val...
-
Looks like what you want is to make a custom WHM API 1 function. Unfortunately we do not have full modular support for 3rd party API development in WHM like we do in cPanel. That said, if you wa...
-
I tried running a similar command on my development box and got this response devserver:2083/execute/Email/add_forwarder?email=reseller%40reseller.tld&fwdopt=pipe&pipefwd=echo {"messages":null,"e...
-
You are using the "xmlapi" call but passing "cpanel_jsonapi" arguments. The API unfortunately does not know how to parse this properly. If you want XML, use "xmlapi" and "cpanel_xmlapi" according...
-
Actually after some testing internally it might be a bug. UAPI is technically API version 3, and as such you can pass in this and it actually makes an attempt to make the correct call. Unfortunat...
-
Oh good catch, I had forgotten about the cpanel module. Unfortunately I don't have a good solution to utilize cPanel UAPI directly besides calling it directly. That said, I believe you can use ...
-
WHM API and cPanel API 1/2/UAPI are separate and not callable from each other by design currently; What API call are you trying to make or task are you trying to accomplish?