Versions Compared

Key

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

Use this method to returne Legal Entity details by ID


  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
      1. accreditation attribute is added
      2. type attribute is removed
    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
  4. If not found, returned 404 error