Get_where

Description

Gets all checkins done in a POI

URL

/VERSION/checkin/get_where.FORMAT

Available Format

JSON

HTTP Method

GET

Accepted Version

1

Requires

Authorization.

Headers

Recent Changes

  • Response contains user_id identifier.
  • Request can be filtered using a range of date.

Parameters

  • access_token: (Required) access_token to user resources.
  • poi(Required) Point of Interest Identifier.
  • initdate: (Optional)¬†start date, according to the ISO 8601 standard. All Checkins recovered will have register time bigger than specified date.
  • enddate: (Optional)ending date, according to the ISO 8601 standard.¬†All Checkins recovered will have register time lesser or equal than specified date.

Example

https://api.topoos.com/1/checkin/get_where.json?access_token=b9955415-82d3-4481-a736-330d962df9ea&poi=6595

Reply
JSON example reply

[{
    "id": 4,
    "device_id": 1,
    "user_id":"00429846-8a7f-46cb-b354-525e0ac83dce",
    "poi_id": 6548,
    "register_time": "2012-12-05T13:17:14.488+00:00",
    "timestamp": "2012-12-05T13:10:50.842+00:00"
}]