Purpose
This method returns a list of all available already created capitation reports
Specification
Logic
API paragraph not found
Filters
See on Apiary
Dictionaries
API paragraph not found
Request structure
API paragraph not found
Authorize
Verify the validity of access token
in case of error return 401 ('Access denied')
Check user scope capitation_report:read in order to perform this action
in case of error generate 401 response ('Invalid scopes')
Headers
Наприклад:
Content-Type:application/json
Request data validation
Verify role
Extract from token:
Validate client_id (is_blocked=false)
in case of error return 403 Error ('Client is blocked')
In case WS was called by MSP check contractor_legal_entity is active
in case error return 403 - ('Client is not active')
Processing
API paragraph not found
Response structure
Return array of existing reports according to Apiary and Capitation Report Data Structure
Example:
Post-processing processes
API paragraph not found