API Guide







Update Seed Weighting

The Update Seed Weighting allows you to select specific regions and weights for providers. Data is returned in the following formats: XML, JSON, CSV and Serialized.

Required headers: X-API-KEY
Optional headers: ACCEPT (json, xml, csv, serialized)
Method: PUT

Endpoint URL:

https://api.250ok.com/api/1.0/inboxinformant/config

Sample Output:

{
  "weighting_enabled": true,
  "include_zero_weight": true,
  "regions": [
    {
      "id": 1,
      "name": "North America",
      "audience": "b2c",
      "providers": [
        {
          "id": 15,
          "name": "ATT",
          "weight": 25
        },
        {
          "id": 17,
          "name": "Bell Canada",
          "weight": 25
        },
        {
          "id": 21,
          "name": "Cablevision",
          "weight": 25
        },
        {
          "id": 23,
          "name": "Charter",
          "weight": 25
        },
        {
          "id": 27,
          "name": "Comcast",
          "weight": 0
        },
        {
          "id": 28,
          "name": "Cox",
          "weight": 0
        },
        {
          "id": 29,
          "name": "Earthlink",
          "weight": 0
        },
        {
          "id": 55,
          "name": "NetZero",
          "weight": 0
        },
        {
          "id": 66,
          "name": "RCN",
          "weight": 0
        },
        {
          "id": 68,
          "name": "Roadrunner",
          "weight": 0
        },
        {
          "id": 69,
          "name": "Rogers",
          "weight": 0
        },
        {
          "id": 73,
          "name": "Shaw",
          "weight": 0
        },
        {
          "id": 81,
          "name": "Teksavvy",
          "weight": 0
        },
        {
          "id": 87,
          "name": "Verizon",
          "weight": 0
        },
        {
          "id": 88,
          "name": "Videotron",
          "weight": 0
        },
        {
          "id": 94,
          "name": "Yahoo!",
          "weight": 0
        }
      ]
    }
  ]
}
                    

Parameters

Parameter Description Acceptable Values Required
seedlist_weighting Option to enabled weighting on seed list y/n Y
include_zero_weight Option to include zero weighting y/n N
regions Comma-separate list of region IDs String Y
providers Comma-separated list of providers with weights specified after pipes.
(Ex. 1|5.5,2|13.5,3|20.1,4|15.5...)
String N