MS Booking API - Create appointment

atheodat 1 Reputation point
2022-03-22T09:17:00.563+00:00

I've created a custom connector in Power Automate for MS Bookings. When trying to book an appointment via the api for an existing customer, I get the following error:
changes: Cannot create an abstract class.

This error happens only when I try to add a customer to the appointment.
Can someone please tell me how to enter the a customer when creating a new appointment?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,795 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sheena-MSFT 1,731 Reputation points
    2022-03-22T11:29:52.71+00:00

    Hi @atheodat ,

    According to this document we have to pass the customer id while creating or updating the appointment for an existing customer .

    To fetch customer id use the below endpoint bookingbusiness-list-customers

    GET /solutions/bookingBusinesses/{id}/customers  
    

    185560-booking4.png

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments

  2. Buster 1 Reputation point
    2022-05-17T10:14:45.217+00:00

    I experience the same problem. I also get the error

    changes: Cannot create an abstract class,
    

    I am using a customer that I just created (which also shows in the list of customers), so an invalid customer is not the case here. Max attendees is set to 1, so these conditions are not in place, but the customer does exist.

    Any help would be highly appreciated.

    I am investigating whether the MS Bookings api (part of Graph) would be something we can use. Since this is not the only issue I ran into, I have my doubts...

    0 comments No comments