Billing: GetPartnerReport
GetPartnerReport
Returns a list of all purchases that happened and will happen between 2 dates
Authentication Methods
- With a username and password
- With AMS username and password
Input Parameter | Type | Description |
---|---|---|
Token* | String | Security token |
From* | String | From date example: "2012/04/01" |
To* | String | To date example: "2012/04/01" |
PartnerName* | String | Partner account number example: "nmra000001" |
*=required
EXAMPLES
curl 'https://secure.nomadesk.com/nomadesk-billing/Api?Task=GetPartnerReport&Token=roonjfjg6i97tpueonv5tk9f27&From=2012/01/01&To=2013/01/01'
RESPONSE
<Response>
<Header>
<Status>1</Status>
<Message>Success</Message>
<CreationDstamp>1332501878</CreationDstamp>
</Header>
<Body>
<Accounts>
<Account>
<Date>03-01-2013</Date>
<Name>nmua000001</Name>
<Email>account1@example.com</Email>
<Currency>EUR</Currency>
<SubscriptionCount>2</SubscriptionCount>
<MonthlySubscrpitionCount>0</MonthlySubscrpitionCount>
<MonthlyCost>0</MonthlyCost>
<YearlySubscriptionCount>2</YearlySubscriptionCount>
<YearlyCost>100</YearlyCost>
<TotalCost>100</TotalCost>
</Account>
<Account>
<Date>03-01-2012</Date>
<Name>nmua000001</Name>
<Email>example2@example.com</Email>
<Currency>EUR</Currency>
<SubscriptionCount>2</SubscriptionCount>
<MonthlySubscrpitionCount>0</MonthlySubscrpitionCount>
<MonthlyCost>0</MonthlyCost>
<YearlySubscriptionCount>2</YearlySubscriptionCount>
<YearlyCost>100</YearlyCost>
<TotalCost>100</TotalCost>
</Account>
</Accounts>
</Body>
</Response>