Company administration service methods: Difference between revisions
No edit summary |
No edit summary |
||
| Line 882: | Line 882: | ||
Returns a list of objects represented a time intervals marked as busy in Google Calendar. Each object of result | Returns a list of objects represented a time intervals marked as busy in Google Calendar. Each object of result | ||
contains <code>from</code> and <code>to</code> properties with datetime string as value. This method only actual if | contains <code>from</code> and <code>to</code> properties with datetime string as value. This method only actual if | ||
[Custom_Features# | [Custom_Features#Calendar_Sync|Calendar Sync Custom Feature] enabled. If Custom Feature not enabled an empty list will | ||
be returned. You should call <code>[[#isPluginActivated|isPluginActivated('google_calendar_export')]]</code> to | be returned. You should call <code>[[#isPluginActivated|isPluginActivated('google_calendar_export')]]</code> to | ||
check status of the Custom Feature. Each object of result contains <code>from</code> and <code>to</code> properties with | check status of the Custom Feature. Each object of result contains <code>from</code> and <code>to</code> properties with | ||
datetime string as value. Please note that this method may return not actual data because data synchronization | datetime string as value. Please note that this method may return not actual data because data synchronization | ||
between server and Google Calendar may take some time and synchronized data are cached for 15 minutes.Example: | between server and Google/Outlook Calendar may take some time and synchronized data are cached for 15 minutes.Example: | ||
<code> | <code> | ||
[ | [ | ||
| Line 1,083: | Line 1,083: | ||
is an array of two objects. Both objects contains list of time slots for type <code>reserved_time</code> and type | is an array of two objects. Both objects contains list of time slots for type <code>reserved_time</code> and type | ||
<code>not_worked_time</code>. <code>reserved_time</code> type represents time slots working time but already booked | <code>not_worked_time</code>. <code>reserved_time</code> type represents time slots working time but already booked | ||
by clients. Nobody knows what kind of data represented by <code>not_worked_time</code> type. Please don't use it.If [[Custom_Features# | by clients. Nobody knows what kind of data represented by <code>not_worked_time</code> type. Please don't use it.If [[Custom_Features#Calendar_Sync| Calendar Sync Custom Feature]] enabled then object with | ||
<code>reserved_time</code> type will contain not empty list of time slots marked as busy in Google calendar. Call | <code>reserved_time</code> type will contain not empty list of time slots marked as busy in Google calendar. Call | ||
<code>[[#isPluginActivated|isPluginActivated('google_calendar_export')]]</code> API method to check if | <code>[[#isPluginActivated|isPluginActivated('google_calendar_export')]]</code> API method to check if Calendar Sync Custom Feature activated. | ||
| Line 1,390: | Line 1,389: | ||
Returns Array. | Returns Array. | ||
Return busy time by unit id by | Return busy time by unit id by Calendar Sync Custom Feature if enabled. Please note that this method may return not actual data because data synchronization between server and Google/Outlook Calendar may take some time and synchronized data are cached for 15 minutes. | ||
---- | ---- | ||
| Line 1,806: | Line 1,805: | ||
*:Google Adwords and analytics | *:Google Adwords and analytics | ||
* google_calendar_export | * google_calendar_export | ||
*: | *:Calendar sync | ||
* group_booking | * group_booking | ||
*:Group bookings | *:Group bookings | ||