Get active resynchronization tasks#
About#
Returns list of active resynchronization tasks for a specified connection
GET /users/current/configuration/connections/:connectionId/active-resynchronization-tasks
For more information see Swagger documentation
Headers#
Name | Type | Required | Description |
---|---|---|---|
auth-token | string | Yes | authorization token. See Authentication & authorization |
Path parameters#
Name | Type | Required | Description |
---|---|---|---|
connectionId | string | Yes | MetaApi account id to return tasks for |
Response#
Responses:
- 200 - Resynchronization tasks returned successfully. Response schema: Array<ResynchronizationTask>
- 401 - Authorization failed. Response schema: Error
Examples#
Example request:
curl -X GET --header 'Accept: application/json' --header 'auth-token: token' 'https://trading-api-v1.agiliumtrade.agiliumtrade.ai/users/current/configuration/connections/sTrInG/active-resynchronization-tasks'
Example response:
[
{
"_id": "5013f1322ae00d69167803d959e9f7dc",
"type": "CREATE_ACCOUNT",
"createdAt": "2020-08-24T00:00:00.000Z",
"status": "PLANNED"
}
]