Purpose
Use this end-point to obtain all Employees of the legal entity specified by the legal_entity_id
Specification
Logic
Verify the validity of access token
Check user scopes in order to perform this action
Search employees by filters in ws url:
required filters
legal_entity_id (MSP id),
optional filters:
status (employees status APPROVED, DISMISSED). By default used APPROVED
type (employees type DOCTOR, HR, ACCOUNTANT, PHARMACIST, etc). By default returned all types of employees.
limit (limit response size - quantity of employee objects). By default returned 50 objects.
starting_after (cursor to fetch next page)
ending_before (cursor to fetch previous page)
If according to filters employees are not found, WS returns empty data array.
WS returns shortened details, which consist of:
employee and party objects
for DOCTOR and PHARMACIST - additional returns specialities information
pagination data - for tecnical info.
Input parameters
No
Filters
See on Apiary
Dictionaries
API paragraph not found
Request structure
API paragraph not found
Authorize
Request to process the request using a token in the headers
Headers
Content-Type:application/json
Authorization:Bearer c2778f3064753ea70de870a53795f5c9
Request data validation
API paragraph not found
Processing
API paragraph not found
Response structure
Example:
Post-processing processes
API paragraph not found
HTTP status codes
Backward compatibility
API paragraph not found