Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel7

...

Page Properties
idAPI_Specification

Link

https://ehealthmisapi1.docs.apiary.io/#reference/public.-medical-service-provider-integration-layer/legal-entities/verify-legal-entity-by-nhs

Посилання на Apiary або Swagger

Resource

/api/legal_entities/{{id}}/actions/nhs_verify

Посилання на ресурс, наприклад: /api/persons/create

Scope

legal_entity:nhs_verify

Scope для доступу

Components

Legal Entities

Зазначається перелік бізнес компонентів, які використовують цей метод, наприклад: ePrescription

Microservices

API paragraph not found

Перелік мікросервісів, які використовує метод API, наприклад: Auth, ABAC

Protocol type

REST

Тип протоколу, який використовується запитом, наприклад: SOAP | REST

Request type

PATCH

Тип запиту API, наприклад: GET, POST, PATCH…

Sync/Async

Sync

Метод є синхронним чи асинхронним?

Public/Private/Internal

PublicPrivate

Потрібно зазначити тип методу за ступенем доступності

Logic

  1. Verify the validity of access token

  2. Check user scopes in order to perform this action

  3. Check legal_entity.status='active'

  4. Update legal_entity parameter nhs_verified on 'true', clear nhs_unverified_at

...

  1. Verify the validity of access token

  2. Check user scopes in order to perform this action

Headers

Наприклад:

Content-Type:application/json

...