GetTrials

Retuns a list of all accounts in trial for that partner

Authentication Methods


  1. With AMS username and password
Input Parameter Type Description
Token* String
Output Parameter Type Description
Success Boolean True or false
TotalCount Integer Total count of trial accounts
Accounts List List of trial accounts

*=required

CURL EXAMPLE
curl -v "https://secure.nomadesk.com/ctrller/api.php?Task=GetTrials&Token=h5bot93oqjoaduk1qiro2qls34"
RESPONSE

<Response>
    <Status>1</Status>
    <Message>Success</Message>
    <TotalCount>1</TotalCount>
    <Accounts>
        <Account>
            <FirstName>trial</FirstName>
            <LastName>001</LastName>
            <Email>trial001@example.com</Email>
            <TrialStart>1507068000</TrialStart>
            <TrialEnd></TrialEnd>
            <TrialExpiry>1508277600</TrialExpiry>
            <Created>1507068000</Created>
        </Account>
    </Accounts>
</Response>