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

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 10 Next »

Specification

Apiary
JSON Schema response
SPECS

Purpose

This WS is designed to return Program_brands list by filters.

WS Logic

Authorize

  1. Verify the validity of access token
    1. In case error - generate 401 response
  2. Check user scope (scope = 'program_brand:write') in order to perform this action
    1. In case error - generate 403 response

Parameters available to filter

  • id (optional)
  • medical_program_id (optional)
  • medical_program_name (optional, as `LIKE *`)
  • innm_dosage_id (optional)
  • innm_dosage_name (optional, as `LIKE *`)
  • brand_id (optional)
  • brand_name (optional, as `LIKE *`)
  • is_active

When filter by innm_dosage (name or id)  we show only brands where this innm_dosage in brand.dosage has is_active_substance=true.

Fields to show 

id (program_brands_id)

medical_program_name

brand_name
form
manufacturer 
reimbursement_amount
brand_name
is_active


  • No labels