I am trying to collect historical data about shift schedules and I collect that data using the schedule timeline API call: https://docs.opsgenie.com/docs/schedule-api#get-schedule-timeline
Everything looks good, but there seems to be a problem with deleted users (users that left the company and have been removed from opsgenie account completely). Their "participant" entry contains no name:
{
"startDate": "2021-08-27T16:00:00Z",
"endDate": "2021-08-28T00:00:00Z",
"type": "historical",
"recipient": {
"id": "306ef56f-c053-4ee0-a37e-6de5a25fa3f6",
"type": "user"
}, For comparison, here is an entry for an active user:
{
"startDate": "2021-08-26T16:00:00Z",
"endDate": "2021-08-27T06:00:00Z",
"type": "historical",
"recipient": {
"id": "b55143c4-0ef9-45d5-b615-febaf011ed59",
"type": "user",
"name": "name@domain.foo"
},Fun fact: on the web UI I can navigate back to the same date and see the name of the person who was on call on august, 27th 2021 so the data is there somehow.
Is there a way to get the name of deletes users in the timeline API?