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:

  • "m": Show a month. Specify month
  • "d": Show a single day. Specify month and day
string, Mandatory
 Optional date parameters. 
yearCalendar year. If not set then current year is used.int, Optional
monthSpecify if range is "m". 1 = January, 2 = February...int, Conditional
daySpecify if range is "d". 1 = First day of monthint, 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:

persons/{uid}/calendar/view

Copyright Wordbee - Buzzin' Outside the Box since 2008