1.1.1        Summary

Set the approved Offer list or the blocked Offer list with the specific offer.
(Offer that allows access or offer access denied will be repeated without processing)

1.1.2        Request

 
Request Method: POST
Parameters:

Parameter Description Type Data Range
key Network API Key;
*Required
string  
      
      POST Parameters:

Parameter Description Type Data Range
id Affiliate ID
*Required
Int >0
accessible_offers You can request a string of ID s and use comma as a delimiter, For ex:
1,5,6
String  
inaccessible_offers You can request a string of ID s and use comma as a delimiter, For ex:
1,5,6
 
String  
 

1.1.3        Response

Header:
HTTP Status Object Description Error Code
202   Success 0
400 Parameter Invalid Parameter 63XX
 
Content Format: JSON
 

1.1.4        Example

 
Sample Request URL:
       http://{your_network_domain}/api/v1/setAffiliateOfferList?key=603E3F0E3266
 
Post Data:

{
"id": 12,
  "accessible_offer": "11,12,13",
  "inaccessible_offer ": "21,22,23"
}
 
Response sample:

{
  "httpStatus": 202,
  "data": {"result":1},
  "errorCode": 0,
  "message": ""
}