ЕСОЗ - публічна документація
REST API Private. Get Medication Dispense by ID []
- 1 Properties of a REST API method document
- 2 Purpose
- 3 Logic
- 4 Configuration parameters
- 5 Dictionaries
- 6 Input parameters
- 7 Filters
- 7.1 Query data
- 8 Request structure
- 9 Headers
- 10 Request data validation
- 11 Processing
- 12 Response structure examples
- 13 HTTP status codes
- 14 Post-processing processes
- 15 Technical modules where the method is used
Properties of a REST API method document
Document type | Метод REST API |
---|---|
Document title | API Private. Get Medication Dispense by ID [] |
Guideline ID | GUI-0011 |
Author | @Iryna Lishtaba (SoE eHealth) |
Document version | 1 |
Document status | DRAFT |
Date of creation | ХХ.ХХ.ХХХХ (дата фінальної версії документа – RC або PROD) |
Date of update | ХХ.ХХ.ХХХХ (дата зміни версії) |
Method API ID | … |
Microservices (namespace) | API paragraph not found |
Component | ePrescription |
Component ID | COM-005-008 |
Link на API-специфікацію | |
Resource | {{host}}/api/admin/medication_dispenseses/id |
Scope | medication_dispense_admin:read |
Protocol type | REST |
Request type | GET |
Sync/Async | Sync |
Public/Private | Private |
Purpose
This method is designed to get Medication Dispense Details by NHS_ADMIN. In the response of these endpoint person_id is return in hashed form.
Logic
Verify the validity of access token
Return 401 in case validation fails
Check user scopes in order to perform this action (scope = 'medication_dispense_admin:read')
Return 403 in case invalid scope(s)
Configuration parameters
N/A
Dictionaries
N/A
Input parameters
Input parameter | Mandatory | Type | Description | Example | |
---|---|---|---|---|---|
1 | id | O | String | Medication dispense ID | a89f6a26-4221-4597-a1d2-542d5e40b565 |
Description of input parameters
Filters
Query data
Get certain record from medication_dispenses filtered by:
record should be active: is_active = true
id: Query param: id
Request structure
N/A
Headers
Request data validation
N/A
Processing
N/A
Response structure examples
N/A
HTTP status codes
Post-processing processes
N/A
Technical modules where the method is used
List of pages describing technical modules where the method is used
Related content
ЕСОЗ - публічна документація