Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jan 2007
    Posts
    5

    Default How do I use the xml - api?

    Hello,

    For the life of me I can't figure out how to actually use the xml api that cPanel obviously offers.
    From http://www.cpanel.net/plugins/xmlapi/index.html I gather that I am supposed to "call a URL from WebHostManager" but I have no idea what that is supposed to mean.

    If my cPanel test-installtion is invoked like this http://www.MyDomain.com:2086
    how then am I supposed to add /xml-api/setupreseller?user=bob&makeowner=1
    like the xml api documentation suggests.

    If I try to invoke
    http://www.MyDomain.com:2086/xml-api...ob&makeowner=1
    I get a 404 error.

    Could you please let me know how to invoke the xml-api on my cPanel?

    Thanks a lot!

  2. #2
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,514

    Default

    Quote Originally Posted by rhopperger View Post
    Hello,

    For the life of me I can't figure out how to actually use the xml api that cPanel obviously offers.
    From http://www.cpanel.net/plugins/xmlapi/index.html I gather that I am supposed to "call a URL from WebHostManager" but I have no idea what that is supposed to mean.

    If my cPanel test-installtion is invoked like this http://www.MyDomain.com:2086
    how then am I supposed to add /xml-api/setupreseller?user=bob&makeowner=1
    like the xml api documentation suggests.

    If I try to invoke
    http://www.MyDomain.com:2086/xml-api...ob&makeowner=1
    I get a 404 error.

    Could you please let me know how to invoke the xml-api on my cPanel?

    Thanks a lot!
    You need cpanel 11.x+

  3. #3
    Member
    Join Date
    Jan 2007
    Posts
    5

    Default

    Quote Originally Posted by cpanelnick View Post
    You need cpanel 11.x+
    That would be an explanation! That never occurred to me as I just downloaded the 14 day trial version a week ago.

    Thanks a lot for that answer.

  4. #4
    Member
    Join Date
    May 2007
    Posts
    6

    Default

    Quote Originally Posted by rhopperger View Post
    That would be an explanation! That never occurred to me as I just downloaded the 14 day trial version a week ago.

    Thanks a lot for that answer.

    Hi,
    Did this solve your situation, and does it now work by calling the url with the additional parameters?

Similar Threads & Tags
Similar threads

  1. XML API 2 help
    By Dragonxito in forum cPanel Developers
    Replies: 1
    Last Post: 05-13-2011, 05:23 PM
  2. xml-api/accountsummary
    By monaghan in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-25-2008, 04:57 PM
  3. xml-api reseller
    By eugui in forum cPanel Developers
    Replies: 1
    Last Post: 05-23-2008, 12:05 AM
  4. XML-API is any of these possible?
    By neo4242002 in forum cPanel Developers
    Replies: 3
    Last Post: 03-17-2008, 02:46 PM
  5. XML API: always get login screen, not XML
    By sldff3ald in forum cPanel Developers
    Replies: 3
    Last Post: 09-19-2007, 10:29 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube