Details of our reporting APIs are below. If you require support with how to use them, please log a ticket.


As a publisher, you can find your API Key and Password from the "Reporting APIs" page in your account: https://afuk-affiliate.affiliatefuture.com/reporting/ReportingAPIs.aspx 

Here is a list of current API’s that will require a KEY and PASSWORD. We have provided some generic data for example purposes only to show you the basic structure of the XML.


Please note - apart from the Payment API, you can only download one day at a time (ie startDate=01-jan-2014&endDate=01-jan-2014)

Transaction API:
https://api.affiliatefuture.com/PublisherService.svc/GetTransactionListbyDate?key=API-KEY&passcode=API-PASSWORD&startDate=01-jan-20XX&endDate=31-Dec-20XX 

<TransactionList>

<TransactionID>12345ABCDE</TransactionID>

<TransactionDate>20XX-10-25T09:00:00+00:00</TransactionDate>

<MerchantID>0000</MerchantID>

<MerchantName>TrackingTestAF</MerchantName>

<ProgrammeID>00000</ProgrammeID>

<ProgrammeName>Tracking Test</ProgrammeName>

<TrackingReference>AFClickRef</TrackingReference>

<IPAddress>000.000.000.000 </IPAddress>

<SaleValue>0.0000</SaleValue>

<SaleCommission>0.0000</SaleCommission>

<PaidAmount>0.0000</PaidAmount>

<LeadCommission>0.0000</LeadCommission>
<ReceiptID>0</ReceiptID>

</TransactionList>


Cancellations:
https://api.affiliatefuture.com/PublisherService.svc/GetCancelledTransactionListbyDate?key=API-KEY&passcode=API-PASSWORD&startDate=01-jan-20XX&endDate=31-Dec-20XX

Merchant List:
https://api.affiliatefuture.com/PublisherService.svc/GetAFMerchantList?key=API-KEY&passcode=API-PASSWORD&merchantsJoined=USE_YES_NO_ALL&newMerchants=USE_YES_NO 

Payments:
https://api.affiliatefuture.com/PublisherService.svc/GetPaymentReport?key=API-KEY&passcode=API-PASSWORD&startDate=DD-MMM-YYYY&endDate=DD-MMM-YYYY 

<AffPaymentList>

<transactionID>123456789</transactionID>

<paymentDate>20XX-10-25T09:00:00+00:00</paymentDate>

<originalTransactionDate>20XX-10-30T09:00:00+00:00</originalTransactionDate>

<transactionDate>20XX-10-30T09:00:00+00:00</transactionDate>

<merchantName> TrackingTestAF </merchantName>

<TransactionType>Sale</TransactionType>

<OrderID>12345ABCDE </OrderID>

<OrderValue>00.0000</OrderValue>

<CommissionAmount>0.0000</CommissionAmount>

<PaymentAmount>0.0000</PaymentAmount>

<clickReference> AFClickRef </clickReference>

<paymentID>000000</paymentID>

</AffPaymentList>


Voucher Code:
https://api.affiliatefuture.com/PublisherService.svc/getAllVouchers?key=API-KEY&passcode=API-PASSWORD 

<Voucher>

<CategoryName>Retail / Fashion</CategoryName>

<EndDate>2016-12-31T00:00:00</EndDate>

<ImageURL/>

<Joined>No</Joined>

<LandingPage/>

<MerchantSiteID>0000</MerchantSiteID>

<MerchantSiteName>Fashion123</MerchantSiteName>

<ProgrammeID>00000</ProgrammeID>

<StartDate>20XX-10-30T09:00:00+00:00</StartDate>

<TermsAndCondition/>

<Tracking_URL/>

<VoucherCode>VCode1</VoucherCode>

<VoucherDescription>10% Off Sale </VoucherDescription>

<VoucherID>Voucher1</VoucherID>

</Voucher>

 

2nd level transactions:
https://api.affiliatefuture.com/PublisherService.svc/Get2ndLevelLeadsTransactionListbyDate?key=API-KEY&passcode=API-PASSWORD&startDate=DD-MMM-YYYY&endDate=DD-MMM-YYYY