• Back to Zoolz.com
Zoolz Wiki
  • Back to Zoolz.com

GetAccountInfoUsingAccountID API

/Partners 1.0 / Reseller APIs / GetAccountInfoUsingAccountID API

Here you can request account information about a specific user, such as storage space, used space, registration end date and last activity.

 

  • Service Parameters
  • Return Codes and Messages
  • Sample Code

 

  • Authentication token:
    The reseller’s authentication token to authorize use of the APIs this must be passed as type string.

 

  • Account ID:
    The account ID for you wish to get user information for as type integer.

 

CodeMessageComments
1000Account ID: User’s Account ID
Name: User full name
Email: User’s email
RegEndDate: Registration end date for service (valid
until)
Plan ID: The plan the account is assigned to
Capacity: Instant Storage Space
ColdCapacity: Cold Storage space
UsedSpace: Used Instant Storage Space
ColdUsedSpace: Used Cold Storage Space
LastBackup: Last backup date
LastDownload: Last restore or download date
LastActivity: Last activity date
The user information will return
in the message; json format
1002Invalid Authentication TokenThe authentication token is
incorrect, please check it and try
again
1003Invalid Email or Email does not existMake sure that the email
address is in its correct format;
example
someone@company.com and
that you have a registered
account with that email
1003Invalid Email, Email does not belong to youThe email specified is not a user
under your reseller account
1007General Error. DB errorUnexpected database error, if
this error occurs, try again later
1007General Error. Failed to delete accountPlease try again and if problem
persists, please contact support
1007General ExceptionIf you receive this error, please
contact support

 

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

Host: zoolz.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: “Zoolz/GetAccountInfoUsingAccountID”
<?xml version=”1.0″ encoding=”utf-8″?>
<soap:Envelope xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
xmlns:soap=”http://schemas.xmlsoap.org/soap/envelope/”>
<soap:Body>
<GetAccountInfoUsingAccountID xmlns=”Zoolz”>
<authToken>string</authToken>
<accountID>int</accountID>
</GetAccountInfoUsingAccountID>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version=”1.0″ encoding=”utf-8″?>
<soap:Envelope xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
xmlns:soap=”http://schemas.xmlsoap.org/soap/envelope/”>
<soap:Body>
<GetAccountInfoUsingAccountIDResponse xmlns=”Zoolz”>
<GetAccountInfoUsingAccountIDResult>
<Code>Success or MissingParameters or InvalidAuth or InvalidEmail or
InvalidPassword or UsedEmail or PlanError or GeneralError or
InvalidAccount</Code>
<Message>string</Message>
<Joson>string</Joson>
</GetAccountInfoUsingAccountIDResult>
</GetAccountInfoUsingAccountIDResponse>
</soap:Body>
</soap:Envelope>

Tagged: account infoAPIinformationreseller

Related Articles

  • GetPlanInfo API

  • Resetpassword API

  • GetAccountInfoUsingEmailAndPass API

  • DeleteAccountUsingAccountID API

  • ActivateAccountUsingAccountID API

  • SuspendAccountUsingAccountID API

Category Menu

  • Zoolz Videos
  • Getting Started
  • Account Management
  • Users Management
  • Data Backup and Management
  • Data Recovery
  • Backup Policies
  • Features and Functionalities
  • Permissions, Privacy and Security
  • Active Directory Deployment
  • Comparisons
  • Troubleshooting and Error Handling
  • Partners 1.0
    • Downloads
    • Reseller How To
    • Reseller APIs
  • Other
  • Release Notes (What’s New!)
© Copyright, Genie9 LTD 2021