Knowledgebase
Guide for New Advertiser APIs
Posted by Zoe Yap Foo on 29 November 2016 11:25 AM

 

Affiliate Future API’s for Advertisers

 

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

Advertisers can get their API Key / Password from –

https://advertisers.affiliatefuture.com/my-profile/default.aspx

Or –

http://afuk.merchant.affiliatefuture.co.uk/reporting/ReportingAPIs.aspx

 

Advertisers APIs:

Transaction API 
https://api.affiliatefuture.com/AdvertiserService.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>

<AffiliateID>000000</AffiliateID>

<AffiliateName>TrackingTestAF</AffiliateName>

<ProgrammeID>00000</ProgrammeID>

<ProgrammeName>Tracking Test</ProgrammeName>

<OrderNumber>12345ABCDE</OrderNumber>

<IPAddress>00.000.000.000</IPAddress>

<SaleValue>0.0000</SaleValue>

<SaleCommission>0.0000</SaleCommission>

<LeadCommission>00.0000</LeadCommission>

<Cost>00.0000</Cost>

<transactionCode>502</transactionCode>

<Status>2ndLevelLeadPending</Status>

</TransactionList>

 

 

 

 

 

 

 

 

 

 

Cancellations
https://api.affiliatefuture.com/AdvertiserService.svc/GetCancelledTransactionListbyDate?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>

<AffiliateID>000000</AffiliateID>

<AffiliateName>TrackingTestAF</AffiliateName>

<ProgrammeID>00000</ProgrammeID>

<ProgrammeName>Tracking Test</ProgrammeName>

<OrderNumber>12345ABCDE</OrderNumber>

<IPAddress>00.000.000.000 </IPAddress>

<SaleValue>0.0000</SaleValue>

<SaleCommission>00.0000</SaleCommission>

<LeadCommission>0.0000</LeadCommission>

<Cost>00.0000</Cost>

<DateCancelled>20XX-11-05T09:00:00+00:00</DateCancelled>

<CancellationReason>Payment Not Cleared</CancellationReason>

</TransactionList>

Publisher Report
https://api.affiliatefuture.com/AdvertiserService.svc/GetPublisherReportbyDate?key=API-KEY&passcode=API-PASSWORD&startDate=DD-MMM-YYYY&endDate=DD-MMM-YYYY

<PublisherReport>

<AffiliateSiteID>000000</AffiliateSiteID>

<AffiliateName>TrackingTestAF</AffiliateName>

<programmeID>00000</programmeID>

<programmename>Test</programmename>

<WebsiteURL>http://<WebsiteURL>

<numClicks>0</numClicks>

<numLeads>0</numLeads>

<numSales>0</numSales>

<Sales_Value>0.0000</Sales_Value>

<secondlevelleads>0.0000</secondlevelleads>

<secondlevelsales>0.0000</secondlevelsales>

<totalcommission>0.0000</totalcommission>

<totalcost>0.0000</totalcost>

</PublisherReport>


 

 

 

 

 

 

 

 

 

 

 

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

 

<TransactionList>

<TransactionID>12345ABCDE</TransactionID>

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

<MerchantID>6003</MerchantID

><MerchantName>TrackingTestAF</MerchantName>

<ProgrammeID>00000</ProgrammeID>

<ProgrammeName>Tracking Test</ProgrammeName>

<TrackingReference>AFClickRef</TrackingReference>

<IPAddress>00.000.000.000</IPAddress>

<SaleValue>0.0000</SaleValue>

<SaleCommission>0.0000</SaleCommission>

<LeadCommission>00.0000</LeadCommission>

</TransactionList>


 

Upgrade 2nd Level Sales
https://api.affiliatefuture.com/AdvertiserService.svc/Upgrade2LevelSales?key=API-KEY&passcode=API-PASSWORD&orderNumbers=OrderNumber


Decline 2nd Level Sales
https://api.affiliatefuture.com/AdvertiserService.svc/Decline2LevelSales?key=API-KEY&passcode=API-PASSWORD&orderNumbers=OrderNumber&declineReason=DeclineReason

 

Alteration 2nd Level Sales
https://api.affiliatefuture.com/AdvertiserService.svc/Alteration2LevelSales?key=API-KEY&passcode=API-PASSWORD&orderNumbers=OrderNumber&orderValue=orderValue&commissionAmount=CommissionAmount&changeReason=ChangeReason

 

(1 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: