/
Get Forbidden group list_EN

ЕСОЗ - публічна документація

Get Forbidden group list_EN

Purpose

This web service returns a catalog of all active forbidden groups in eHealth.

 

Specification

Link

https://ehealthmisapi1.docs.apiary.io/#reference/public.-forbidden-groups/get-forbidden-group-list/get-forbidden-group-list

Resource

/api/forbidden_groups

Scope

forbidden_group:read

Components

Forbidden groups

Microservices

API paragraph not found

Protocol type

API paragraph not found

Request type

GET

Sync/Async

Sync

Public/Private/Internal

Public

 

Logic

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

Key points

  1. This is a REST method used by MIS

  2. Authorization is not needed to get Forbidden group list (as dictionaries).

 

Filters

Filter

Values

Type

Description

Example

Filter

Values

Type

Description

Example

name

 

String

Forbidden group name

Some name

page

 

Number

Page number

2

page_size

 

Number

A limit on the number of objects to be returned, between 1 and 100

50

 

Headers

Наприклад:

  • Content-Type:application/json

 

Processing

Service logic

  1. Filter active forbidden_groups by search params

  2. Render found forbidden_groups with following params only:

    1. id

    2. name

 

Response structure

See on Apiary

Example:

{ "meta": { "code": 200, "url": "https://example.com/resource", "type": "object", "request_id": "req-adasdoijasdojsda" }, "data": [ { "id": "f7f817b2-3134-4625-b87d-e2d7fc8e9b90", "name": "Some name" } ], "paging": { "page_number": 2, "page_size": 50, "total_entries": 1000, "total_pages": 23 } }

 

HTTP status codes

HTTP status code

Message

What caused the error

HTTP status code

Message

What caused the error

 200

 

 

 

Related content

Medical Events filtration by Forbidden groups_EN
Medical Events filtration by Forbidden groups_EN
Read with this
Get Forbidden group details_EN
Get Forbidden group details_EN
More like this
Create declaration request v3
Create declaration request v3
Read with this
Get Forbidden group list
Get Forbidden group list
More like this
Procedure.Рекомендовані переклади
Procedure.Рекомендовані переклади
Read with this
[DRAFT] REST API Get Forbidden group list [API-001-001-002-0007]
[DRAFT] REST API Get Forbidden group list [API-001-001-002-0007]
More like this

ЕСОЗ - публічна документація