Programmers documentation

PAPVisitorId

When a customer clicks on an affiliate link/banner (https://support.qualityunit.com/311928-Adding-Banners-and-Links) and lands on your site integrated with the click tracking (https://support.qualityunit.com/417400-Clicks-referrals-tracking) code (or lands on a replicated site (https://support.qualityunit.com/307164-Site-Replication)), the click tracking code sends a request to the server which replies a PAPVisitorId (a unique 32-character-long alpha-numeric string). This PAPVisitorId is saved...

Cookies created by Post Affiliate Pro

Post Affiliate Pro registers more types of cookies (https://support.qualityunit.com/830633-Cookie-settings): - Flash cookies - Browser cookies (1st and 3rd party) - are stored on a domain, where your clicks tracking code executes (called 'First party' cookies) and also on domain, where Post Affiliate Pro is installed (called 'Third party' cookies). - HTML 5 local storage cookie The following cookies are created by Post Affiliate Pro. We can divide them into two categories: 1. Tra...

C# .NET communication with API

You can access API of Post Affiliate Pro also from other programming languages. Only requirement is to implement correctly HTTP POST request and encode correctly JSON request to our server. Example of such request using C# in .Net (simple console application) follows: // // EXAMPLE OF LOGIN REQUEST // using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.IO; namespace ConsoleApplication1 { class Program { static void Main(stri...