-3

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.

  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Apr 20 '23 at 23:34

1 Answers1

0

Use the ServiceNow REST API explorer. Very powerful tool that allows you to put whatever queries/table you like and it's show you the result as well as the exact request you need to send to the API to generate that reply.

https://developer.servicenow.com/dev.do#!/learn/learning-plans/utah/servicenow_application_developer/app_store_learnv2_rest_utah_introduction_to_the_rest_api_explorer

BradB
  • 11
  • 2