Versions Compared

Key

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

...

    1. Verify the validity of access token
    2. Check user scope declaration_request:create in order to perform this action

Validate Legal Entity Type

Validate legal entity from token:  legal  legal_entities.type should be in DECLARATIONbe in DECLARATION_REQUEST_LEGAL_ENTITY_TYPES and legaland legal_entities.status =='active' and legal_entities.nhs_verified ==true 

Validate doctor

Get employee details

...