Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Specification

Schema

Features - Get all

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

  1. Check user scopes in order to perform this action (scope = 'service_catalog:read')
  2. Search Services by filters in payload

    Code Block
    languagesql
    SELECT * FROM service_groups
    WHERE parent_group_id in (
    	SELECT id FROM service_groups
    	WHERE is_active = 'True') 
    or  parent_group_id is NULL