Table of Contents |
---|
Specification
Purpose
This web service returns list of all available already created capitation reports.
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')
- Verify the validity of access token
Verify role
Extract from token:
...
- Generate synthetical id for each object in response
- id = edrpou + billing date, concatenate and trim '-' + report_id
- In case WS was called by NHS
- Select all capitation_report_details by id
- Return the result
- In case WS was called by MSP
- Extract legal_entity_id from token
- Select capitation_report_details where legal_entity_id = legal_entity_id from step a
- Return the result