Versions Compared

Key

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

Use this method to returne Legal Entity details by ID

Service return only active legal_entities, where is_active = true AND type is not nulltrue 

  1. Verify the validity of access token
  2. Check user scopes in order to perform this action
  3. Return in response:
    1. legal entity details from legal_entity table and from edr_data table
    2. services from capitation_contract table
    3. addresses from legal_entity table
    4. phones from legal_entity table
    5. emails from legal_entity table
    6. founders from legal_entity table
    7. medical_service_provider mps :
      1. licenses from licenses table
      2. accreditation from legal_entity entities table
  4. If not found, returned 404 error