API Method – getOfferAffiliateList
API Method – getOfferAffiliateList
getOfferAffiliateList
Get a list of affiliates who are accessible to an offer.
API Category
Campaign
HTTP Method
GET
Request Call Example
HTTP:
GET /api/v2/getAffiliates?key=yourapikey&id=1 HTTP/1.1
Host: yourapplicationdomain
Java:
Unirest.get("http://yourapplicationdomain/api/v2/getAffiliates?key=yourapikey&id=1").asString();
Parameters
Response
Sample in JSON:
getOfferAffiliateList
Get a list of affiliates who are accessible to an offer.
API Category
Campaign
HTTP Method
GET
Request Call Example
HTTP:
GET /api/v2/getAffiliates?key=yourapikey&id=1 HTTP/1.1
Host: yourapplicationdomain
Java:
Unirest.get("http://yourapplicationdomain/api/v2/getAffiliates?key=yourapikey&id=1").asString();
Parameters
Name | Type | Description |
Id* | Integer | Filter – Offer id |
Response
Sample in JSON:
{ "httpStatus": 200, "data": { "10721": { "offer_id": "10721", "approvedAffiliates": { "9996": "testAff 1", "9998": "testAff 3", "10894": "LotsOfAffiliates_PID6396-t1_248_20161022173931 " }, "blockedAffiliates": [] }, "10731": { "offer_id": "10731", "approvedAffiliates": { "9996": "testAff 1", "9998": "testAff 3", "10000": "first ", "10001": "second ", "10002": "newaff ", "10894": "LotsOfAffiliates_PID6396-t1_248_20161022173931 " }, "blockedAffiliates": [] }, "10736": { "offer_id": "10736", "approvedAffiliates": { "2": "affiliate 1st", "9996": "testAff 1", "9998": "testAff 3", "10000": "first ", "10894": "LotsOfAffiliates_PID6396-t1_248_20161022173931 ", "11009": "LotsOfAffiliates_PID6396-t2_363_20161022174012 " }, "blockedAffiliates": { "27097": "341_CreatedAt1500881064282 ", "36660": "629_CreatedAt1500881734282 ", "52390": "1630_CreatedAt1500882604282 ", "61155": "2095_CreatedAt1500883044282 ", "61852": "1866_CreatedAt1500883074282 " } } }, "errorCode": 0, "message": "" } |
Close All
API V3
API V2
-
User - Network
-
User - Affiliate
-
Offer
-
Report
-
Dictionary
API V1 (DEPRECATED)