Availability Capacity Booking Showing Negative Used Quote via API
Summary
After migrating from timeslots to booking intervals, we are randomly getting back negative used quota when pulled via API.Content
After we migrated from timeslots to booking intervals, when we pull used quota for a booking interval and capacity category, we are getting back negative used quota for some buckets.
This in turn, is allowing more bookings to come in, instead if actually showing positively used quota we are used too.
Example:
"label": "RP",
"maxAvailable": 2160,
"used": 713,
"count": 10,
"status": 66,
"intervals": [
{
"timeFrom": "08:00",
"timeTo": "12:00",
"quota": 35,
"used": -407,
"status": 2
},
{
"timeFrom": "12:00",
"timeTo": "17:00",
"quota": 168,
"used": 241,
"status": 2
Version
20B SU17Code Snippet
"label": "RP", "maxAvailable": 2160, "used": 713, "count": 10,
Tagged:
0