I am trying to get the primary and secondary on call for my assignment group through the service now api. I can't find anywhere how to find the current primary on call and secondary on call. I've found another answer that "Schedule is in table cmn_schedule. group members is in table cmn_rota_roster.
So you can find the active roster for given time in cmn_schedule and the users and their roles in cmn_rota_roster." but haven't gotten this to work.
I'm using python + requests library.