Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

Table of Contents

Specification

Apiary

Purpose

This web service method returns details of specified capitation reportlist of all available already created capitation reports.

Authorize

    1. Verify the validity of access token
      1. in case of error return 401 ('Access denied')
    2. Check user scope capitation_report:read in order to perform this action
      1. in case of error generate 401 response ('Invalid scopes')

Verify role

Extract from token:

  1. Validate client_id (is_blocked=false)
    1. in case of error return 403 Error ('Client is blocked')
  2. In case WS was called by MSP check contractor_legal_entity is active
    • in case error return 403 - ('Client is not active')

Validate scopes

...

Respond

Return array of existing reports according to Apiary and Capitation Report Data Structure.