Read Work Hours

GET {{url}}/{{tenantName}}/{{instanceName}}/calendar/work-hours

  1. HTTP Method: GET
  2. HTTP URL: https://api.live.welkincloud.io/gh/sb-demo/calendar/work-hours

URL examples:

  1. https://api.live.welkincloud.io/gh/sb-demo/calendar/work-hours ?psm-ids=301b2895-cbf0-4cac-b4cf-1d082faee95c &from=2020-01-01T00:00:00.000Z &to=2020-01-31T23:59:59.000Z
  2. https://api.live.welkincloud.io/gh/sb-demo/calendar/work-hours ?psm-ids=301b2895-cbf0-4cac-b4cf-1d082faee95c,18f393a8-62b3-4b4b-aa42-da769ce4489a &from=2020-01-01T00:00:00.000Z &to=2020-01-31T23:59:59.000Z

Request Params

KeyDatatypeRequiredDescription
psm-idsstringList of id and values
fromstringDate_time in ISO-8601 format
tostringDate_time in ISO-8601 format
viewerTimezonenullIf provided, return localtime fields (localStartDateTime, localEndDateTime) with provided timezone, otherwise use timezone for psmId user. String timezone (IANA format).