Specification
Apiary | |
JSON Schema response | SPECS |
Purpose
This WS is designed to return Substance detail.
Input parameters (filters)
- id
Logic WS
- Verify the validity of access token
- Check user scopes in order to perform this action (scope = 'substance:read')
Validate PK Medication
Purpose validation: Check on existing Substance record
Check exist Substance by $.id.
if invalid - return 404 error (message: "Substance is not found!")