...
RC_5. Extension / reduction MVTN
RC_6. Refinement (preperson -> person) for MVTN
RC_7. Creating "a replacement" composition
Specification
Link | https://app.swaggerhub.com/apis/ehealthua/compositions/2.3239.2#/async/getAsyncJobStatus |
Resource | /patients/composition/job/{{asyncJobId}} |
Scope | composition:read |
Components | |
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 |
...
Creation of composition: Asynchronous tasks
...
Expand | ||
---|---|---|
| ||
|
Input parameters
Input parameter | Values | Type | Description | Example |
---|---|---|---|---|
asyncJobId | String | Async Job Object ID | 89678f60-4cdc-4fe3-ae83-e8b3ebd35c59 |
Request structure
Expand | ||
---|---|---|
|
Authorize
API paragraph not found
Headers
...
/patients/composition/job/{asyncJobId} |
Authorize
Check user scopes in order to perform this action (scope = 'composition:read')
return 401 (Unauthorized) in case of invalid scope(s)
Headers
Content-Type: application/json
Authorization: Bearer {token}
api-key: {secret}
Validation data request
Parameters validation:
asyncJobId
Processing
...
(correct composition ID needed)
404 - in case of error
Response structure
Expand | ||||
---|---|---|---|---|
| ||||
compositionAsyncJobStateResponse{
} |
...
Expand | ||
---|---|---|
| ||
|
Post-processing processes
API paragraph not found
HTTP status codes
HTTP status code | Message | What caused the error |
---|---|---|
200 | Task found | Correct answer with one of the possible statuses: PENDING, FAILED, DONE |
400 | Invalid request format | Error in query syntax or other error |
404 | Task not found | The task with the specified ID does not exist or was not found |