companies/{cid}/calendar/view
Returns company calendar with full details:
Weekends, non worked days, exceptionally worked days
Appointments
Open jobs (jobs assigned, managed or otherwise accessible to user)
Open projects (projects managed or otherwise accessible to user)
Open orders (orders submitted, managed or otherwise accessible to user)
URL
(GET) /companies/{cid}/calendar/view
PARAMETERS
The URL parameters are:
cid | The company ID | int, Mandatory |
range | The date selection mode:
| string, Mandatory |
| Optional date parameters. |
|
year | Calendar year. If not set then current year is used. | int, Optional |
month | Specify if range is "m". 1 = January, 2 = February... | int, Conditional |
day | Specify if range is "d". 1 = First day of month | int, Conditional |
Examples:
Get details for the current month:
/companies/882/calendar/view?range=m
Get details for March:
/companies/882/calendar/view?range=m&year=2017&month=3
RESULTS
The results are the same as those described for the person level calendar: