rhwindows

True if reseller signed up for any RH Windows Product (US or IN or UK)

Get Plan Details

Description

Use this method to get details of your plans.

Response

Returns the details of the plans of the Reseller Windows Hosting product along with the plan details of other Products of the reseller.

Example:

The response structure for the Reseller Windows Hosting product will be:

US Server


resellerwindowshosting

{

"plan-id(value)"

{

"plan details keys" => "plan details values"

}

}

UK Server


resellerwindowshostinguk

{

"plan-id(value)"

{

"plan details keys" => "plan details values"

}

}

India Server


resellerwindowshostingin

{

"plan-id(value)"

{

"plan details keys" => "plan details values"

}

}

Turkey Server


resellerwindowshostingtr

{

"plan-id(value)"

{

"plan details keys" => "plan details values"

}

}

Generate License Key

Description

Generates the license key for the specified Reseller Windows Hosting Order. If already generated, will return the existing key.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The Order ID for which the license key to be generated.

HTTP Method

POST

Example Test URL Request

US Server


https://test.httpapi.com/api/resellerhosting/windows/us/generate-license-key.json?auth-userid=0&api-key=key&order-id=0

UK Server


https://test.httpapi.com/api/resellerhosting/windows/uk/generate-license-key.json?auth-userid=0&api-key=key&order-id=0

India Server


https://test.httpapi.com/api/resellerhosting/windows/in/generate-license-key.json?auth-userid=0&api-key=key&order-id=0

Turkey Server


https://test.httpapi.com/api/resellerhosting/windows/tr/generate-license-key.json?auth-userid=0&api-key=key&order-id=0

Response

Returns status and generated license key of the specified Reseller Windows Hosting Order.

Get Details

Description

Gets the details of an existing Reseller Windows Hosting Order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The Order ID for which the details to be fetched.

HTTP Method

GET

Example Test URL Request

US Server


https://test.httpapi.com/api/resellerhosting/windows/us/details.json?auth-userid=0&api-key=key&order-id=0

UK Server


https://test.httpapi.com/api/resellerhosting/windows/uk/details.json?auth-userid=0&api-key=key&order-id=0

India Server


https://test.httpapi.com/api/resellerhosting/windows/in/details.json?auth-userid=0&api-key=key&order-id=0

Turkey Server


https://test.httpapi.com/api/resellerhosting/windows/tr/details.json?auth-userid=0&api-key=key&order-id=0

Response

Returns the details of an existing Reseller Windows Hosting Order.

Delete

Description

Deletes an existing Reseller Windows Hosting Order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The Order ID which is to be deleted.

HTTP Method

POST

Example Test URL Request

US Server


https://test.httpapi.com/api/resellerhosting/windows/us/delete.json?auth-userid=0&api-key=key&order-id=0

UK Server


https://test.httpapi.com/api/resellerhosting/windows/uk/delete.json?auth-userid=0&api-key=key&order-id=0

India Server


https://test.httpapi.com/api/resellerhosting/windows/in/delete.json?auth-userid=0&api-key=key&order-id=0

Turkey Server


https://test.httpapi.com/api/resellerhosting/windows/tr/delete.json?auth-userid=0&api-key=key&order-id=0

Response

Returns a map of the execution details of the delete operation.

Delete Dedicated IP

Description

Deletes the specified dedicated IP(s) of the Reseller Windows Hosting Order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The Order ID for which the specified dedicated IP(s) to be deleted.
ips Array of Strings Required Dedicated IP(s) you want to delete.

HTTP Method

POST

Example Test URL Request

US Server


https://test.httpapi.com/api/resellerhosting/windows/us/delete-dedicated-ip.json?auth-userid=0&api-key=key&order-id=0&ips=0.0.0.0&ips=1.1.1.1

UK Server


https://test.httpapi.com/api/resellerhosting/windows/uk/delete-dedicated-ip.json?auth-userid=0&api-key=key&order-id=0&ips=0.0.0.0&ips=1.1.1.1

India Server


https://test.httpapi.com/api/resellerhosting/windows/in/delete-dedicated-ip.json?auth-userid=0&api-key=key&order-id=0&ips=0.0.0.0&ips=1.1.1.1

Turkey Server


https://test.httpapi.com/api/resellerhosting/windows/tr/delete-dedicated-ip.json?auth-userid=0&api-key=key&order-id=0&ips=0.0.0.0&ips=1.1.1.1

Response

Returns a map of the execution details of the deleting dedicated IP(s) operation.

Add Dedicated IP

Description

Adds a dedicated IP for an existing Reseller Windows Hosting Order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The Order ID for which a dedicated IP to be added.
invoice-option String Required This parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd

HTTP Method

POST

Example Test URL Request

US Server


https://test.httpapi.com/api/resellerhosting/windows/us/add-dedicated-ip.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice

UK Server


https://test.httpapi.com/api/resellerhosting/windows/uk/add-dedicated-ip.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice

India Server


https://test.httpapi.com/api/resellerhosting/windows/in/add-dedicated-ip.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice

Turkey Server


https://test.httpapi.com/api/resellerhosting/windows/tr/add-dedicated-ip.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice

Response

Returns a map of the execution details of the adding dedicated IP operation.

Modify/Upgrade

Description

Modifies/upgrades an existing Reseller Windows Hosting Order.

Parameters

Name Data Type Required / Optional
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The Order ID which is to be modified.
new-plan-id Integer Required The new plan to which the Order is to be upgraded/downgraded. To fetch the plan details i.e. plan-id etc, use this method.
months Integer Required The number of months in the new plan for which the Order is to be modified.
invoice-option String Required This parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd

HTTP Method

POST

Example Test URL Request

US Server


https://test.httpapi.com/api/resellerhosting/windows/us/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice

UK Server


https://test.httpapi.com/api/resellerhosting/windows/uk/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice

India Server


https://test.httpapi.com/api/resellerhosting/windows/in/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice

Turkey Server


https://test.httpapi.com/api/resellerhosting/windows/tr/modify.json?auth-userid=0&api-key=key&order-id=0&new-plan-id=0&months=0&invoice-option=NoInvoice

Response

Returns a map of the execution details of the modify operation.

Renew

Description

Renews an existing Reseller Windows Hosting Order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The Order ID which is to be renewed.
months Integer Required The number of months for which the Order is to be renewed.
auto-renew Boolean Required

Enables / Disables the Auto Renewal setting for the Order.

invoice-option String Required This parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd

HTTP Method

POST

Example Test URL Request

US Server


https://test.httpapi.com/api/resellerhosting/windows/us/renew.json?auth-userid=0&api-key=key&order-id=0&months=0&invoice-option=NoInvoice

UK Server


https://test.httpapi.com/api/resellerhosting/windows/uk/renew.json?auth-userid=0&api-key=key&order-id=0&months=0&invoice-option=NoInvoice

India Server


https://test.httpapi.com/api/resellerhosting/windows/in/renew.json?auth-userid=0&api-key=key&order-id=0&months=0&invoice-option=NoInvoice

Turkey Server


https://test.httpapi.com/api/resellerhosting/windows/tr/renew.json?auth-userid=0&api-key=key&order-id=0&months=0&invoice-option=NoInvoice

Response

Returns a map of the execution details of the Renew operation.