Accounts¶
Entities¶
Account resource¶
Field
Explanation
id
Account identifier
client_id
Client identifier
order_id
Order number
product_id
Product purchased
date_created
Date on which it was bought
domain
Hostname of the product if it has one
server_id
Server where it is provisioned if applies
payment_module
How was the account paid
firstpayment
When was the first payment made
total
Account initial cost
billingcycle
Peridicity of the bills
next_due
When will be charged
next_invoice
When will the next invoice be available for paying
status
Status of the account
extra_details
Other information
transfer_usage
Data transfer if it applies to the product
transfer_limit
Data transfer limit if it applies to the product
api_url
Manage url
Account resource list:
Account addon resource¶
Field
Explanation
id
Account’s addon identifier
account_id
Account identifier
order_id
Order identifier when it was bought
addon_id
Addon identifier
name
Name of the addon
setup_fee
Amount for setting it up
recurring_amount
Recurring costs
billingcycle
How often will it be billed
status
Status of the account’s addon
creation_date
Date of creation
next_due
Next billing date
next_invoice
Date when the next invoice will be available
Account addon resource list:
Cancel request resource¶
Field
Explanation
id
Cancel request id
date
Date when it was requested
reason
Reason of why it was requested
account
Account id where it was requested
Cancel request resource list:
Count accounts by product¶
Field
Explanation
id
Product id
count
Count of accounts
product_id
Product id
Count accounts by product list:
License resource¶
Field
Explanation
product_id
Product this license is validating
license_key
License key
date
Date issued
status
Status of the license
License resource list:
Operations¶
List accounts¶
- Method
GET
- Url
/accounts
- Success Code
200
- Returned Data
- Has Token
No
List all the accounts for the client
Filters:
product_id
domain
server_id
status
List accounts¶
- Method
GET
- Url
/dashboard_accounts
- Success Code
200
- Returned Data
- Has Token
No
List all the accounts for the client
Filters:
product_id
domain
server_id
status
Invoice dashboard list accounts¶
- Method
GET
- Url
/invoice_dashboard_accounts
- Success Code
200
- Returned Data
- Has Token
No
List all the accounts for the client
Count accounts by product¶
- Method
GET
- Url
/accounts_product_count
- Success Code
200
- Returned Data
- Has Token
No
Count all the accounts group by product for the client
Filters:
product_id
status
Count licenses for accounts¶
- Method
GET
- Url
/account/<id>/licenses_count
- Success Code
200
- Returned Data
count
- Has Token
No
Count all active licenses for the parent account
Update gBackup365 licenses¶
- Method
GET
- Url
/gbackup365_update_licenses
- Success Code
200
- Returned Data
result ok
- Has Token
No
Update all active licenses gBackup365 accounts with the requested emails
Account details¶
- Method
GET
- Url
/account/<id>
- Success Code
200
- Returned Data
- Has Token
No
Show a single account of the client
List accounts addons¶
- Method
GET
- Url
/account_addons
- Success Code
200
- Returned Data
- Has Token
No
Get detailed view of a account
Upgrade¶
- Method
POST
- Url
/account/<id>/upgrade
- Success Code
200
- Returned Data
- Has Token
No
Modifies the product of the account to other of better characteristics.
Parameters:
upgrade_to. Product id to which the account will be upgraded
Note: Currently downgrades are treated through our support team. Please contact them if you need to downgrade from a superior product.
Cancel request¶
- Method
POST
- Url
/account/<id>/cancel
- Success Code
200
- Returned Data
- Has Token
No
Parameters:
type. String indicating how the cancel should be treated. Valid values are: - Immediate - End of billing period - Other
reason. String explaining the reason why the owner whises to cancel
Obtaining a purchased license key¶
- Method
GET
- Url
/account/<id>/license
- Success Code
200
- Returned Data
- Has Token
No