Check for any items that are after fromthisid
To determine if there are items that have been added, and if so return up to 30 IDs
Path parameters
-
The ID that is previous to the one to start from e.g. if IDs are 1,2,3 fromthisid as 1 will return 2,3
-
The number of IDs to return. Return count of 0 returns no items
Minimum value is
0
, maximum value is30
.
GET
/location/poll/{fromthisid}/{returncount}
curl \
-X GET https://YOURSITE.infoodle.com/apiv2/location/poll/4/30 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"totalitemsavailable": 67,
"firstid": 1,
"finalid": 259,
"returnlastid": 33,
"items": [
42
]
}
Response examples (401)
{
"error": "Unauthorised"
}
Response examples (403)
{
"error": "Invalid Permission"
}