get_capacity and get_quota_data for a date picker
SummaryI'm trying to develop a date picker and get data from OFSC via SOAP API
We're trying to develop a date/time picker integrating with Oracle Field Service. The user should be able to pick a free date (any timeslot available) and a free timeslot and create an activity in that time slot. We are not using work zones and inventories, neither booking or routing.
We're trying two different approaches:
- Using get_capacity SOAP API
- Using get_quota_data SOAP API
The first problem we encountered is with the get_capacity return data: it was empty. We don't know when it started but at first it contained all the time slot information and capacity. The current configuration in "Quota Management" is "Based on Time Slots", all "Quota Definition" levels, and minutes as unit (as the print screen in attachment shows). It's empty when there are no activities and It has data when there are activities in that day, and only about the time slots allocated.