Table of Contents | ||||
---|---|---|---|---|
|
Purpose
...
This WS is designed to return INNM detail.
Specification
...
Page Properties | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Logic
...
Method returns Medication details by ID.
...
Input parameter | Values | Type | Description | Example |
---|---|---|---|---|
id | String |
|
Request structure*
API paragraph not found
Authorize*
Request to process the request using a token in the headers
Headers
...
Наприклад:
Content-Type:application/json
Authorization:Bearer c2778f3064753ea70de870a53795f5c9
Request data validation
...
Validate PK Medication
Purpose validation: Check on existing Medication record
...
if invalid - return 409 eror (message: "Type of record by id is not MEDICATION !")
Processing
...
Logic WS
Verify the validity of access token
Check user scopes in order to perform this action (scope = 'medication:read')
Response structure
...
See on Apiary
Example:
Expand | ||
---|---|---|
| ||
|
Post-processing processes*
...
HTTP status codes
...
Page Properties | ||||||
---|---|---|---|---|---|---|
|
...