Info |
---|
REST API method / Метод REST API (настанова) (remove the link block before publishing the document) |
...
Page Properties | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
|
...
Logic
...
Configuration parameters
Description of the configuration parameters that are used when processing a request in the system
Dictionaries
+DIVISION_TYPE
+DIVISION_STATUS
LEGAL_ENTITY_TYPE_V2
LICENSE_TYPE
+DOCUMENT_TYPE
PHONE_TYPE
COUNTRY
EDUCATION_DEGREE
QUALIFICATION_TYPE
SPECIALITY_TYPE
SPECIALITY_LEVEL
SPEC_QUALIFICATION_TYPE
Input parameters
...
parameters
Input parameter | Mandatory | Type | Description | Example | |
---|---|---|---|---|---|
1 | id |
| String | Required | d290f1ee-6c54-4b01-90e6-d701748f0851 |
2 |
Request structure
See on API-specification (посилання на сторінку з API-специфікацією)
Description of the REST API request structure, example
Expand | ||
---|---|---|
| ||
|
...
Key | Value | Mandatory | Description | Example | ||
---|---|---|---|---|---|---|
1 | Content-Type | application/json | M | Тип контенту | Content-Type:application/json | |
2 | Authorization | Bearer c2778f3064753ea70de870a53795f5c9 | M | Перевірка користувача | Authorization:Bearer c2778f3064753ea70de870a53795f5c9 | 3 |
Request data validation
3 |
Request data validation
Authorize
Verify the validity of access token.
Check user scope employee:deactivate in order to perform this action
In case error - return 401 error.
Validate transition according to Available transitions.
...
Response structure examples
See on API-specification (посилання на сторінку з API-специфікацією)
Description of the REST API response structure, example
Expand | ||
---|---|---|
| ||
|
...
Response code | HTTP Status code | Message | Internal name | Description | |||
---|---|---|---|---|---|---|---|
1 | Базові | ||||||
2 | 200 | Response |
| ||||
3 | 401 | Error | |||||
4 | 401 | Invalid access token | |||||
5 | 401 | Invalid scope | |||||
6 | 403 | Invalid transition |
| ||||
7 | 1000404 | Composition Employee not foundCOMPOSITION_NOT_FOUND_404 | Не знайдено медичний висновок | ||||
8 | 404Специфічні | Employee not found | |||||
9 | 401 | Unauthorized | Помилка підтвердження | ||||
10 | Специфічні | ||||||
11 | 422 | Only for active MPI record can be created medication request!
Post-processing processes
Description of actions performed on data after processing
Technical modules where the method is used
List of pages describing technical modules where the method is used
Page Properties Report | ||||
---|---|---|---|---|
|
...