How to identify selected resource before booking confirmation in Sesami SDK

Hi,

I’m currently using the Sesami SDK. I understand that multiple resources can be assigned to a service. Before confirming the booking, I would like to display to the user which resource has been selected.

Is there a way to retrieve the selected resource prior to confirmation?

From what I can see, getConfig() provides information about the assigned resources, but it doesn’t seem to tell me which specific resource has been selected by the user.

Also, if there is another way to check resources, please let me know.

Any guidance would be appreciated.

Thanks!

Hi Masa, Great hearing from you again!

After reading about what you want to achieve, we recommend that you handle the options on your own within the SDK implementation. You can retrieve the list of team members assigned to the service, display them to the user, and after they select one, set that option using setTeamMember, link.

This way, you know which team member the times are being offered by, and you can display it to the user.