No instances on API response
Hello everyone,
Sorry if this is a repeat topic here, but I'm having some trouble polling data from our new LogicMonitor setup via API.
As I understand it, I'll need device ID, device datasource ID, instance ID, all together to get graph data over a specific time period. I can successfully pull the first two (device id and datasource id), but when I pull the instances resource, I'm not getting any response.
Example resource path:
/device/devices/{device id}/devicedatasources/{datasourceid}/instances
The response I get is:
{
"total": 0,
"items": [],
"searchId": null,
"isMin": false
}
indicating that there's no instances. This is where I seem to get stuck, I don't seem to be able to move on any further. Has anybody run into this, and can give me a direction for next steps? Anything is appreciated!