Name | Type | Description | Mandatory | Available from version |
---|---|---|---|---|
BrickIds | Guid[] | Ids of the Reservations | ||
Accounts | Guid[] | Accounts of the Reservations | ||
Assets | Guid[] | Assets of the Reservations | ||
CreatedDateFrom | DateTime | Start of the creationdate of the Reservations | ||
CreatedDateTo | DateTime | End of the creationdate of the Reservations | ||
References | Guid[] | References of the Reservations | ||
Orders | Guid[] | OrderIds of the Reservations | ||
Comments | string[] | Comments of the Reservations |
Name | Type | Description | Available from version |
---|---|---|---|
BrickId | Guid | The brickId (unique id) of the Reservation | |
Account | Guid | The account of the Reservation | |
Asset | Guid | The asset of the Reservation | |
CreatedDate | DateTime | The createddate of the Reservation | |
Reference | Guid | The refermce of the Reservation | |
Order | Guid | The orderid of the Reservation | |
ReservedAmountTrade | decimal | The reserved amount in trade of the Reservation | |
ReservedAmountTrade | decimal | The reserved amount in settle of the Reservation |
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); } |