Frequently Asked Questions

Version: 7C

HC7 Build: 7.00.0012 and later

API Build: 1.00.0001 and later

 

  1. How do I configure HC7 API and integrate it in my own application?
     

    HC7 API is very easy to configure and integrate. Here are the steps to be followed:

    •  Login to your control panel. Go to My Server and then click API Configurations. Here, select the domain under which you want to setup your API. You can also choose your customized name for the virtual directory. Now click Save Settings. At the bottom, it will display you the access URL of your API.

    • Open your application and use this URL to connect your application to HC7 API. For further reference, you can see HC7 API Sample Web Application.
       

  2. What is HC7 API Sample Web Application and how it is helpful?
     

    HC7 API Sample Web Application includes C# Code based on Web Reference and SOAP calls to each and every method of HC7 API. Just copy your API access URL in web.config file of this application and test the required function and copy the code written on the Click event of the Execute button.

     

  3. I want to write my own Signup. Which steps should I follow?
     

    You can find all the functions and their documentation used for writing a Signup. Here is a sequential list of functions used to write it:

    1. GetPlans of Plan Manager is used to retrieve all the plans.

    After gathering all the required information from the user, the following mentioned functions will be helpful for you:

    1. AddUser of User Manager is required for adding user.

    2. GetSoldPlans of Plan Manager is used to retrieve sold plan of the created user.

    3. AddWebsite function of Domain Manager is used to create a website.

    4. AddMailDomain of Mail Manager is used to create mail domain (if you want to setup mail domain as well)
       

  4. If I have turned off Automatic Load Balancing in my control panel and I still want it to be automatic through API. Is it possible?
     

    Yes it is possible. In API, load balancing is dependent on the parameters you send. If you send ServerName parameter, then resource will be created on that particular server. Otherwise API will perform automatic load balancing.

     

  5. For my cluster, do I have to configure API on my all servers separately?

     

    No, like control panel, HC7 API will also have a single interface for multiple servers. You have to configure API only once and can access it from any server.