Get all Encounter Records by client_id from JWT Token (work for users and api_clients tokens)
GET {{url}}/{{tenantName}}/{{instanceName}}/encounters?page=0&size=1000&sort=createdAt,asc
HTTP Request
For receiving this list as an API client need to set param withCareTeam=false.
Example: {{ url }} / {{ tenantName }} / {{ instanceName }} /encounters?withCareTeam=false
GET /{tenantName}/{instanceName}/encounters
in our example it would be:
GET https://api.live.welkincloud.io/gh/sb-demo/encounters
Responses
Code | Description |
---|---|
200 | OK |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
statuses | null | Encounter status. Available statuses: DRAFT,OPEN,ACTIVE,FINALIZED | |
page | number | Pagination: page number | |
size | number | Pagination: page size | |
sort | string | Sort field with sorting order(asc or desc) after coma |