The Method is not recommended, and you can use getOffers


1.1.1 Summary

Get all offer id and names which affiliate can access.

1.1.2 Request

Request Method: GET
Parameters:

Parameter Description Type Data Range
key Network API Key;
*Required
string  
a Affiliate ID
*Required
Int Single value
 

1.1.3 Response

 
Header:

HTTP Status Object Description Error Code
200   Success 0
 
400
 
Parameter Affiliate ID
No Affiliate ID 6021
Affiliate ID Not Match API Key 6022
Affiliate Not Exist 6023
 
Content Format: JSON
 

1.1.4 Example

Sample Request URL:
http://{Your_Network_Domain}/api/v1/getAllOffers?key=Aj0CDE889012&a=2
 
Response sample:

{
  "httpStatus": 200,
  "data": [
    {
      "id": 4,
      "name": "test0ffer4"
    },
    {
      "id": 5,
      "name": "testoffer5"
    },
    {
      "id": 10,
      "name": "testoffer10"
    },
    {
      "id": 12,
      "name": "testoffer12"
    }
  ],
  "errorCode": 0,
  "message": ""
}