getAffiliates
1.1.1 Summary
Get basic information of affiliates.1.1.2 Request
Request Method: GETParameters:
Parameter | Description | Type | Data Range |
key |
Network API Key; *Required |
string | |
status |
Affiliate Status; Optional; Default: All |
string |
All, Pending, Active, Rejected, Blocked |
1.1.3 Response
Header:HTTP Status | Object | Description | Error Code |
200 | Success | 0 | |
400 | Parameter: status | Invalid Value of Affiliate Status | 6203 |
Content Format: JSON
Each affiliate info is represented as a JSON code.
Variety of affiliate info form an array of JSON.
Affiliate Property | Description |
id | Affiliate ID |
first_name | - |
last_name | - |
status | Affiliate Status |
1.1.4 Example
Sample Request URL:http://{your_network_domain}/api/v1/getAffiliates?key=603E3F0E3266&status=Active
Response sample:
{
"httpStatus": 200,
"data": [
{
"id": "2",
"first_name": "affiliateTwo",
"last_name": "last2",
"status": "Active"
},
{
"id": "3",
"first_name": "affiliateThree",
"last_name": "last3",
"status": "Active"
}
],
"errorCode": 0,
"message": ""
}
|
Close All
API V3
API V2
-
User - Network
-
User - Affiliate
-
Offer
-
Report
-
-
User - Advertiser
-
offer
-
Dictionary
API V1 (DEPRECATED)