Controller: Partner Management: GetPartnerTrials
GetPartnerTrials
Retuns a list of all accounts in trial for that partner between the given dates
Authentication Methods
- With AMS username and password
Input Parameter | Type | Description |
---|---|---|
Token* | String | |
From | Date | |
To | Date |
Output Parameter | Type | Description |
---|---|---|
Success | Boolean | True or false |
*=required
CURL EXAMPLE
curl -v 'https://secure.nomadesk.com/ctrller/api.php? Task=GetPartnerTrials&Token=roonjfjg6i97tpueonv5tk9f27&From=2012/01/01&To=2013/01/01'
RESPONSE
<Response>
<Status>1</Status>
<Message>Success</Message>
<Accounts>
<Account>
<TrialStartDate>2012-01-01 00:00:00</TrialStartDate>
<TrialExpiry>2012-01-14 00:00:00</TrialExpiry>
<TrialEndDate></TrialEndDate>
<InTrial>True</InTrial>
<Email>trial@nomadesk.com</Email>
</Account>
</Accounts>
</Response>