Here you can request account information about a specific user, such as storage space, used space,
registration end date and last activity.
- Authentication token
The reseller’s authentication token to authorize use of the APIs this must be passed as type string - Email
Registration email for the account you wish to get user information for as type string - Password
The password for the account you wish to get user information for as type string
Code | Message | Comments |
---|---|---|
1000 | Account ID: User’s Account ID Name: User full name Email: User’s email RegEndDate: Registration end date for service (valid until) 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 |
1002 | Invalid Authentication Token | The authentication token is incorrect, please check it and try again |
1003 | Invalid Email or Email does not exist | Make sure that the email address is in its correct format; example someone@company.com and that you have a registered account with that email |
1003 | Invalid Email, Email does not belong to you | The email specified is not a user under your reseller account |
1004 | Missing Main Parameters (password) | The password has not been passed |
1004 | Invalid password, please check password | The password is invalid |
1007 | General Error. DB error | Unexpected database error, if this error occurs, try again later |
1007 | General Error. Failed to delete account | Please try again and if problem persists, please contact support |
1007 | General Exception | If 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.
POST /Services/Reseller/Service.asmx HTTP/1.1
Host: zoolz.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length<?xml version=”1.0″ encoding=”utf-8″?>
<soap12:Envelope xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
xmlns:soap12=”http://www.w3.org/2003/05/soap-envelope”>
<soap12:Body>
<GetAccountInfoUsingEmailAndPass xmlns=”Zoolz”>
<authToken>string</authToken>
<email>string</email>
<password>string</password>
</GetAccountInfoUsingEmailAndPass>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length<?xml version=”1.0″ encoding=”utf-8″?>
<soap12:Envelope xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
xmlns:soap12=”http://www.w3.org/2003/05/soap-envelope”>
<soap12:Body>
<GetAccountInfoUsingEmailAndPassResponse xmlns=”Zoolz”>
<GetAccountInfoUsingEmailAndPassResult>
<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>
</GetAccountInfoUsingEmailAndPassResult>
</GetAccountInfoUsingEmailAndPassResponse>
</soap12:Body>
</soap12:Envelope>