Thread Options
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
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()
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
1 REPLY 1
Thread Options
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
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 👋 🙂
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
This post is no longer active and is closed to new replies. Need help?
Start a new post to ask your question.