Appointment Slots Question
Posted: 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:
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!
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,
},
]
Thank you!