...
Page Properties |
---|
|
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
Verify the validity of access token
Check user scopes in order to perform this action
Check legal_entity.status='active'
Update legal_entity parameter nhs_verified on 'true', clear nhs_unverified_at
...
Verify the validity of access token
Check user scopes in order to perform this action
Наприклад:
Content-Type:application/json
...