Get offer pool

HTTP method

Endpoint

GET

/v1/offer_pools

Query string parameters

Conditions

Parameters

Type

Description

Offset

offset

offset

Check page scale.

Limit

limit

limit

The number of date displays in each page. Maximum = 1000

Sort

sort

sort

Ranking according to the specified field ascending "+", or descending "-".

Filters

filters

filter

Query requirements of Specify field.

EQUAL_TO NOT_EQUAL_TO LESS_THAN LESS_THAN_OR_EQUAL_TO GREATER_THAN GREATER_THAN_OR_EQUAL_TO CONTAINS NOT_CONTAINS NULL NOT_NULL

Fields

fields

field

You can choose the field of the query (the result of the query is in line with the selected field).

id

integer

The unique id for the offer pool.

name

string

Offer pool name.

status

string

The offer pool status.

note

string

The offer pool note.

create_time

integer

Create time.

update_time

integer

Update time.

Response body parameters

Field

Type

Description

id

integer

The unique id for the offer pool.

name

string

Offer pool name.

status

string

The offer pool status.

note

string

The offer pool note.

create_time

integer

Create time.

update_time

integer

Update time.

totalPages

integer

The list of data pages (associated with your limit).

totalRows

integer

Total number of available data.

offset

integer

The number of records from a collection to skip. Iterating over large collections with this parameter can be slow.

limit

integer

The number of data displayed on one page.

Example request

Request GET https://{networkname}.api.offerslook.com/v1/offer_pools?sort=+id&limit=8&fields=id,name,status&filters[id][LESS_THAN]=10

Request GET http://{networkname}.api.offerslook.com/v1/offer_pools?sort=+id&limit=8&fields=id,name,status&filters[id][LESS_THAN]=10

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "rowset": [
          {
            "id": 1,
            "name": "art",
            "status": "active"
          },
          {
            "id": 2,
            "name": "test",
            "status": "active"
          },
          {
            "id": 3,
            "name": "demo",
            "status": "active"
          },
          {
            "id": 4,
            "name": "redirect",
            "status": "active"
          },
          {
            "id": 5,
            "name": "red",
            "status": "active"
          },
          {
            "id": 6,
            "name": "tiger",
            "status": "active"
          },
          {
            "id": 7,
            "name": "Test",
            "status": "active"
          },
          {
            "id": 8,
            "name": "Test Demo",
            "status": "active"
          }
        ],
        "totalPages": 1,
        "totalRows": 8,
        "offset": 1,
        "limit": 8
      }
    }

Last updated