SearchAccountForPartner

This api call searches the account table for any account matching the search string for the email field.

If no string is given, it returns all accounts for that partner.

Authentication Methods


  1. With AMS username and password
Input Parameter Type Description
Token* String Security token
SearchFor String Optional search string
PartnerName String Optional for Distributors and Sales accounts so that they can browse their resellers
Output Parameter Type Description
Success Boolean True or false

*=required

CURL EXAMPLE
curl -v 'https://secure.nomadesk.com/ctrller/api.php? &Token=d8ocil7qa4n42sh79em43kc795&Task=SearchAccountForPartner&SearchFor=myemail&PartnerName='
RESPONSE
<Response>
    <Status>1</Status>
    <Message>Success</Message>
    <AccountInfos>
        <AccountInfo>
            <Email>myemail1@nomadesk.com</Email>
            <IsTrial>true</IsTrial>
            <InviteStatus>Accepted</InviteStatus>
            <FileserverCount>0</FileserverCount>
            <LicenseCount>2</LicenseCount>
            <MonthlyLicenseCount>2</MonthlyLicenseCount>
            <YearlyLicenseCount>0</YearlyLicenseCount>
            <HasInactiveLicenses>false</HasInactiveLicenses>
            <HasGraceLicensesfalse</HasGraceLicenses>
        </AccountInfo>
        <AccountInfo>
            <Email>myemail@nomadesk.com</Email>
            <IsTrial>false</IsTrial>
            <FileserverCount>0</FileserverCount>
            <LicenseCount>2</LicenseCount>
            <MonthlyLicenseCount>2</MonthlyLicenseCount>
            <YearlyLicenseCount>0</YearlyLicenseCount>
            <HasInactiveLicenses>false</HasInactiveLicenses>
            <HasGraceLicenses>false</HasGraceLicenses>
        </AccountInfo>
    </AccountInfos>
</Response>