Leaf Lockwood
Good day,
Is it possible to update the xMatter's on-call schedule through the API or integration? I have our main schedule in confluence and can export the data into a JSON or CSV.
Preferably we do not want to have to update the schedule manually in multiple places.
Best Regards.
0
Comments
Please sign in to leave a comment.
Thanks for the question Leaf.
The xMatters API does have some endpoints you can use to update group schedules. You'll actually want to look at a couple of endpoints. But the work will be translating the data into API calls.
First, you'll want to lookup your groups by name using https://help.xmatters.com/xmapi/index.html#get-a-group.
On each group you can update the details about various shifts. You can lookup the shifts using https://help.xmatters.com/xmapi/index.html#get-shifts-in-a-group
You can create shifts on a group using https://help.xmatters.com/xmapi/index.html#create-a-shift.
And if you want to add more members to the shift, https://help.xmatters.com/xmapi/index.html#add-a-member-to-a-shift
You are a gentleman and scholar.