API Method  setOfferAffiliateList
    setOfferAffiliateList
    Set a list of affiliates who are accessible to an offer.

API Category
    Campaign

HTTP Method
    POST

Request Call Example
HTTP:
POST /api/v2/setOfferAffiliateList?key=yourapikey HTTP/1.1
Host: yourapplicationdomain
 
id=19844&approved_affiliate=1%2C2%2C3&blocked_affiliate=4%2C5%2C6
 
Java:
Unirest.post("http://yourapplicationdomain/api/v2/setOfferAffiliateList?key=yourapikey").header("Content-Type", "application/x-www-form-urlencoded").body("id=19844&approved_affiliate=1%2C2%2C3&blocked_affiliate=4%2C5%2C6")

Parameters

Name Type Description
id* String Offer Id
approved_affiliate String Filter – a list of APPROVED affiliate ids: 3,123,445
blocked_affiliate String Filter – a list of BLOCKED affiliate ids: 3,123,445