ЕСОЗ - публічна документація
Get Forbidden group list
Required parameters are marked with "*"
Якщо інформації по відповідному параметру немає, потрібно зазначити: “API paragraph not found”.
Purpose*
This WS allows to get list of forbidden groups without details by legal entity employees. Used to get id and name of the forbidden group to achieve permissions on it with help of approval
Specification*
Link | |
Resource | /api/forbidden_groups |
Scope | forbidden_group:read |
Components | API paragraph not found |
Microservices | API paragraph not found |
Protocol type | REST |
Request type | GET |
Sync/Async | Sync |
Logic*
This web service returns a catalog of all active forbidden groups in eHealth.
Key points
This is a REST method used by MIS
Authorization is not needed to get Forbidden group list (as dictionaries).
Input parameters
Input parameter | Values | Type | Description | Example |
---|---|---|---|---|
name |
| String | Forbidden group name |
|
page |
| Numbe | Page number |
|
page_size |
| Numbe | A limit on the number of objects to be returned, between 1 and 100. Default: 50 |
|
Request structure*
API paragraph not found
Authorize*
Request to process the request using a token in the headers
Headers*
Наприклад:
Content-Type:application/json
Request data validation*
API paragraph not found
Processing*
Search params
forbidden group name
Service logic
Filter active forbidden_groups by search params
Render found forbidden_groups with following params only:
id
name
Response structure*
See on Apiary
Example:
Post-processing processes*
API paragraph not found
HTTP status codes*
HTTP status code | Message | What caused the error |
---|---|---|
200 |
|
|
ЕСОЗ - публічна документація