The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to use specific function of WHM API 1

Discussion in 'cPanel Developers' started by kmoransv, Aug 31, 2016.

Tags:
  1. kmoransv

    kmoransv Registered

    Joined:
    Aug 31, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    El Salvador
    cPanel Access Level:
    Root Administrator
    Hello,
    I am doing a development and need to integrate a platform written in PHP, with our cPanel server.
    For this I use the xmlapi.php file, but I can not use all functions for example when I use this function "applist" with my root account it did not list all the functions...

    WHM API 1 Functions - applist - Software Development Kit - cPanel Documentation

    Part of the development I'm doing is open the session of certain users to direct their management options like email accounts and file manager accesses.

    Could you help me?

    Thank you!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know which functions are missing? Are you able to reproduce the issue when using the "whmapi1 applist" command? Also, could you verify if the script is ran as "root"?

    Thank you.
     
  3. kmoransv

    kmoransv Registered

    Joined:
    Aug 31, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    El Salvador
    cPanel Access Level:
    Root Administrator
    Hello,

    Yes the script is ras as "root", and this is the list that it give me.

    applist

    This list is too short in compare to your api documentation shows...

    Thank you.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I've been unable to reproduce this issue. The output you provided suggests you are authenticated as a reseller. Could you let us know which version of cPanel is installed on this system? Also, can you login via SSH as "root" and run "whmapi1 applist" to see if you encounter the same results?

    Thank you.
     
Loading...

Share This Page