Get all offers from offer pool by pool id

HTTP method

Endpoint

GET

/v1/offer_pools/{pool_id}/offers

Path parameters

Parameter

Description

pool_id

The unique id for the offer pool.

Response body parameters

Field

Type

Description

pool_id

integer

The unique id for the offer pool.

offer_id

integer

The unique id for the offer.

create_time

integer

Create time.

Example request

Request GET https://{networkname}.api.offerslook.com/v1/offer_pools/8/offers

Request GET http://{networkname}.api.offerslook.com/v1/offer_pools/8/offers

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "pool_offer": [
          {
            "pool_id": 8,
            "offer_id": 17,
            "create_time": 1468461607
          },
          {
            "pool_id": 8,
            "offer_id": 18,
            "create_time": 1468461607
          },
          {
            "pool_id": 8,
            "offer_id": 19,
            "create_time": 1468461607
          }
        ]
      }
    }

Last updated