The hosting object provides methods to manage the hosting package.
Cancel a hosting package.
Table 2.168. Parameters
Parameter | Description | Type | Required | Default |
---|
hostingId | Hosting package id |
token255
| true | |
No additional return parameters
2.13.2. hosting.controlPanel
Returns the URL to the hosting control panel.
Table 2.169. Parameters
Parameter | Description | Type | Required | Default |
---|
id | Hosting package ID |
int
| true | |
Table 2.170. Parameters
Parameter | Description | Type | Optional |
---|
url | URL to the hosting control panel |
token255
| |
Order a hosting package.
Table 2.171. Parameters
Parameter | Description | Type | Required | Default |
---|
hostingId | Hosting package id |
token255
| false | |
productId | Hosting package id |
token255
| false | |
testing | Execute command in testing mode |
boolean
| false | false |
No additional return parameters
2.13.4. hosting.getPrices
Get hosting packages prices.
Table 2.172. Parameters
Parameter | Description | Type | Optional |
---|
hosting | | | |
... id | Id of the hosting package |
int
| Yes |
... product | Name of the hosting package product |
text64
| Yes |
2.13.5. hosting.issuspended
Check whether a hosting plan is currently suspended
Table 2.173. Parameters
Parameter | Description | Type | Required | Default |
---|
hostingId | ID of the hosting product |
int
| true | |
Table 2.174. Parameters
Parameter | Description | Type | Optional |
---|
isSuspended | Indicates whether the specified hosting plan is currently suspended |
boolean
| |
endDate | Cancellation time of the specified hosting plan |
dateTime
| |
paidUntil | Paid until information for the hosting product |
dateTime
| |
Lists customers hosting packages.
Table 2.175. Parameters
Parameter | Description | Type | Optional |
---|
count | Total number of hosting packages |
int
| |
hosting | | | |
... id | Id of the hosting package |
int
| Yes |
... product | Name of the hosting package product |
text64
| Yes |
... cancellationDate | Date of cancellation of action |
dateTime
| Yes |
... autorechnung_id | Automatic readout id |
int
| Yes |
... product_id | Hosting package id |
int
| Yes |
... serverNo | Customers company server number |
int
| Yes |
... serverAccount | The Customers account number |
int
| Yes |
... serverIP | Ip address of the server number |
ip
| Yes |
... serverMail | Email address of the server number |
email
| Yes |
... producttype | Type of the hosting package product |
text64
| Yes |
... suspended | Whether the hosting plan is currently suspended |
boolean
| Yes |
... pma | |
int
| Yes |
... webMail | |
email
| Yes |
... ftp | |
ip
| Yes |
... smtp | |
ip
| Yes |
... smtpIn0 | |
ip
| Yes |
... smtpIn1 | |
ip
| Yes |
... externIp | IP of the hosting |
ip
| Yes |
... externIpPort | IP of the hosting PORT |
ip
| Yes |
... ipv6 | Internet Protocol version 6 (IPv6) |
ip
| Yes |
... nextCancellationDate | Next date of service cancellation |
dateTime
| Yes |
... cancellationRefund | Refund amount |
float
| Yes |
... executionPeriod | Current billing period in months |
int
| Yes |
2.13.7. hosting.reinstate
Reinstate a hosting package.
Table 2.176. Parameters
Parameter | Description | Type | Required | Default |
---|
hostingId | Hosting package id |
token255
| true | |
No additional return parameters
2.13.8. hosting.unsuspend
Unsuspend a suspend hosting product of a customer
Table 2.177. Parameters
Parameter | Description | Type | Required | Default |
---|
hostingId | ID of the hosting product |
int
| true | |
testing | Execute order in testing mode (no order will be submitted) |
boolean
| false | false |
Table 2.178. Parameters
Parameter | Description | Type | Optional |
---|
netPrice | Net price for restoring and extending hosting plan |
float
| |
grossPrice | Gross price for restoring and extending hosting plan |
float
| |
currency | Currency of paid price |
text255
| |
quantity | Quantity |
int
| |
unit | Unit (months or years) |
text255
| |
message | System message |
text255
| |
2.13.9. hosting.updatePeriod
Update the billing period of a hosting package.
Table 2.179. Parameters
Parameter | Description | Type | Required | Default |
---|
hostingId | ID of the hosting product |
int
| true | |
period | New billing period (1, 3, 6, 12, 18, 24 months, but not less than default for the product) |
int
| true | |
No additional return parameters