» Lists » Views » Views » Get

GET lists/{list_id}/views

Retrives the list's Views

Resource

Method GET
URL http://api.responder.co.il/v1.0/lists/{list_id}/views

Parameters

limit
optional

Maximum number of Lists to be retrived.
Range between 1 to 500.

Example value: 25
Default value: 500
offset
optional

The position to start the count of "limit" from.
Value must be larger or equal to 0

Example value: 10
Default value: 0
dir
optional

The order of the subscribers. For "dir=0" the subscribers will be in ascending order according to subscription date. For "dir=1" the subscribers will be in descending order according to subscription date.
Value can be either 0 or 1

Example value: 1
Default value: 0
subscriber_id
optional

The identity of specific subscriber.
Value can be either id or email

Example value: 123456 Another example value: israeli@gmail.com
Default value: null
min_join_date
optional

The minimum for subscription date of subscriber.
Value has to be a valid date in YYYY-MM-DD HH:mm format

Example value: 2015-01-01 00:00
Default value: null
max_join_date
optional

The maximum for subscription date of subscriber.
Value has to be a valid date in YYYY-MM-DD HH:mm format

Example value: 2018-06-30 00:00
Default value: null

Example

GET http://api.responder.co.il/v1.0/lists/123456/views

Response

{
   "LIST_ID" : 123456
   "VIEWS" : [
      {
         "ID" : 8008,
         "NAME" : "Tel Aviv"
      },
      {
         "ID" : 457,
         "NAME" : "Car Owners"
      }
   ]
}