Appointment Slots Question

For requests or help with our API
Post Reply
spright
Posts: 2
Joined: Sun Nov 21, 2021 1:47 pm
Location: Irvine, CA
Contact:

Appointment Slots Question

Post by spright » Mon Jan 31, 2022 10:15 am

Hi all,

New to the forum so apologies if this has already been asked, I'm looking to get a better understanding of how Appointments GET Slots behaves. Usually I play around with the developer credentials but I get an empty response (makes sense since it's a test instance and you cannot create slots). So instead I've created a test data set:

Code: Select all

[
      {
        DateTimeStart: '2022-02-03 08:00:00',
        DateTimeEnd: '2022-02-03 09:30:00',
        ProvNum: 1,
        OpNum: 1,
      },
      {
        DateTimeStart: '2022-02-03 10:00:00',
        DateTimeEnd: '2022-02-03 11:00:00',
        ProvNum: 2,
        OpNum: 1,
      },
      {
        DateTimeStart: '2022-02-03 10:00:00',
        DateTimeEnd: '2022-02-03 11:00:00',
        ProvNum: 1,
        OpNum: 1,
      },
      {
        DateTimeStart: '2022-02-03 13:00:00',
        DateTimeEnd: '2022-02-03 15:00:00',
        ProvNum: 3,
        OpNum: 1,
      },
      {
        DateTimeStart: '2022-02-03 15:00:00',
        DateTimeEnd: '2022-02-03 16:00:00',
        ProvNum: 2,
        OpNum: 1,
      },
]
Without specifying a ProvNum it will return all available slots for that day/time range. Am I right to assume that the API will return duplicate slots for each primary provider if they have availability at the same time?

Thank you!

SLeon
Posts: 476
Joined: Mon Mar 01, 2021 10:00 am

Re: Appointment Slots Question

Post by SLeon » Mon Jan 31, 2022 11:21 am

By not specifying a Provider in Appointments GET Slots, the search will use the dental office's Practice Default Provider. I will update our documentation to reflect this.

Additionally, I have added two provider schedules to our demo database. One provider has a ProvNum of 1 (who is also the Practice Default Provider) and the other a ProvNum of 6. They are not assigned to any specific operatory and are available at different times. Hopefully this will help developers test this method.

spright
Posts: 2
Joined: Sun Nov 21, 2021 1:47 pm
Location: Irvine, CA
Contact:

Re: Appointment Slots Question

Post by spright » Mon Jan 31, 2022 11:56 am

Thank you for clarifying this for me and I really appreciate the quick database update!

Post Reply