Read this First: General API Integration InstructionsThe API is exposed using SOAP, a common web services protocol. SOAP is extremely simple to use and debug since it is an XML based protocol. While SOAP is a standardized protocol, we are using certain complex data types which are not completely compatible across all platforms. However, we have written our own wrappers to handle this and we offer direct integration kits in various platforms which you can directly download and use. Note
When our system receives a request, it tries to complete the action immediately. If the system is unable to complete the action for some reason, it will return an error response and try to complete the action again after sometime. This ensures a high level of fault tolerance. Due to this, it is imperative that when you encounter an error response (especially for commands that have financial implications like Registering or Renewing orders), you must check whether the command eventually failed or succeeded. To do this, you will have to issue additional API commands (depending on the command for which you received an error response) to check the final status of the original command. Such checks are also recommended in cases when a query times out, due to network outages or any other reason. It is advised that you implement this querying process, to check the status of API commands as a scheduled task/cron/batch process. Alternately, you can also check the status of the command by logging into your Reseller Control Panel. Currently, integration kits are available in PHP, Java, Perl and .NET. Follow the steps below to begin making calls to the API: Sign up for a Demo Reseller Account and Register your IP Address to make API callsSignup for a Demo Reseller Account (Anchor: demo)You will initially test your API scripts on our Demo server. Additional Information
You will need the following items before you proceed to the next step:
Note
Register your IP Address to make API calls (Anchor: register)
Note
Additional Information
Download the API Kit Suitable for your PlatformNote
The SOAP API Kits have been deprecated. We recommend using the HTTP API instead. 1 Download the API DocumentationThe complete documentation of all classes and methods available in the API can be found in the Docs below. The Docs below are javadocs, but the function names and explanations remain the same for all the platforms and the documentation is self explanatory. We recommend you download the docs and read through them completely once before you integrate your application: Parameter Validation Details of Different Parameters Passed in any API CallsWe have a detailed document on the validation routines which you need to build in for the various parameters which you send to the API call. Failure to validate these fields on your side may result in an undecipherable error from the Server. 2 Refer the Error format Document and Common ErrorsThe first time you run any example you are likely to encounter errors if you have not followed the steps perfectly. It is important to understand the format of an error. 3 Note
Sometimes, you may receive a 302 HTTP Redirect response from our system. Your API implementation should be capable of following such a redirect. Run the ExamplesAll the above kits contain examples which you can run and test the API functionality. Try these examples out to verify everything is working fine. You should first run these examples on the Demo Server. Use the Demo Sign up information gathered above and the Demo Server URL below to run the examples on the demo server. Demo Server URLs for API Kits ver 3.x and AboveJava and PHP API Kits http://soapapi.com/anacreon/servlet/APIv3 Perl and .NET API Kit http://soapapi.com/anacreon/servlet/APIv3-XML Demo Server URLs for older API KitsJava and PHP API Kits http://soapapi.com/anacreon/servlet/rpcrouter .NET and Perl API Kits http://soapapi.com/anacreon/servlet/XMLrpcrouter Refer the Common ErrorsHere we have some answers covering common errors you can expect while integrating with the API. 4 Change the Information to Live Information (When you are Ready)Once you have followed the steps above and got the test programs to work successfully, you can duplicate the same code in your live application. Update your Application with Live Details (Anchor: golive)Replace the following information in your application when you are ready to go live:
Refer the corresponding kit and integration guide of the platform that you choose for further instructions. Note
|

