Skip to content

Read provisioning profiles

About

Returns provisioning profiles belonging to the current user

GET /users/current/provisioning-profiles

For more information see swagger documentation

Headers

Name Type Required Description
auth-token string Yes Authorization token. See Authentication and authorization

Path parameters

Name Type Required Description
id string Yes Id of the profile to retrieve

Query parameters

Name Type Required Description
version integer Filter MetaTrader provisioning profile by version. Allowed values is 4 and 5. Other values will be ignored.
status string Filter provisioning profile by status. Allowed values is new and active. Other values will be ignored.
type string Yes Provisioning profile type, enum mtTerminal, managerApi, managerUi. Other values will be ignored.

Response

  • 200 - Provisioning profile list. Response schema: Array<ProvisioningProfile>
  • 401 - Authorization failed. Response schema: Error
  • 404 - Provisioning profile not found. Response schema: Error

Examples

Example request:

curl -X GET --header 'Accept: application/json' --header 'auth-token: token' 'https://mt-provisioning-api-v1.agiliumtrade.agiliumtrade.ai/users/current/provisioning-profiles/f9ce1f12-e720-4b9a-9477-c2d4cb25f076'

Example response:

[
  {
    "_id": "f9ce1f12-e720-4b9a-9477-c2d4cb25f076",
    "name": "test",
    "version": 5,
    "status": "new",
    "brokerTimezone": "EET",
    "brokerDSTSwitchTimezone": "EET",
    "type": "mtTerminal"
  }
]