Hello team, I am trying to update a user to assign them a phone for their default station. In order to find the station I had previously created for them, I call GET /api/v2/stations, and I get a list of almost all the stations.
As of the date this is posted (11/15/24) the most recent station that shows up was created on 10/18/24. However, when I look at the web interface, all of the phones show up. There is no difference in how the phones were created or the Base Settings (all WebRTC). There are phones/stations that are assigned and in use which are not showing up as well as phones/stations which were created manually but the employee has not started using yet.
The whole purpose of my task in the Genesys API is to onboard new employees and this is simply impossible to complete if the Station API is only returning data that is almost a month old. Additionally, I have not had this same problem with other endpoints such as the Telephony and User APIs.
Does anyone know if there is some method to force the Station API to update the data it is using, or if there is another way to get real time data automatically?
Make sure you have divisions set up correctly. That's a common cause of missing data.
If you're not sure why data is missing from your API response, please open a case with Genesys Cloud Care to investigate. In addition to the problem description, they will need a correlation ID of the request in question and the ID of a station that is not in the result set but you believe should be.
Ok, found the issue: me. I was the issue. Turns out I just was not returning the last page of the results. So, if there were 10 pages, I would return 1-9. Thank you for your response and patience. Truly a humbling experience overall.