API Documentation/en
Aus EUserv Wiki
Root (Diskussion | Beiträge) |
Root (Diskussion | Beiträge) |
||
Zeile 35: | Zeile 35: | ||
{|style="border: 2px solid rgb(230,230,230); padding: 0em; background-color: rgb(255, 255, 255);" | {|style="border: 2px solid rgb(230,230,230); padding: 0em; background-color: rgb(255, 255, 255);" | ||
|- | |- | ||
- | |'''History of Changes''' || | + | |<center>'''History of Changes'''</center> || |
|- | |- | ||
|'''Version''' ||'''Changes''' | |'''Version''' ||'''Changes''' |
Version vom 09:52, 31. Aug. 2012
Inhaltsverzeichnis |
EUserv Reseller API
Introduction
Technology
Our API is based on the XML-RPC protocol, which is a Remote Procedure Calling protocol that works over the Internet.
XML-RPC messages are HTTP-POST requests in XML (Extensible Markup Language).
A “method call” will be executed on the server and will produce a response, which is also formatted in XML and which can be decoded into several variables.
Method call parameters and returned variables can be strings, integers (numbers) and also complex types like arrays and hashes. Required parameters and return values are method-specific. Some parameters or return values are marked as “optional”; all other values/parameters are required.
API Servers
Please note that both servers currently use self-signed SSL certificates! It is possible, that you have to disable “peer verifying” to connect!
The live environment is available over HTTPS (HTTP over SSL, Port 443) at:
– https://api.euserv.net:443
For developing/testing purposes, please use the sandbox environment, which is also available over HTTPS(Port 443) at:
– https://api.test.euserv.net:443
The sandbox environment is a virtual environment for testing and developing. All data/values/servers/orders will be copied into the sandbox environment every night, excepting the API user accounts. That means you have to create separate API user accounts within the sandbox environment. Assigned tasks, e.g. server resets or reinstallations, will automatically marked as done every 5 minutes.
PHP Examples
We have added PHP examples to show you, how you can use our API with PHP. In our examples, we use 'XML-RPC for PHP' as the core libary. You can find this libary here:
http://phpxmlrpc.sourceforge.net/ .
Version | Changes |
0.5.1 | - Add method 'server.ipaddr_get_reverse' - Add method 'server.get_possible_server_items' - Add method 'server.order_server' |
0.5.2 | - Update method 'server.get_possible_server_items' - Update method 'server.order_server' |
0.5.3 | - Add method 'domain.get_domain_orders' - Add method'domain.get_domain_order_details' - Add method 'domain.dns_create_record' - Add method 'domain.dns_delete_record' |
0.5.4 | - Add method 'server.get_traffic_graph' - Update internal methods |