...
Request to process the request using a token in the headers
Наприклад:
Content-Type:application/json
Authorization:Bearer {{access_token}}
API-key:{{mis_client_secret}}
...
Expand |
---|
|
Code Block |
---|
{
"data": {
"status": "pending",
"eta": "2018-08-02T10:45:16.000Z",
"links": [
{
"entity": "job",
"href": "/Jobs/NBXk9EyErUZv1RhXgyvgg"
}
]
},
"meta": {
"code": 202,
"url": "http://example.com/resource",
"type": "object",
"request_id": "req-adasdoijasdojsda"
}
} |
|
Post-processing processes
API paragraph not found
HTTP status codes
Page Properties |
---|
HTTP status code | Message | What caused the error |
---|
201 | use payload from response | sync | 202 | use Get job details to get processing result. Response payload will be returned in the job details | async: default method | 401 | Invalid access token | validation fails token is expired
| 403 | | | 404 | not found | The submitted Care Plan is not related to the Patient | 409 | Legal entity must be ACTIVE Action is not allowed for the legal entity type Care plan in status <cancelled/completed> cannot be cancelled Care plan has unfinished activities
| Validation error | 422 | | Validation error |
|
...