RequestAccountBonusesHistory
Query the history of bonuses transactions on an account
Request format
{
"Login": 10001,
"From": "2016-10-06",
"To": "2017-01-14",
"PageSize": 100,
"PageNum": 1,
"RequestId": "c5bc135c-a4eb-45a9-9f98-822c1ba0830b",
"Nodes": [
"node1"
],
"RequestName": "RequestAccountBonusesHistory"
}
Request parameters:
| Name | Description |
|---|---|
| RequestId | Unique request GUID |
| Nodes | One node is indicated on which the account is registered |
| Login | Login by which the history is needed |
| From | History start date and time |
| To | Date and time of the end of history |
| RequestName | Request type |
| PageSize | Number of records per page |
| PageNum | Page number (first page - 1) |
ResponseAccountBonusesHistory response
{
"Result": [
{
"ResponseNode": "ResponseNodeAccountBonusesHistory",
"Node": "node1",
"Platform": "Mt5",
"Result": {
"Summary": {
"TotalRecords": 151,
"Currency": "USD",
"TotalNetBonus": 10,
"TotalNetBonusInUsd": 10
},
"Page": [
{
"Deal": 33166,
"Timestamp": "2023-12-04 00:00:00:000",
"TimeMsc": "2023-12-04 14:55:24:424",
"Login": 10001,
"AccountGroup": "demo",
"Action": "BONUS",
"Profit": 10,
"ProfitInUsd": 10,
"ClientCommissionInUsd": 0,
"BrokerCommissionInUsd": 0,
"PaymentSystem": null,
"Comment": "Credit bonus",
"IsReal": true,
"UpdateTimeUtc": "2023-12-04 22:00:06:534",
"Reason": "Dealer",
"CloseTime": "2023-12-04 14:55:24:424",
"Currency": "USD",
"IsIncludedToSessionPnL": false,
"Node": "node1",
"Platform": "Mt5",
"Country": null,
"IsExpiredCredit": null,
"TradeTicket": null,
"TradeLogin": null
}
],
"PageSize": 15,
"PageNum": 1,
"TotalRecords": 151
}
}
],
"RequestId": "11bc135c-a4eb-45a9-9f98-822c1ba0830c",
"Errors": [],
"ResponseMaster": "ResponseAccountBonusesHistory"
}