Find Events
GET {{url}}/{{tenantName}}/{{instanceName}}/calendar/events
- HTTP Method: GET
- HTTP URL:
https://api.live.welkincloud.io/gh/sb-demo/calendar/events/
Example URLs:
-
https://api.live.welkincloud.io/gh/sb-demo/calendar/events?from=2020-01-15T14:00:00.000Z&participantIds=301b2895-cbf0-4cac-b4cf-1d082faee95c&sort=createdAt,asc&to=2020-02-11T00:00:00.000Z&eventType=APPOINTMENT
-
https://api.live.welkincloud.io/gh/sb-demo/calendar/events?from=2020-01-15T14:00:00.000Z&to=2020-02-11T00:00:00.000Z&eventType=ENCOUNTER&includeEncounterInfo=true
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
to | string | Date_time in ISO-8601 format , required | |
participantIds | string | List of id and values, either users or | |
eventType | string | Enum of allowed values ("GROUP_THERAPY", "APPOINTMENT", "LEAVE", "ENCOUNTER") | |
includeCancelled | boolean | Should or not API return cancelled events (default: false) | |
includeEncountersInfo | boolean | Should or not API include encounterInfo field into dto (the field is exists for events with ENCOUNTER event type) (default: false) | |
from | string | Date_time in ISO-8601 format, required | |
excludeAssignedToEncounterEvents | boolean | If true, only events that are not assigned to encounter will returns (default: false) | |
sort | string | Allows one to specify the sort order of the returned patients collection | |
viewerTimezone | null |