Read provisioning profile by id
About
Returns provisioning profile belonging to the current user by id
GET /users/current/provisioning-profiles/:id
For more information see swagger documentation
Headers
Name | Type | Required | Description |
---|---|---|---|
auth-token | string | Yes | Authorization token. See Authentication and authorization |
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. |
|
brokerTimezone | string | Yes | Broker timezone from Time Zone Database |
brokerDSTSwitchTimezone | string | Yes | Timezone according to which daylight saving time switch happens on broker server |
Response
- 200 - Provisioning profile returned. Response schema: ProvisioningProfile
- 401 - Authorization failed. 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?version=5&status=new'
Example response:
{
"_id": "f9ce1f12-e720-4b9a-9477-c2d4cb25f076",
"name": "test",
"version": 5,
"status": "new",
"brokerTimezone": "EET",
"brokerDSTSwitchTimezone": "EET"
}