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

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

Version 1 Next »


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

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

Token typeLimitation
TOKENS_TYPES_PERSONALLimited by Legal Entity (ID)
TOKENS_TYPES_MISNo limitations
TOKENS_TYPES_ADMINNo limitations

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.



  • No labels