Controller: Account Management: GetAccountInfo
GetAccountInfo
Warning!:
Response with the Fileservers list is deprecated, and should not be used!
Authentication Methods
- With a username and password
- With AMS username and password
Input Parameter | Type | Description |
---|---|---|
Token* | String | Security token |
Email* | String | (only required for AMS) |
CertKey | String | When passed, it will return the SSLTunnelCert protected with the CertKey as passphrase (optional) |
ExtendedInfo | Boolean | Show basic or extended info |
Output Parameter | Type | Description |
---|---|---|
Account | Account | Account object containing the info about the passed account |
*Required
EXAMPLES
curl -v 'https://example.com/ ctrller/api.php?Token=f8muiuc79u7kes7fr265t77001&Task=GetAccountInfo&Email=account@nomadesk.com&ExtendedInfo=true&ExtendedInfo=true'
RESPONSE
<?xml version="1.0" encoding="utf-8"?>
<Response>
<Status>1</Status>
<Message>Success</Message>
<AccountInfo>
<Name>nmua000000022497</Name>
<FirstName>GM</FirstName>
<LastName>003</LastName>
<Email>gm003@maildrop.cc</Email>
<Language>en-us</Language>
<BrandingID>NMD</BrandingID>
<PasswordExpiryDstamp>1442786400</PasswordExpiryDstamp>
<Timezone>Europe/Brussels</Timezone>
<TimezoneOffset>0</TimezoneOffset>
<Confirmed>true</Confirmed>
<ConfirmationExpiryDateSeconds/>
<IsTrial>false</IsTrial>
<TrialExpiryDateSeconds/>
<TrialStartDate>2014-03-16 00:00:00</TrialStartDate>
<TrialEndDate>2014-03-16 00:00:00</TrialEndDate>
<TrialExpiryDate>2014-03-30 00:00:00</TrialExpiryDate>
<LicenseID>704f9e94-0455-8a0c-fa3e-5ff9a171c08b</LicenseID>
<HasFailedPayments>false</HasFailedPayments>
<Partner/>
<InviteStatus/>
<InstallStatus>Installed</InstallStatus>
<MaxVaults/>
</AccountInfo>
<AccessSettings>
<IdleLogoutTimer>0</IdleLogoutTimer>
<AllowLocalCache>true</AllowLocalCache>
<AllowVaultRemoval>true</AllowVaultRemoval>
<AllowOpenWith>true</AllowOpenWith>
<AllowRememberMe>true</AllowRememberMe>
<AllowChangeEmail>false</AllowChangeEmail>
<AllowChangePassword>false</AllowChangePassword>
<AllowChangeName>false</AllowChangeName>
<AllowLogout>true</AllowLogout>
</AccessSettings>
<TrackingInfo>
<TrackingId>9854e147-30e8-0bd2-4325-79ba9d255aed</TrackingId>
<Campaign/>
<Source/>
<Term/>
<Medium/>
<Content/>
</TrackingInfo>
</Response>
Response with ExtendedInfo:
<Response>
<Status>1</Status>
<Message>Success</Message>
<AccountInfo>
<Name>nmua000130</Name>
<FirstName>owner</FirstName>
<LastName></LastName>
<Email>owner@nomadesk</Email>
<Language>en-us</Language>
<BrandingID>NMD</BrandingID>
<Confirmed>true</Confirmed>
<ConfirmationExpiryDateSeconds>1328958967</ConfirmationExpiryDateSeconds>
<IsTrial>false</IsTrial>
<TrialExpiryDateSeconds>1329865200</TrialExpiryDateSeconds>
<TrialExpiryDateSeconds>1284847200</TrialExpiryDateSeconds>
<TrialStartDate>2012-01-1 12:00:00</TrialStartDate>
<TrialEndDate>2012-01-14 00:00:00</TrialEndDate>
<TrialExpiryDate>2012-14-00 00:00:00</TrialExpiryDate>
<LicenseID>za187716-0f49-7aae-5283-146af79f86x2</LicenseID>
<HasFailedPayments>false</HasFailedPayments>
<BillingHash>E09020674AA151E856EC4A8EF7625615</BillingHash>
<Partner>nvlr000101</Partner>
<InviteStatus>Accepted</InviteStatus>
</AccountInfo>
<AccessSettings>
<IdleLogoutTimer>0</IdleLogoutTimer>
<AllowLocalCache>true</AllowLocalCache>
<AllowVaultRemoval>true</AllowVaultRemoval>
<AllowOpenWith>true</AllowOpenWith>
<AllowRememberMe>true</AllowRememberMe>
<AllowChangeEmail>false</AllowChangeEmail>
<AllowChangePassword>false</AllowChangePassword>
<AllowChangeName>false</AllowChangeName>
<AllowLogout>true</AllowLogout>
</AccessSettings>
<TrackingInfo>
<TrackingId>9854e147-30e8-0bd2-4325-79ba9d255aed</TrackingId>
<Campaign/>
<Source/>
<Term/>
<Medium/>
<Content/>
</TrackingInfo>
<ServerInfo>
<Username>nmua000130</Username>
<PrivateKey>KMRSgZrN2b78…</PrivateKey>
<OpenSSHKey>frz/D1hl2a0…</OpenSSHKey>
<SSLTunnelCert>MIIG8QIBAzC</SSLTunnelCert>
</ServerInfo>
</Response>