...
Method to Get all divisions from ehealth system as a raw data as a part of data exchange to do some operations on PIS side (data enrichment, search)
Specification
https://ehealthpisapipisapi1.docs.apiary.io/#reference/public.-patient-information-system/bulk-data-export/get-divisions
Authorization
Verify that MIS API token exists in request
in case of error - return 401 (“Api key is not set")
Verify the validity of MIS API token
in case of error - return 401 (“Invalid api key”)
Verify that MIS API token is not expired
in case of error - return 401 (“Invalid api key”)
Check MIS scopes in order to perform this action (scope = 'division_bulk:read_pis')
return 403 (“Your scope does not allow to access this resource. Missing allowances: division_bulk:read_pis”) in case of invalid scope(s)
...