1.1.1 Summary

Get the approved affiliat list or the blocked affiliate list with the specific offer.

1.1.2 Request

Request Method: GET
Parameters:

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

      POST Parameters:
Parameter Description Type Data Range
id Offer ID
*Required
String Offer ids separated by commas, e.g.
‘1,2,3’
 

1.1.3 Response

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

1.1.4 Example

 
Sample Request URL:
http://{your_network_domain}/api/v1/getOfferAffiliateList?key=603E3F0E3266&id=12
 
Response sample:

{
    "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": ""
}