Home » Categories » Customer Portal - ValhallaCP

API

Last Updated: Mon, Nov 11, 2013 3:18 PM


SeFlow Valhalla CP support http based API that allows you and your clients to interact directly with SeFlow customer portal. API can be disabled at any time and access is only granted with proper key and username.


Index

>> Check Autorization

>> Setup Reverse DNS

Dedicated Servers

>> Dedicated Server Bandwidth Graph

>> Reboot Dedicated Server

>> Check Server Status

>> Suspend Server

>> Reactivate Server

>> Update Portable IP

>> List Portable IP

 

Check Authorization

Action checkauth
Method GET
Variables -
Example Output

JSON

Success:

{"status":"success","statusmsg":"Login OK"}

Error:

{"status":"error","statusmsg":"Wrong Username or Password"}

 

 

Setup Reverse DNS

Action changerdns
Method GET
Variables ip (ip address to change rdns)
rdns (Host of reverse dns)
Example Output

JSON

Success:

{"status":"success","statusmsg":"Operation completed. rDNS will be avaiable within 24 hours"}

Error:

{"status":"error","statusmsg":"No such server or server not yet active"}

 

 

Dedicated Server Bandwidth Graph

Action dserver-graph
Method GET
Variables serverid (server name visible in the customer portal)
Example Output

JSON

Success:

{"status":"success","statusmsg":"","loadgraph":null,"dailygraph":"FULL-DAILY-GRAPH-PATH", "weekgraph":"FULL-WEEK-GRAPH-PATH","monthgraph":"FULL-DAILY-MONTH-PATH", "yeargraph":"FULL-YEAR-GRAPH-PATH"}

Error:

{"status":"error","statusmsg":"No such server or server not yet active","loadgraph":null}

 

 

Reboot Dedicated Server

Action reboot-dserver
Method GET
Variables serverid (server name visible in the customer portal)
Example Output

JSON

Success:

{"status":"success","statusmsg":"Reboot in Progress"}

Error:

{"status":"error","statusmsg":"No such server or server not yet active"}

 

 

Check Server Status

Action checkstatus
Method GET
Variables serverid (server name visible in the customer portal)
Example Output

JSON

Success:

{"status":"success","statusmsg":"Server is active"}

Success:

{"status":"success","statusmsg":"Server is canceled"}

Success:

{"status":"success","statusmsg":"Server is suspended by SeFlow"}

Success:

{"status":"success","statusmsg":"Server is suspended by customer"}

Error:

{"status":"error","statusmsg":"No such server or server not yet active"}

 

 

Suspend Server

Action suspendserver
Method GET
Variables serverid (server name visible in the customer portal)
Example Output

JSON

Success:

{"status":"success","statusmsg":"Server Suspended"}

Error:

{"status":"error","statusmsg":"No such server or server not yet active"}

 

 

Reactivate Server

Action activateserver
Method GET
Variables serverid (server name visible in the customer portal)
Example Output

JSON

Success:

{"status":"success","statusmsg":"Server reactivated"}

Error:

{"status":"error","statusmsg":"No such server or server not yet active"}

 

 

Update Portable IP

Action changeiproute
Method GET
Variables portableip (assigned portable IP)
target_ip (destination primary server IP)
Example Output

JSON

Success:

{"status":"success","statusmsg":"Portable IP route was update succesfully"}

Error:

{"status":"error","statusmsg":"No such ip"}
{"status":"error","statusmsg":"No such target server"}

 

 

List Portable IP

Action showportableip
Method GET
Variables -
Example Output

JSON

Success:

{"status":"success","statusmsg":"1st_portableip:iprouted 2st_portableip:iprouted "}
example: {"status":"success","statusmsg":"192.168.0.1:10.0.10.1 192.168.0.2:10.0.3.14 "}

Error:

{"status":"error","statusmsg":"No Portable IP"}
Attachments Attachments
There are no attachments for this article.
Comments (1) Comments
Comment By Margherita Drago - Sat, Sep 14th, 2013 6:06 PM
Ritengo che i lavori che si stanno facendo riguardo al Pannello Valhalla CP porteranno notevoli benefici ai rivenditori di servizi SeFlow, non conosco dettagliatamente le modifiche, ma conoscendo SeFlow sono sicura che siano utili e di alto livello, come tutta SeFlow.Margherita Drago
Related Articles RSS Feed
vKVM - See your boot server process
Viewed 2175 times since Thu, Nov 29, 2012
Request Additional IPv4
Viewed 2181 times since Sun, Dec 9, 2012
© 2017 SeFlow All Rights reserved | Home | Server Dedicati | Server Virtuali | Domini | Contatti