How to return a team member's id

I am trying to start a booking api in my application however I can't seem to figure out how to create a function that returns ONLY the team_member_id.

Here is the code I have so far:

async function listTeamMember() {
    try {
        const response = await bookingsApi.listTeamMemberBookingProfiles();
        const teamMemberID = (response.body.team_member_id)
        console.log(teamMemberID);
    } catch (error) {
        console.log(error);
    }
}
listTeamMember()
384 Views
Message 1 of 2
Report
1 REPLY 1
Alumni

Hey @Ejay234,

 

This would be a question for our API support team - head over here to reach out to them via the Developer Forum!

 

Ps. I noticed it's your first post, welcome to our community 👋 🙂

327 Views
Message 2 of 2
Report
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.