0

How to know if user is temp replacement from FindWhoIsOnDuty

I'm using FindWhoIsOnDuty() to get a full schedule of users. I'm having trouble determining if a user is a temp replacement. I have includeRecipientDetails set to true and it says that this is the 'Full list of recipients (included only if includeRecipientDetails flag was set to true)
Note that the recipients returned will include a User's temporary replacement (instead of the User) if applicable.'

Now it includes the temp replacement, but also the user being replaced, but nothing I can see that flags which is the temp replacement and for who the users is replacing.

Any ideas on how I determine this from the API?

2 comments

Please sign in to leave a comment.