# Can not retrieve team member assigned to a booking through API

**URL:** <https://forum.youcanbook.me/t/can-not-retrieve-team-member-assigned-to-a-booking-through-api/2230>\
**Category:** Miscellaneous\
**Created:** [April 30, 2023, 11:31am UTC](https://forum.youcanbook.me/t/can-not-retrieve-team-member-assigned-to-a-booking-through-api/2230 "2023-04-30T11:31:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christos](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/christos/32/775_2.png) [@Christos](https://forum.youcanbook.me/u/Christos)\
**Post date:** [April 30, 2023, 11:31am UTC](https://forum.youcanbook.me/t/can-not-retrieve-team-member-assigned-to-a-booking-through-api/2230/1 "2023-04-30T11:31:10Z")

</div>

Hello guys,

I am using YCBM API to retrieve information of our bookings and

using this URL with the corresponding AUTH headers [https://api.youcanbook.me/v1/bookings/bd307923-f0e8-45fc-9671-1e7c3ee6b22d?fields=title,accountId,profileId,createdAt,startsAt,endsAt,tentative,teamMember,answers,answers.code,answers.string](https://api.youcanbook.me/v1/bookings/bd307923-f0e8-45fc-9671-1e7c3ee6b22d?fields=title,accountId,profileId,createdAt,startsAt,endsAt,tentative,teamMember,answers,answers.code,answers.string)

as a response I am taking the following  
{  
“title”: “Christos and (TEST) Ραντεβού με Γενικό Ιατρό/Παθολόγο (Copy)”,  
“accountId”: “(Removed by Admin)”,  
“profileId”: “(Removed by Admin)”,  
“createdAt”: “2023-04-29T21:21:09Z”,  
“startsAt”: “2023-05-01T12:20:00”,  
“endsAt”: “2023-05-01T12:40:00”,  
“tentative”: “NOT\_USED”,  
“teamMember”: {},  
“answers”: [  
{  
“code”: “Q6”,  
“string”: “fever”  
},  
{  
“code”: “FNAME”,  
“string”: “Christos”  
},  
{  
“code”: “LNAME”,  
“string”: “Chatzi”  
},  
{  
“code”: “EMAIL”,  
“string”: “(Removed by Admin)”  
},  
{  
“code”: “Q3”,  
“string”: “(Removed by Admin)”  
}  
]  
}

Why am I not retrieving the teamMember assigned to this booking knowing the fact that there is definitely a team member  
assigned to this booking?  
Thank you, Christos

---

<div class="post-metadata">

**Author:** ![Ben](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/ben/32/772_2.png) [@Ben](https://forum.youcanbook.me/u/Ben)\
**Post date:** [May 6, 2023, 12:36am UTC](https://forum.youcanbook.me/t/can-not-retrieve-team-member-assigned-to-a-booking-through-api/2230/2 "2023-05-06T00:36:15Z")

</div>

Hey @Christos try teamMember,teamMember.name,teamMember.email,teamMember.id,teamMember.pic,teamMember.account etc.

You can get all of the following:  
“teamMember” : {  
“id” : “{teamMemberId}”,  
“name” : “{TEAM-NAME}”,  
“description” : “”,  
“pic” : “[https://urlofteamphoto.jpeg](https://urlofteamphoto.jpeg)”,  
“email” : “{TEAM-EMAIL}”,  
“account” : “{YCBM Account for Zoom}”,  
“targetCalendarTimeZone” : “Europe/Warsaw”,  
“calendarId” : “calendarId”  
}
