I volunteer for a search & rescue charity and we use D4H ( www.d4h.com/) to manage our on call teams. I am developing a dashboard and already have things like tides, river flow and more calling API’s from various sites.
I would really like to call the api from D4H (which exists and I can get working) but I am struggling. I can get the command to work in postman but no matter what I try it doesn’t display the on call status. I think I am hitting some sort of limit? I am at a loss. I don’t fully understand what I need to do in all honesty and am hoping one of you kind people can help.
The JSON it extracts is available here: JSON-Example.txt
Thanks for the data. That helps a lot, but when redacting data please replace it with the same type e.g. 111 instead of xxx otherwise the json becomes invalid.
Either way this is best done with the rest integration (rather than the rest sensor platform) as you can fill all sensors with one call to the resource.
Hey, thanks for the speedy reply. - Sorry about the redaction too!
The ideal solution would be to list all on call members in 1 sensor so that it would display as:
On Call Volunteers
Rob until 06/04/2025 09:00
John until 07/05/2025 17:00
Peter until 09:05:2025 00:00