I am calling the Endpoint Status GSM API using postman and providing a date and time for the modifiedSince parameter. REST API Call below
GET /service/api/status/gsm/{keyCode}?batchSize=1000 &modifiedSince={modifiedSince}
I would expect to see the count of records being returned to steadily increment each time I execute this request, since new records or updated records get returned, but what I am seeing is confusing and I was hoping someone could help clarify.
lets say on my first call I want to see all records that were modified since 11am today. I should see (let’s say in this use case) 100 records returned with no continuation token or URI since my batch size is set to max (1000).
If I run the exact same query again a few seconds later I should see the same data or maybew 1 or 2 extra records depending on how busy my system is.
What I am seeing instead is less records being returned, often along with a continuation token.
I never seem to get a consistent result back, at times I see what I would expect to see, and at other times this anomaly creeps in where I get a continuation token back and less records than I would expect.
This is a problem for me since I am writing a data pipeline to bring this data in to report on that dates agent status and I am not confident that the API is working as expected, or maybe I have a big misunderstanding of how the API works.
Is this something anyone else has seen or can someone shed some further light here for me please?
Thanks
Matt