API Method – getOfferGeoGroups

    getOfferGeoGroups
    Get offer geo group list.

API Category

    Offer

HTTP Method

    GET

Request Call Example

    HTTP:
    GET /api/v2/getOfferGeoGroups?key=yourapikey HTTP/1.1
    Host: yourapplicationdomain
 
    Java:
    Unirest.get("http://yourapplicationdomain/api/v2/getOfferGeoGroups?key=yourapikey").asString();

Parameters

-

Response

Sample in JSON:

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