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

RC_Get Medical Program List (MIS)

Purpose

This WS is designed to return Medical Program list filtered by search params.

Specification

Apiary

Authorization

  • Verify the validity of access token

    • in case of error - return 401 “Invalid access token” in case of validation fails

  • Verify that token is not expired

    • in case of error - return 401 “Invalid access token”

  • Check user scopes in order to perform this action (scope = 'medical_program:read')

    • return 403 “Your scope does not allow to access this resource. Missing allowances: medical_program:read” in case of invalid scope(s)

Search params

All search params are optional. Search with a few params executes according to the logical AND rule.

  • id. Medical program identifier

  • name. Medical program name

  • is_active. Medical program status

  • page

  • page_size

Service logic

  1. Get all medical programs from prm.medical_programs table filtered by search params.

  2. Render a response according to specification

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