Info |
---|
REST API method / Метод REST API (настанова) (remove the link block before publishing the document) |
...
Page Properties | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
|
...
This WS is designed to approve contract request by MSP side after it was approved by NHS side. Contract request only in status APPROVED can be approved by MSP/PHARMACY and as a result status changes to 'PENDING_NHS_SIGN'. Only after that NHS employee can sign the contract request.
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
Description of input parameters
Input parameter | Mandatory | Type | Description | Example | |
---|---|---|---|---|---|
1 | id |
| String |
|
|
2 |
Request structure
See on API-specification (посилання на сторінку з API-специфікацією)
Description of the REST API request structure, example
Expand | ||
---|---|---|
| ||
|
...
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 | 1000 | 404 | Composition not found | COMPOSITION_NOT_FOUND_404 | Не знайдено медичний висновок | 3 | 200 | 4200 | ||||
3 | 401 | Token is expired | ||||||||||
54 | 401 | Unauthorized | Помилка підтвердження | |||||||||
65 | 403 | Client is not active | ||||||||||
76 | 403 | Client is not allowed to modify contract_request | ||||||||||
87 | 403 | user is not active | ||||||||||
98 | 403 | Your scope does not allow to access this resource. Missing allowances: contract_requests:approve | ||||||||||
9 | 1000 | 404 | Composition not found | COMPOSITION_NOT_FOUND_404 | Не знайдено медичний висновок | |||||||
10 | 404 | Contract request with id=$id doesn't exist | ||||||||||
11 | 409 | Incorrect status of contract request to modify it | ||||||||||
12 | 422 | Contractor owner must be active within current legal entity in contract request | ||||||||||
13 | 422 | Contract request start date should be in future | ||||||||||
14 | 422 | Division must be active and within current legal_entity | ||||||||||
15 | 422 | Employee must be an active DOCTOR | ||||||||||
16 | 422 | Legal entity in contract request should be active | ||||||||||
17 | 422 | The division is not belong to contractor_divisions | ||||||||||
18 | Специфічні | |||||||||||
19 | 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 | ||||
---|---|---|---|---|
|
...