Skip to main content

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:

NameDescription
RequestIdUnique request GUID
NodesOne node is indicated on which the account is registered
LoginLogin by which the history is needed
FromHistory start date and time
ToDate and time of the end of history
RequestNameRequest type
PageSizeNumber of records per page
PageNumPage 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"
}