How to know if user is temp replacement from FindWhoIsOnDuty

Not Yet Reviewed

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?

0

Comments

2 comments
Date Votes

Please sign in to leave a comment.

  • Hey Brandon,
    Yea, I've seen this reported by others before, it doesn't show temporary replacements or mark them anyway. I poked around a few tickets that others have opened, and one recommendation was to use the FindTemporaryReplacements operation on each user returned. It definitely can be chatty if you have a lot of users returned.

    We are working on releasing a new API and I'm trying to make sure we have this right this go around. I'll post back with details.

    Oh, just to confirm, are you an on Premise customer or on Demand?

    Happy Saturday,
    --- Travis

    0
  • Thanks Travis. I thought about using FindTemporaryReplacements() but held back due to the amount of calls I'll be needing to make. I'll have to try and see if it doesn't take too long with the extra overhead.

    We are on Premise (Xmatters 5.1)

    0

Didn't find what you were looking for?

New post