API Method – setAffiliateOfferList
API Method – setAffiliateOfferList
setAffiliateOfferList
Get affiliate information.
API Category
Campaign
HTTP Method
POST
Request Call Example
HTTP:
POST /api/v2/setAffiliateOfferList?key=yourapikey HTTP/1.1
Host: yourapplicationdomain
Content-Type: application/x-www-form-urlencoded
accessible_offers=559%2C561%2C563&inaccessible_offers=560%2C562%2C564&id=180
Java:
Unirest.post("http://yourapplicationdomain/api/v2/setAffiliateOfferList?key=yourapikey&accessible_offers=559%2C561%2C563&inaccessible_offers=560%2C562%2C564&id=180").asString();
Parameters
Response
Sample in JSON:
setAffiliateOfferList
Get affiliate information.
API Category
Campaign
HTTP Method
POST
Request Call Example
HTTP:
POST /api/v2/setAffiliateOfferList?key=yourapikey HTTP/1.1
Host: yourapplicationdomain
Content-Type: application/x-www-form-urlencoded
accessible_offers=559%2C561%2C563&inaccessible_offers=560%2C562%2C564&id=180
Java:
Unirest.post("http://yourapplicationdomain/api/v2/setAffiliateOfferList?key=yourapikey&accessible_offers=559%2C561%2C563&inaccessible_offers=560%2C562%2C564&id=180").asString();
Parameters
Name | Type | Description |
id* | Integer | Affiliate Id |
accessible_offers | String | Filter – a list of ACCESSIBLE offer ids: 3,123,445 |
inaccessible_offers | String | Filter – a list of INACCESSIBLE offer ids: 3,123,445 |
Response
Sample in JSON:
{ "httpStatus": 202, "data": { "result": 0, "msg": "" }, "errorCode": 0, "message": "" } |
Close All
API V3
API V2
-
User - Network
-
User - Affiliate
-
Offer
-
Report
-
Dictionary
API V1 (DEPRECATED)