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.

XML API Documentation Errors

Discussion in 'cPanel Developers' started by Glazzito, May 28, 2011.

  1. Glazzito

    Glazzito Member

    Joined:
    Oct 21, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Portugal
    Hello,

    I've noticed some errors in the API 1/2 documentation.

    For example, we can add Email Accounts using API2 ? I can't but there is addpop in the API2::Email documentation ApiEmail < ApiDocs/Api2 < TWiki

    I can post more examples of this, but you guys need to make a revision on the documentation.
     
  2. cPanelDavidN

    cPanelDavidN Integration Developer
    Staff Member

    Joined:
    Dec 17, 2009
    Messages:
    571
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi Glazzito,

    There is an API2 function for Email::addpop. And the documentation for it is correct for current versions of cPanel.

    Are you running 11.26 or greater?

    I would guess that there's a subtle error in how your constructing/calling your API2 functions. If you can give an example of how you're call API2, I'd more that happy to review it.

    If we find any discrepancies with the API documentation, whether it the API functions (as you suggest) or how queries are constructed (something that has misguided your construction methods), I'll certainly see to it that the documentation is corrected.

    Regards,
    -DavidN
     
Loading...

Share This Page