Info |
---|
REST API method / Метод REST API (настанова) (remove the link block before publishing the document) |
...
Page Properties | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
|
...
In DS EDRPOU/DRFO must be equal to contractor_legal_entity.edrpou
Configuration parameters
Description of the configuration parameters that are used when processing a request in the system
Dictionaries
Provides a list of links to dictionaries that are available in Confluence
Input parameters
...
parameters
Input parameter | Mandatory | Type | Description | Example | |
---|---|---|---|---|---|
1 | id |
| String |
|
|
2 |
...
This PKCS7 file must be signed and decode in base64.
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 |
...
3 |
Request data validation
Authorize
Verify the validity of access token
Check user scopes in order to perform this action
In case error - generate 401 response
Request to process the request using a token in the headers
Check employee
Contract_request can be signed by owner or admin with necessary scopes in equal legal_entity_id and same id as was perviously input in contract_request.
...
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 | ||||||
3 | 401Unauthorized | Помилка підтвердження | |||||
4 | 1000 | 404 | Composition not found | COMPOSITION_NOT_FOUND_404 | Не знайдено медичний висновок | ||
5 | 422 | Division must be active and within current legal_entity | |||||
64 | 422 | Employee must be an active DOCTOR with linked division | |||||
75 | 422 | Employee must be within current division | |||||
86 | 422 | Incorrect status for signing | |||||
97 | 422 | Signed content does not match the previously created content | |||||
108 | 422 | Start date must be greater than create date | |||||
119 | 422 | The contract was already signed by contractor | |||||
1210 | 422 | There is no active contract with such contract_number | |||||
1311 | Специфічні | ||||||
14 | 422 | Only for active MPI record can be created medication request!12 |
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 | ||||
---|---|---|---|---|
|
...