Discussions
Pagination issues with GET Time Off and GET Time Punches
23 days ago by Jimmy Le
The current cursor record returns 'NULL' for the two endpoints List Time Off and List Time Punches and is breaking some queries that I am trying to run. The current cursor record properly returns a value for the List Locations. Is this expected behavior or is there a bug in how 7Shifts has implemented pagination across different endpoints?
"meta": {
"cursor": {
"current": "eyJsaW1pdCI6MTAwLCJvZmZzZXQiOjB9",
"prev": null,
"next": null,
"count": 2
"meta": {
"cursor": {
"current": null,
"prev": null,
"next": "eyJpZCI6MjkyOTk0MjQsIm5leHQiOnRydWV9",
"count": 2
"meta": {
"cursor": {
"current": null,
"prev": null,
"next": null,
"count": 2