Specification
Purpose
This WS is designed to return Service list by filters.
Input parameters (filters)
- id (optional)
- code (optional)
- name (optional, as `LIKE *`)
- isActive (optional)
Logic WS
- Verify the validity of access token
- Check user scopes in order to perform this action (scope = 'service_catalog:read')
Search Services by filters in payload
SELECT * FROM service_groups WHERE parent_group_id in ( SELCT id FROM service_groups WHERE is_active = 'True') or parent_group_id is NULL