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

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

« Previous Version 8 Next »



This service returns list of all active legal entities of all types (except MIS) filtering result by query parameters

Authorize user

  1. Verify the validity of access token
  2. Check user scope legal_entity: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 legal entities

Invoke PRM.Legal Entities List

  1. By default service returns legal entities with type - MSP
  2. Service return only active legal_entities, where is_active = true
  3. If settlement_id passes as input parameter - legal entities should be filtered by setllement_id in residence address only
  4. Method returns list of objects with short details from PRM DM legal_entity table and pagination information.
    1. For each legal entity return in response:
      1. legal entity details from legal_entities table and from edr_data table
      2. licenses from licenses table
      3. services from capitation_contract table
      4. addresses from legal_entity table
      5. phones from legal_entity table
      6. emails from legal_entity table
      7. founders from legal_entity table
  5. If according to filters Legal Entities are not found, WS returns empty data array.



  • No labels