Get categories of the network
HTTP method | Endpoint |
GET | /v1/offers_categories |
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 | A string that uniquely identifies this category | |
name | string | The name of the this category | |
ceate_time | integer | The creation time of this category |
Response body parameters
Field | Type | Description |
id | integer | A string that uniquely identifies this category |
name | string | The name of the this category |
ceate_time | integer | The creation time of this category |
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_categories?sort=+id&offset=2&limit=8&fields=id,name
Request GET http://{networkname}.api.offerslook.com/v1/offer_categories?sort=+id&offset=2&limit=8&fields=id,name
Example response
Last updated