1.1.1 Summary

Get all GEO groups and their offers.
 

1.1.2 Request 

Request Method: GET
Parameters:

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

1.1.3 Response

Header:
HTTP Status Object Description Error Code
200   Success 0
 
Content Format: JSON
Data is array of Offer GEO Group; each type is a JSON object,the property “offers” is an array of offer ID  which belong to the Group.
 

1.1.4 Example

Sample Request URL:
http://{Your_Network_Domain}/api/v1/getOfferGeoGroups?key=603E3F0E3266E
 
Response sample:

{
  "httpStatus": 200,
  "data": [
    {
      "id": "2",
      "name": "group-2",
      "offers": [
        "6",
        "7",
        "8",
        "9"
      ]
    },
    {
      "id": "3",
      "name": "group-3-1",
      "offers": [
        "3",
        "4",
        "5"
      ]
    },
    {
      "id": "4",
      "name": "group-4",
      "offers": [
        "1",
        "2"
      ]
    }
  ],
  "errorCode": 0,
  "message": ""
}