ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


Specification

Apiary

Purpose

This method returns list 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')

Respond

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

  • No labels