Get server time
GET /api/v2/MT4/{tradePlatform}/ServerTime
Server time of the connected MT4 trade server.
Smoke-test endpoint exercising the v2 envelope. Returns current MT4 server time wrapped in ApiResponse<DateTime>.
Timeout: 10 s by default, adjustable per request with the X-Request-Timeout header. When the trade server does not answer in time: Nothing was changed; the request is safe to repeat.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| tradePlatform | path | string (uuid) | yes | Trade platform id (GUID) |
| X-Request-Timeout | header | number (double) | no | How long to wait for the trade server, in seconds (1–300). Default for this operation: 10 s (read). The query parameter requestTimeout does the same for clients that cannot set headers. The applied value is returned in the X-Request-Timeout-Applied response header. |
Responses
- 200 Success — DateTimeApiResponse
Example
curl "https://cloud.mywebapi.com/api/v2/MT4/$TRADE_PLATFORM_ID/ServerTime" \
-H "Authorization: Bearer $TOKEN"