RequestExportCsvAccountsByQuery
Request for export to csv a list of accounts
Request format
{
"Search": "446",
"MinEquity": 0,
"Top": "100",
"Book": "BBook",
"Delimeter": ";",
"FileName": "AccountsByQuery.csv",
"RequestId": "d53e2900-96d2-40d9-b7a0-3b95add5280f",
"Nodes": [
"node1",
"node2"
],
"SortFields":["EquityInUsd"],
"SortDirection": "Ascending",
"RequestName": "RequestExportCsvAccountsByQuery"
}
Request parameters:
| Name | Description |
|---|---|
| RequestId | Unique request GUID |
| Search | Account filter, works by entering symbols in Account Login, Name, Country, City, Email |
| MinEquity | Minimum Equity |
| Top | The number of accounts to display the search result, it is set in text format |
| Book | Value from [ABook, BBook, NoBook] for which Book to get Exposure |
| Delimeter | Csv file separator |
| FileName | File name |
| Nodes | List of nodes that participate in the request. If the list is empty, then all available nodes are called. |
| RequestName | Request type |
| SortDirection | Specifies the sort direction for the fields specified in "SortFields" (enum ListSortDirection: Descending) |
| SortFields | Specifies the fields to sort in the direction specified in "SortDirection" (enum SortableFields UnrealizedProfitInUsd) |
Response ResponseExportCsvAccountsByQuery contains DtoAccountInfo
{
"Result": {
"Data": "UEsDBBQAAAAIAE+Sx1QIVMRh1gAAAAoBAAATAAAAQWNjb3VudHNCeVF1ZXJ5LmNzdi2N0WqDMBSG7wXfIS8wiWjajnMzuoxu0JTSOXrTm8ycuqAx21mU6dMvld798P183943toeDNwg78sM3HLRDeHHadnDsdLh6crD1voU9jki6ifBnsGGC54EI+3qCE+rOzmjYkfzVhjQpNxuRr0BVpcERpCWsg9LUYoimxuiezX81fGY0zV+tH5+0W+BvVnsHKpSwXYI55xyKfJ0X2eMKPt4lPOR8XWRcpIm4NyQ6z1QlwMRxkW+n1108ns9KcAkKg65IGyQm2O0J0S7udhHltwJfzDxN/gFQSwECFAAUAAAACABPksdUCFTEYdYAAAAKAQAAEwAAAAAAAAAAAAAAAAAAAAAAQWNjb3VudHNCeVF1ZXJ5LmNzdlBLBQYAAAAAAQABAEEAAAAHAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
},
"RequestId": "bb0c322b-5b74-4df9-bd83-6530e3aa1c8e",
"Errors": [],
"ResponseMaster": "ResponseExportCsvAccountsByQuery"
}