API Method – getTrafficTypes

    getTrafficTypes
    Get traffic type list.

API Category

    Offer

HTTP Method

    GET

Request Call Example

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

Parameters

-

Response

Sample in JSON:

{
  "httpStatus": 200,
  "data": [
    {
      "id": 1,
      "name": "Banner"
    },
    {
      "id": 2,
      "name": "Email"
    },
    {
      "id": 3,
      "name": "Facebook"
    },
    {
      "id": 4,
      "name": "Google"
    }
  ],
  "errorCode": 0,
  "message": ""
}