Versions Compared

Key

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

...

Validate value in the field $.managing_organization, Reference on legal entity, required

  • Check legal entity id exists in DB

    1. in case of error return 422 "Legal entity with such id is not found"

    Check $.managing_organization.identifier.value is equal to client_id from token

    • in case of error return 422 "Managing_organization does not correspond to user's legal_entity"

...