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

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

Specification

Purpose

This WS is designed to return Innm list by filters.

Input parameters (filters)

  • id (optional)
  • sctid (optional)
  • name (optional, as `LIKE *`)
  • name_original (optional, as `LIKE *`)

Logic WS

  1. Verify the validity of access token
  2. Check user scopes in order to perform this action (scope = 'innm:read')
  3. Search Innm by filters in payload

    SELECT * FROM innms I
    WHERE (I.id == $.id OR $.id IS NULL)
    	AND (I.sctid == $.sctid OR $.sctid IS NULL)
    	AND (I.name LIKE `%$.name%` OR $.name IS NULL)
    	AND (I.name_original LIKE `%$.name_original%` OR $.name_original IS NULL) 
  • No labels