Versions Compared

Key

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

Table of Contents

This service returns list of all active activity types of legal entities, filtering result by query parameters

Specification

Apiary

Authorize user

  1. Verify the validity of access token
  2. Check user scope activity_type:read in order to perform this action

Check user context

Return response to user limited by context from user's token

...

  1. Check user scopes in order to perform this action

Get Activity Types

Specification

  1. Service return activity_types where is_active = true
  2. Method returns list of objects with activity_types details from prm.activity_types table for current legal entity and pagination information 
    1. if activity_type has reference to license, method returns license details from prm.licenses table also
  3. If according to filters activity types are not found, WS returns empty data array.

...