Get all Encounter Records by user ID

GET {{url}}/{{tenantName}}/{{instanceName}}/users/:userId/encounters

HTTP Request

GET /{tenantName}/{instanceName}/users/{userId}/encounters

in our example it would be:

GET https://api.live.welkincloud.io/gh/sb-demo/users/d6ea79ce-d3d6-4c2d-a27e-e4d1207f60f1/encounters

Responses

CodeDescription
200OK
401Unauthorized
403Forbidden
404Not Found

Request Params

KeyDatatypeRequiredDescription
pagenumberPagination: page number
sizenumberPagination: page size
sortstringSort field with sorting order(asc or desc) after coma
statusesstringEncounter status. Available statuses: DRAFT,OPEN,ACTIVE,FINALIZED
withCareTeambooleanIf true, return only encounter thats belong to the patients in the user care team (default: true)