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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

Purpose

This method is designed to check the status of an asynchronous job

Specification

Link

https://app.swaggerhub.com/apis/bugzi11a/emal/1.0.7#/async/getAsyncJobStatus

Resource

/patients/composition/job/{{asyncJobId}}

Scope

composition:read

Components

Compositions

Using Dictionaries

API paragraph not found

Using Microservices

API paragraph not found

Protocol type

REST

Request type

GET

Sync/Async

Async

Public/Private/Internal

Public

Logic

Input parameters

Input parameter

Values

Type

Description

Example

asyncJobId

 

String

Async Job Object ID

 

Request structure

See on SwaggerHub

Authorize

API paragraph not found

Headers

API paragraph not found

Validation data request

Parameters validation:

  • asyncJobId

Processing

API paragraph not found

Response structure

See on SwaggerHub

Example:

 Response example
{
  "data": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "status": "PENDING",
    "eta": "string",
    "doneAt": "string",
    "links": [
      {
        "entity": "eHealth/composition",
        "href": "composition/0daaad78-6cfb-11ea-9cd6-afab698838bc",
        "error": "string"
      }
    ]
  }
}

Post-processing processes

API paragraph not found

HTTP status codes

HTTP status code

Message

What caused the error

200

Task found

 

400

Invalid request format

 

404

Task not found

  • No labels