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

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

Version 1 Next »

n/nDescriptionInputsExpected ResultStep by Step ScriptActual Result

Create Substance
  • Authorization - NHS Admin
  • name - New, Valid
  • name_original - New, Valid
  • stdid- new

Response 201

Substance saved to DB with status is_active=true


  •  

Create substance not by NHS Admin
  • Authorisation - Doctor
  • name - New, Valid
  • name_original - New, Valid
  • stdid- new

Response 403

Message: Your scope does not allow to access this resource. Missing allowances: substance:write"


  •  

Create substance with name exists in DB
  • Authorization - NHS Admin
  • name - Old, Valid
  • name_original - New, Valid
  • stdid- new

Response 422

Message: has already been taken


  •  


  • No labels