Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 20 of 20
  1. #16
    Member
    Join Date
    Dec 2001
    Posts
    746

    Default

    We released the calls into EDGE in April:

    Added new XML-API calls: getzonerecord,addzonerecord,editzonerecord,suspendreseller,setresellerips,setresllermainip,setresellerpackagelimit,setresellerlimits


    You're welcome to test with them. They should be pushed into the next set of current, release, and stable builds pending testing.

  2. #17
    Member kdoShaun's Avatar
    Join Date
    Sep 2008
    Posts
    18

    Default

    When can we expect some doco?
    Its awesome that we have the calls!
    But without some docs (param etc) we can't use them

    Shaun
    Shaun Deans
    Kadeo - kadeo.com.au
    Web Applications :: Custom Software :: Intelligent Integration :: WHMCS Modules/Addons

  3. #18
    Member
    Join Date
    Nov 2005
    Posts
    44

    Default

    Hey Dave,

    Thanks for that, could we please get an example of how to use the "editzonerecord" function.

    Thanks

    Found this :/

    sub xmlapi_editzonerecord {
    my $self = shift;
    return XML::Simple::XMLin( $self->simple_get_whmreq( '/xml-api/editzonerecord', \@_ ) );
    }

    sub xmlapi_getzonerecord {
    my $self = shift;
    return XML::Simple::XMLin( $self->simple_get_whmreq( '/xml-api/getzonerecord', \@_ ) );
    }
    edit : Ooo, I managed to edit an A record
    edit: Is there a command to restart the dns server?
    edit: nmv, /xml-api/restartservice?service=named
    Last edited by jasonhk; 05-20-2009 at 09:23 PM.

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

    Default

    The documentation is now available on the site:

    XmlApi < AllDocumentation/AutomationIntegration < TWiki


    Its still only in EDGE however. Its one step closer to 11.25 though.
    -Nick
    cPanel Inc.

    Need support? Submit a request here. Complimentary support is available to all license holders regardless of where you purchased your license.
    Need a complimentary support account? Create one here.

  5. #20
    Member
    Join Date
    Nov 2005
    Posts
    44

    Default

    Awesome, thanks Nick

Similar Threads & Tags
Similar threads

  1. PHP DNS Editor (using cPanel API)
    By dansgalaxy in forum cPanel Developers
    Replies: 0
    Last Post: 01-03-2011, 01:20 AM
  2. Can Jason API wotk on cpanel DNS only ?
    By dkphp in forum cPanel Developers
    Replies: 2
    Last Post: 07-13-2010, 10:21 AM
  3. cPanel/WHM API - Create Account without DNS?
    By brunoredesul in forum cPanel Developers
    Replies: 2
    Last Post: 02-11-2010, 05:56 AM
  4. Anyone experienced with using cPanel API to provide customers with DNS Hosting?
    By speedpacket in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-18-2010, 08:51 AM
  5. API to get the DNS from cPanel ?
    By lvt in forum cPanel Developers
    Replies: 2
    Last Post: 06-25-2009, 02:33 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube