Skip to main content

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:

NameDescription
RequestIdUnique request GUID
SearchAccount filter, works by entering symbols in Account Login, Name, Country, City, Email
MinEquityMinimum Equity
TopThe number of accounts to display the search result, it is set in text format
BookValue from [ABook, BBook, NoBook] for which Book to get Exposure
DelimeterCsv file separator
FileNameFile name
NodesList of nodes that participate in the request. If the list is empty, then all available nodes are called.
RequestNameRequest type
SortDirectionSpecifies the sort direction for the fields specified in "SortFields" (enum ListSortDirection: Descending)
SortFieldsSpecifies 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"
}