/
Get Employee ID by Employee Request ID

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

Get Employee ID by Employee Request ID

Purpose

This service should be used with mis access_token authentification method and used to get employee id and employee request status by employee request id

Specification

Link

https://ehealthmisapi1.docs.apiary.io/#reference/public.-medical-service-provider-integration-layer/employee-requests/get-employee-id-by-employee-request-id

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

Resource

/api/mis/employee_requests/{{id}}

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

Scope

event:read

Scope для доступу

Components

Employees

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

Microservices

il/api

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

Protocol type

REST

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

Request type

GET

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

Sync/Async

Sync

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

Public/Private/Internal

Public

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

Input parameters

Input parameter

Values

Type

Description

Example

Input parameter

Values

Type

Description

Example

ID

 

String

Require

d290f1ee-6c54-4b01-90e6-d701748f0851

Request structure

See on Apiary

Authorize

Request to process the request using a token in the headers

Headers

Authorization:Bearer c2778f3064753ea70de870a53795f5c9 (string, optional)

Response structure

Example:

{ "meta": { "code": 200, "url": "https://example.com/resource", "type": "object", "request_id": "6617aeec-15e2-4d6f-b9bd-53559c358f97#17810" }, "data": { "id": "b075f148-7f93-4fc2-b2ec-2d81b19a9b7b", "employee_id": "836c4753-ece4-44ba-b63c-0f92900535bf", "status": "APPROVED", "updated_at": "2017-05-05T14:09:59.232112" } }

HTTP status codes

HTTP status code

Message

What caused the error

HTTP status code

Message

What caused the error

 200

 Response

 

Related content

Get Employee details
Get Employee details
More like this
Create employee request v2
Create employee request v2
More like this
Get Employee Requests List
Get Employee Requests List
More like this
Get Employees List
Get Employees List
Read with this
Get Employee Request by ID (Private)
Get Employee Request by ID (Private)
More like this
Deactivate Employee
Deactivate Employee
Read with this

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