Filter inputs

NameTypeDescriptionMandatoryAvailable from version
BrickIdsGuid[]Ids of the Reservations

AccountsGuid[]Accounts of the Reservations

AssetsGuid[]Assets of the Reservations

CreatedDateFromDateTimeStart of the creationdate of the Reservations 

CreatedDateTo DateTimeEnd of the creationdate of the Reservations

ReferencesGuid[]References of the Reservations

OrdersGuid[]OrderIds of the Reservations

Commentsstring[]Comments of the Reservations

Response rows (Array) inherits from EntityBase

NameTypeDescriptionAvailable from version
BrickIdGuidThe brickId (unique id) of the Reservation
AccountGuidThe account of the Reservation
AssetGuidThe asset of the Reservation
CreatedDateDateTimeThe createddate of the Reservation
ReferenceGuidThe refermce of the Reservation
OrderGuidThe orderid of the Reservation
ReservedAmountTradedecimalThe reserved amount in trade of the Reservation
ReservedAmountTradedecimalThe reserved amount in settle of the Reservation

Code examples

C# - GetReservations
 public static void GetReservations()
            var binding = new BasicHttpBinding();
            binding.SendTimeout=new TimeSpan(0,0,5,0);
            binding.MaxReceivedMessageSize = Int32.MaxValue;
            var target = new bfsapi.bfsapiSoapClient(binding, new EndpointAddress("http://localhost:20010/bfsapi.asmx"));
            var req = new GetReservationRequest();
            req.Credentials = new bfsapi.Credentials
                UserName = "username",
                Password = "password"

            req.identify = "identify";
            req.Fields = new bfsapi.GetReservationFields()
                BrickId = true,
                ReservedAmountTrade = true,
                ReservedAmountSettlement = true,
                Order = true,
                Reference = true,
                Account = true,
                Asset = true,
                Comment = true

            req.Args = new bfsapi.GetReservationArgs()
                Accounts = new[] {Guid.NewGuid()}


            var resp = target.GetReservations(req);

Terms of License
Change Policy
© 2009 - 2024 Huddlestock Technologies AB All rights reserved