Read Work Hours
GET {{url}}/{{tenantName}}/{{instanceName}}/calendar/work-hours
- HTTP Method: GET
- HTTP URL:
https://api.live.welkincloud.io/gh/sb-demo/calendar/work-hours
URL examples:
-
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
-
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
Key | Datatype | Required | Description |
---|---|---|---|
psm-ids | string | List of id and values | |
from | string | Date_time in ISO-8601 format | |
to | string | Date_time in ISO-8601 format | |
viewerTimezone | null | If provided, return localtime fields (localStartDateTime, localEndDateTime) with provided timezone, otherwise use timezone for psmId user. String timezone (IANA format). |