Account

Provides methods for account manipulation

APIDescription
POST api/Account/Login

Authenticates customer and returns new token if success

POST api/Account/Logout

Logouts customer and removes his session

GET api/Account/Info

Returns account information

PUT api/Account/Info

Returns account information

POST api/Account/Question

Send a authorized question to selected department

POST api/Account/TwoFactorAuth

Enable two factor authentication with Google Authenticator

PUT api/Account/TwoFactorAuth

Activate two way authentication with Google Authenticator using supplied code

DELETE api/Account/TwoFactorAuth

Disable two way authentication with Google Authenticator

Contact

Provides methods for manipulation customer contacts

APIDescription
GET api/Contact

Returns all contacts which belong to this customer account

GET api/Contact/{id}

Returns details of selected contact

PUT api/Contact/{id}

Updates selected contact

POST api/Contact

Creates a new contact for customer account

DELETE api/Contact/{id}

Removes contact for selected customer

Country

Provides methods for manipulation with Countries

APIDescription
GET api/Country

Returns all system countries

GET api/Country/{id}

Returns details of selected Country

EmailAccount

Provides methods for manipulation with Webhosting email accounts

APIDescription
GET api/EmailAccount/{domain}

Returns all email accounts which belongs to selected webhosting domain

GET api/EmailAccount/{domain}/{username}

Returns details of selected email account

PUT api/EmailAccount/{domain}/{username}

Updates selected email account

POST api/EmailAccount/{domain}

Creates a new email account for selected webhosting

DELETE api/EmailAccount/{domain}/{username}

Removes email account and all it's data for selected domain

FtpAccount

Provides methods for manipulation with Webhosting FTP accounts

APIDescription
GET api/FtpAccount/{domain}

Returns all FTP accounts which belongs to selected webhosting domain

GET api/FtpAccount/{domain}/{id}

Returns details of selected FTP account

PUT api/FtpAccount/{domain}/{id}

Updates selected FTP account

POST api/FtpAccount/{domain}

Creates a new FTP account for selected webhosting

DELETE api/FtpAccount/{domain}/{id}

Removes FTP account for selected domain

Invoice

Provides methods for manipulation with Invoices

APIDescription
GET api/Invoice

Returns all customer invoices

GET api/Invoice/{invoiceNumber}

Returns details of selected invoice

GET api/Invoice/{invoiceNumber}/PDF

Returns pdf version of selected invoice

GET api/Invoice/{invoiceNumber}/Email

Send invoice by email

MssqlDatabase

Provides methods for manipulation with Webhosting MS SQL databases

APIDescription
GET api/MssqlDatabase/{domain}

Returns all MS SQL databases which belongs to selected webhosting domain

GET api/MssqlDatabase/{domain}/{id}

Returns details of selected MS SQL database

PUT api/MssqlDatabase/{domain}/{id}

Updates selected MS SQL database

POST api/MssqlDatabase/{domain}

Creates a MS SQL database for selected webhosting

DELETE api/MssqlDatabase/{domain}/{id}

Removes MS SQL database for selected domain

GET api/MssqlDatabase/{domain}/{id}/UsedSpace

Returns information about MS SQL database used space

GET api/MssqlDatabase/{domain}/Collations

Returns all supported MS SQL database collations

GET api/MssqlDatabase/{domain}/Languages

Returns all supported MS SQL database languages

GET api/MssqlDatabase/{domain}/{id}/ConnectionString

Returns connection string which should be used to connect database server

Order

Provides methods for manipulation with Orders

APIDescription
GET api/Order

Returns all customer orders

GET api/Order/{orderNumber}

Returns details of selected order

DELETE api/Order/{orderNumber}

Cancel order

GET api/Order/{orderNumber}/Email

Send order details by email

Proforma

Provides methods for manipulation with Proforma Invoices

APIDescription
GET api/Proforma

Returns all customer proforma invoices

GET api/Proforma/{proformaNumber}

Returns details of selected proforma invoice

GET api/Proforma/{proformaNumber}/PDF

Returns pdf version of selected Proforma Invoice

GET api/Proforma/{proformaNumber}/Email

Send Proforma Invoice by email

GET api/Proforma/{proformaNumber}/Payment

Get Proforma Invoice payment information

Webhosting

Provides methods for manipulation with Webhostings

APIDescription
GET api/Webhosting

Returns all webhosting services

GET api/Webhosting/{domain}

Returns details of selected webhosting

GET api/Webhosting/{domain}/UsedSpace

Returns details of selected webhosting

GET api/Webhosting/{domain}/ScreenShot

Returns screenshot of selected webhosting

GET api/Webhosting/{domain}/ApplicationPool

Returns Application Pool settings

PUT api/Webhosting/{domain}/ApplicationPool

Updates Application Pool settings

GET api/Webhosting/{domain}/ApplicationPoolStatistics

Returns Application Pool settings

GET api/Webhosting/{domain}/DefaultDocument

Returns Default documents for this webhosting

PUT api/Webhosting/{domain}/DefaultDocument

Updates Application Pool settings

PUT api/Webhosting/{domain}/IISManager

Updates IIS Manager settings

GET api/Webhosting/{domain}/IISManager

Returns IIS Manager information for this webhosting

GET api/Webhosting/{domain}/MIMEType

Returns customized MIME types for this webhosting

PUT api/Webhosting/{domain}/MIMEType

Updates Application Pool settings