Table of Contents | ||||
---|---|---|---|---|
|
Required parameters are marked with "*"
...
Purpose*
This WS is designed to return Innm list by filters.
...
Request to process the request using a token in the headers
Headers*
Наприклад:
Content-Type:application/json
Authorization:Bearer c2778f3064753ea70de870a53795f5c9
...
API paragraph not found
Processing*
Logic WS
Verify the validity of access token
Check user scopes in order to perform this action (scope = 'innm:read')
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)
Response structure*
See on Apiary
...