Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    4

    Question xml api problem

    Hi,

    I have a problem about xml-api connection. There is not enough docs..
    I can create new email in cpanel . but cannot change password or quota
    Can anyone tell me functions?

    For example : below code is create email:
    /xml-api/cpanel?user=nick&xmlin=
    <cpanelaction>
    <module>Email </module>
    <func>addpop</func>
    <apiversion>1</apiversion>
    <args>$user</args>
    <args>$password</args>
    <args>$quota</args>
    <args>$domain</args>
    </cpanelaction>

    what about others?

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Common connection issues and their symptoms are explained on this post: http://forums.cpanel.net/showpost.ph...27&postcount=8

    PS: Does the cPanel user nick actually exist on your server?

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    4

    Default

    nick doesnt exist on my server..i use this name in my connections,there isnt any problem about..
    thanks

  4. #4
    Member
    Join Date
    Dec 2001
    Posts
    746

    Default

    Quote Originally Posted by hellomoto View Post
    nick doesnt exist on my server..i use this name in my connections,there isnt any problem about..
    thanks
    The name used is the cPanel user that the command is to be executed as. I suggest reading my presentation from last year's cPanel Seminar for more info: http://www.cpanel.net/docs/seminar07/XML_API.pdf

Similar Threads & Tags
Similar threads

  1. Problem with CURL in XML api
    By amirem in forum cPanel Developers
    Replies: 3
    Last Post: 04-07-2011, 07:12 AM
  2. Xml api creatacc problem - server response break
    By jerome.chevreau in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-05-2011, 02:10 AM
  3. problem with xml-api/modifyacct & twiki
    By DavidS in forum cPanel Developers
    Replies: 2
    Last Post: 11-21-2009, 02:13 PM
  4. Problem whith XML API accountsummary
    By eugui in forum cPanel Developers
    Replies: 2
    Last Post: 02-13-2008, 07:46 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube