Get All Postbacks

HTTP method

Endpoint

GET

/aff/v1/offer_postbacks

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

Affiliate payout id.

offer_id

integer

Offer id.

event_id

integer

Event id.

code

string

Code.

status

string

Status of Postback.

type

string

Type of code.

create_time

integer

Create time.

update_time

integer

Update time.

Response body parameters

Field

Type

Description

id

integer

Affiliate postback id.

offer_id

integer

Offer id.

event_id

integer

Event id.

code

string

Code.

status

string

Status of Postback.

type

string

Type of code. 0: Global Postback 1:Image Pixel; 2:Postback URL; 3:HTML Pixel

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/aff/v1/offer_postbacks?sort=-id&limit=2&offset=2fields=id,offer_id,code,code,create_time&filters[id][GREATER_THAN]=45

Request GET http://{networkname}.api.offerslook.com/aff/v1/offer_postbacks?sort=-id&limit=2&offset=2&fields=id,offer_id,code,code,create_time&filters[id][GREATER_THAN]=45

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "rowset": [
          {
            "id": 49,
            "offer_id": 5,
            "code": "http://test.com",
            "create_time": 1467688530
          },
          {
            "id": 47,
            "offer_id": 244,
            "code": "http://www.baidu.com",
            "create_time": 1467341004
          }
        ],
        "totalPages": 3,
        "totalRows": 5,
        "offset": 2,
        "limit": 2
      }
    }

Last updated