Account

From Hostway API Documentation
(Difference between revisions)
Jump to: navigation, search
m (1 revision)
m (1 revision)
 
(21 intermediate revisions by 8 users not shown)
Line 6: Line 6:
  
 
== Account Management ==
 
== Account Management ==
 +
* [[Accounts:GET|GET /accounts]] - Returns list of accounts authorized for access with the provided credentials
 
* [[Accounts-accountId:GET|GET /accounts/{accountId}]] - Returns information about an account
 
* [[Accounts-accountId:GET|GET /accounts/{accountId}]] - Returns information about an account
 
* [[Accounts-accountId:GET#Alternative_with_partner_Id|GET /partnerAccounts/{partnerAccountId}]] - Returns information about an account specified by its partner Id
 
* [[Accounts-accountId:GET#Alternative_with_partner_Id|GET /partnerAccounts/{partnerAccountId}]] - Returns information about an account specified by its partner Id
Line 12: Line 13:
 
* [[Accounts-accountId:DELETE|DELETE /accounts/{accountId}]] - Purges an account from the system
 
* [[Accounts-accountId:DELETE|DELETE /accounts/{accountId}]] - Purges an account from the system
 
* [[Accounts-accountId:DELETE#Alternative_with_partner_Id|DELETE /partnerAccounts/{partnerAccountId}]] - Purges an account specified by its partner Id from the system
 
* [[Accounts-accountId:DELETE#Alternative_with_partner_Id|DELETE /partnerAccounts/{partnerAccountId}]] - Purges an account specified by its partner Id from the system
 +
* [[Accounts-accountId-action-interFranchiseMigration:GET|GET /accounts/{accountId}/action/interFranchiseMigration]] - Returns information about an account's migration to another franchise
 +
* [[Accounts-accountId-action:POST|POST /accounts/{accountId}/action]] - Initiate an action on an account
 +
 +
==Account Attributes Management ==
 +
* [[Accounts-accountId-attributes:GET|GET /accounts/{accountId}/attributes]] - Returns list of attributes
 +
* [[PartnerAccounts-partnerAccountId-attributes:GET|GET /partnerAccounts/{partnerAccountId}/attributes]] - Returns list of attributes using Partner Account Id
 +
* [[Accounts-accountId-attributes:POST|POST /accounts/{accountId}/attributes]] - Creates new attribute
 +
* [[PartnerAccounts-partnerAccountId-attributes:POST|POST /partnerAccounts/{partnerAccountId}/attributes]] - Creates new attribute using Partner Account Id
 +
* [[Accounts-accountId-attributes-attribute:GET|GET /accounts/{accountId}/attributes/{attribute}]] - Gets attribute using Account ID
 +
* [[PartnerAccounts-partnerAccountId-attributes-attribute:GET|GET /partnerAccounts/{partnerAccountId}/attributes/{attribute}]] - Gets attribute using Partner Account Id
 +
* [[Accounts-accountId-attributes-attribute:PUT|PUT /accounts/{accountId}/attributes/{attribute}]] - Updates attribute value
 +
* [[PartnerAccounts-partnerAccountId-attributes-attribute:PUT|PUT /partnerAccounts/{partnerAccountId}/attributes/{attribute}]] - Updates attribute value using Partner Account Id
 +
* [[Accounts-accountId-attributes-attribute:DELETE|DELETE /accounts/{accountId}/attributes/{attribute}]] - Deletes attribute
 +
* [[PartnerAccounts-partnerAccountId-attributes-attribute:DELETE|DELETE /partnerAccounts/{partnerAccountId}/attributes/{attribute}]] - Deletes attribute using Partner Account Id
  
 
== Contacts Management ==
 
== Contacts Management ==
 
* [[Accounts-accountId-Contacts:GET|GET /accounts/{accountId}/contacts]] - Returns all contacts for an account
 
* [[Accounts-accountId-Contacts:GET|GET /accounts/{accountId}/contacts]] - Returns all contacts for an account
 +
* [[Accounts-accountId-Contacts-contactType:GET|GET /accounts/{accountId}/contacts/{contactType}]] - Returns specific contact type for an account
 +
* [[Accounts-accountId-Contacts:PUT|PUT /accounts/{accountId}/contacts]] - Set all contacts for an account
 +
* [[Accounts-accountId-Contacts-contactType:PUT|PUT /accounts/{accountId}/contacts/{contactType}]] - Set specific contact type for an account
 +
 +
=== Actions ===
 +
*[[Initiate-Email-Verification-Action:POST|POST /accounts/{account_number}/contacts/action]] - Initiate Email Verification Action
 +
 +
=== ZenDesk SSO Link ===
 +
*[[ZenDesk-SSO-Link-Per-Contact-Type:GET|GET /accounts/{accountId}/contacts/{contactType}/supportSSOLink]] - Returns ZendDesk SSO Link Per Contact Type
  
 
== Users Management ==
 
== Users Management ==
* [[Accounts-accountId-user:PUT|PUT /accounts/{accountId}/user]] - Updates the account user password
+
* [[Accounts-accountId-users:GET|GET /accounts/{accountId}/users]] - Returns a list of users in the account
 +
* [[Accounts-accountId-users:POST|POST /accounts/{accountId}/users]] - Creates a new user in the account
 +
* [[Accounts-accountId-users-userName:GET|GET /accounts/{accountId}/user/{userName}]] - Returns the details of a specific user in the account
 +
* [[Accounts-accountId-users-userName:PUT|PUT /accounts/{accountId}/user/{userName}]] - Updates the user details (password, security question/answer)
 +
* [[Accounts-accountId-user:PUT|PUT /accounts/{accountId}/user]] - (Deprecated) Updates the user details (password, security question/answer) of a user
 +
* [[Accounts-accountId-users-userName:DELETE|DELETE /accounts/{accountId}/user/{userName}]] - Deletes a user
 +
* [[Accounts-accountId-users-userName-roles:GET|GET /accounts/{accountId}/user/{userName}/roles]] - Returns the list of roles of a user
 +
* [[Accounts-accountId-users-userName-roles:PUT|PUT /accounts/{accountId}/user/{userName}/roles]] - Updates the list of roles of a user
  
 
== Products Management ==
 
== Products Management ==
Line 24: Line 55:
 
* [[Accounts-accountId-products-productId:PUT|PUT /accounts/{accountId}/products/{productId}]] - Update the status of a product
 
* [[Accounts-accountId-products-productId:PUT|PUT /accounts/{accountId}/products/{productId}]] - Update the status of a product
 
* [[Accounts-accountId-products-productId-action:POST|POST /accounts/{accountId}/products/{productId}/action]] - Perform an action (e.g: upgrade/downgrade) for a product
 
* [[Accounts-accountId-products-productId-action:POST|POST /accounts/{accountId}/products/{productId}/action]] - Perform an action (e.g: upgrade/downgrade) for a product
 +
* [[Accounts-accountId-products-productId-services:GET|GET /accounts/{accountId}/products/{productId}/services]] - List services for a specific product
 +
* [[Accounts-accountId-products-productId-services-serviceId:GET|GET /accounts/{accountId}/products/{productId}/services/{serviceId}]] - Get information about a specific service
 +
* [[Accounts-accountId-products-productId-services-serviceId:PUT|PUT /accounts/{accountId}/products/{productId}/services/{serviceId}]] - Update the status of a specific service
 +
* [[Accounts-accountId-products-productId-services-serviceId-getTargetServiceSpecifications:GET|GET /accounts/{accountId}/products/{productId}/services/{serviceId}/?getTargetServiceSpecifications=1]] - Get allowed specific service changes
 +
* [[Accounts-accountId-products-productId-services-serviceId-action:POST|POST /accounts/{accountId}/products/{productId}/services/{serviceId}/action]] - Perform an action (e.g: upgrade/downgrade) for a specific service
  
 
== Products Bandwidth Management ==
 
== Products Bandwidth Management ==
Line 34: Line 70:
 
== Products Usage Management ==
 
== Products Usage Management ==
 
* [[Accounts-accountId-products-productId-usage:GET|GET /accounts/{accountId}/products/{productId}/usage]] - Get an aggregated services usage report of a product
 
* [[Accounts-accountId-products-productId-usage:GET|GET /accounts/{accountId}/products/{productId}/usage]] - Get an aggregated services usage report of a product
 +
 +
== Payment info ==
 +
* [[Accounts-accountId-paymentInfo:GET|GET /accounts/{accountId}/paymentInfo]] - Get a list of active payment methods
 +
* [[Accounts-accountId-paymentInfo:POST|POST /accounts/{accountId}/paymentInfo]] - Add a payment method for a given account
 +
* [[Accounts-accountId-paymentInfo-default:PUT|PUT /accounts/{accountId}/paymentInfo/default]] - Set the default payment method
 +
* [[Accounts-accountId-paymentInfo-default:DELETE|DELETE /accounts/{accountId}/paymentInfo/default]] - Unset the default payment method
 +
* [[Accounts-accountId-paymentInfo-paymentInfoId:GET|GET /accounts/{accountId}/paymentInfo/{paymentInfoId}]] - Get information about an active payment method
 +
* [[Accounts-accountId-paymentInfo-paymentInfoId:DELETE|DELETE /accounts/{accountId}/paymentInfo/{paymentInfoId}]] - Remove an active payment method
 +
* [[Accounts-accountId-paymentInfo-paymentInfoId-payment:POST|POST /accounts/{accountId}/paymentInfo/{paymentInfoId}/payment]] - Make a one-time payment toward the account balance
 +
 +
== Transactions ==
 +
* [[Accounts-accountId-transactionsInfo:GET|GET /accounts/{accountId}/transaction]] - Get a list of account's transactions
 +
* [[Accounts-accountId-transactionsInfo-filtered-type:GET|GET /accounts/{accountId}/transaction?filterType={filterType}]] - Get a list of account's transactions filtered by Transaction type
 +
* [[Accounts-accountId-transactionsInfo-sorted:GET|GET /accounts/{accountId}/transaction?sortField={sortField}]] - Get a list of account's transactions sorted by sortField param
 +
 +
== Invoices ==
 +
* [[Accounts-accountId-invoicesInfo:GET|GET /accounts/{accountId}/invoices]] - Get a list of account's invoices
 +
* [[Accounts-accountId-invoicesInfo-filtered-status:GET|GET /accounts/{accountId}/invoices?filterStatus={filterStatus}]] - Get a list of account's invoices filtered by Invoice status
 +
* [[Accounts-accountId-invoicesInfo-sorted:GET|GET /accounts/{accountId}/invoices?sortField={sortField}]] - Get a list of account's invoices sorted by sortField param
 +
* [[Accounts-accountId-invoicesInfo-invoiceId:GET|GET /accounts/{accountId}/invoices/{invoiceId}]] - Get invoice info or pdf
 +
 +
== Invoice Transactions ==
 +
* [[Accounts-accountId-invoices-invoiceId-transactions:GET|GET /accounts/{accountId}/invoices/{invoiceId}/transactions]] - Get a list of invoice transactions
 +
 +
== Account Discount ==
 +
* [[Accounts-accountId-discount:GET|GET /accounts/{accountId}/discount]] - Get account level discount
 +
 +
== Security/Firewall Group ==
 +
A Security/Firewall Group defines firewall rules for your Server. You have the ability to configure your firewall connections and secure your network as required. You may have one or multiple servers behind a firewall group. Hostway provides a default firewall group, and typical firewall rules are already configured. You can create multiple firewall groups as needed.
 +
* [[Accounts-accountId-os-security-groups:GET|GET /accounts/{accountId}/os-security-groups]] - Get a list of account's firewall groups
 +
* [[Accounts-accountId-os-security-groups:POST|POST /accounts/{accountId}/os-security-groups]] - Create firewall group for account
 +
* [[Accounts-accountId-os-security-groups-groupId:GET|GET /accounts/{accountId}/os-security-groups/{groupId}]] - Get firewall group details
 +
* [[Accounts-accountId-os-security-groups-groupId:PUT|PUT /accounts/{accountId}/os-security-groups/{groupId}]] - Update firewall group
 +
* [[Accounts-accountId-os-security-groups-groupId:DELETE|DELETE /accounts/{accountId}/os-security-groups/{groupId}]] - Delete firewall group
 +
* [[Accounts-accountId-os-security-group-rules:POST|POST /accounts/{accountId}/os-security-group-rules]] - Create firewall group rule
 +
* [[Accounts-accountId-os-security-group-rules-ruleId:DELETE|DELETE /accounts/{accountId}/os-security-group-rules/{ruleId}]] - Delete firewall group rule
  
 
== See also ==
 
== See also ==

Latest revision as of 14:33, 30 May 2016

[edit] Account Management API

The account management API provides methods for managing the account contacts, users and products. Clients can update the status of the account products as well as change (upgrade/downgrade) them.

Contents

download this selection of articles as a PDF book

[edit] Account Management

[edit] Account Attributes Management

[edit] Contacts Management

[edit] Actions

[edit] ZenDesk SSO Link

[edit] Users Management

[edit] Products Management

[edit] Products Bandwidth Management

Each bandwidth usage is filtered by the traffic type(www or ftp), the start date and the end date in ISO format(eg. 2013-20-02).

[edit] Products Usage Management

[edit] Payment info

[edit] Transactions

[edit] Invoices

[edit] Invoice Transactions

[edit] Account Discount

[edit] Security/Firewall Group

A Security/Firewall Group defines firewall rules for your Server. You have the ability to configure your firewall connections and secure your network as required. You may have one or multiple servers behind a firewall group. Hostway provides a default firewall group, and typical firewall rules are already configured. You can create multiple firewall groups as needed.

[edit] See also


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox