You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

get_capacity and get_quota_data for a date picker

edited Aug 16, 2019 5:09PM in Field Service

Summary

I'm trying to develop a date picker and get data from OFSC via SOAP API

Content

Hi,
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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!