API Method – getBlockedSubAff

    getBlockedSubAff
    Get blocked sub-affiliates for an affiliate.

API Category

    affiliate

HTTP Method

    GET

Request Call Example

    HTTP:
    GET /api/v2/getBlockedSubAff?key=yourapikey&a=youraffiliateid
    Host: yournetworkapplicationdomain
 
    Java:
    Unirest.get("http://yournetworkapplicationdomain/api/v2/getBlockedSubAff?key=yourapikey&a=youraffiliateid").asString();

Parameters


Name Type Description
a* Integer Your ID

Response

Sample in JSON:

{
    "httpStatus": 200,
    "data": [
        {
“offers”:[0],
“sub-affiliate-ids”:[“saff1”, “saff2”]
},      
{
“offers”:[1,8,9],
“sub-affiliate-ids”:[“saff11”, “saff21”]
}
    ],
    "errorCode": 0,
    "message": ""
}