GetBusinessEvents

Filter inputs

Name

Type

Description

Mandatory

Available from version

Name

Type

Description

Mandatory

Available from version

BrickIds

Guid[]

 Filter by array of BrickIds.

 false

  2.12

Descriptions

string[]

 Filter by array of Descriptions

 false

  2.12

ExecutionInterfaceSettingKeys

string[]

 Filter by array of ExecutionInterfaceSettingKeys

 false

  2.12

 Accounts

Guid[]

 Filter by array of Accounts

 false

  2.12

 BusinessEventNos

string[]

 Filter by array of BusinessEventNos

 false

  2.12

Comments[]

string[]

Filter by array of Comments

false

 2.12

Response rows (Array) inherits from EntityBase

Name

Type

Description

Available from version

Name

Type

Description

Available from version

BrickId

Guid

The BrickId (unique id) of the BusinessEvent

 2.12

Description

string

Description of the BusinessEvent

  2.12

ExecutionInterfaceSettingKey

string

ExecutionInterfaceSettingKey of the BusinessEvent

 2.12

Cash

Guid

Cash of the BusinessEvent

 2.12

Instrument

Guid

Instrument of the BusinessEvent

 2.12

Account

Guid

Account of the BusinessEvent

 2.12

Comment

string

Comment of the BusinessEvent

 2.12

Code examples

C# - Get all business events with specified descriptions from a BFS instance
 public static void GetBusinessEvents() { var binding = new BasicHttpsBinding(); binding.MaxReceivedMessageSize = Int32.MaxValue; var target = new bfsapi.bfsapiSoapClient(binding, new EndpointAddress("https://bfs1.bricknode.com/customerweb/api/bfsapi.asmx")); var req = new GetBusinessEventRequest(); req.Credentials = new bfsapi.Credentials { UserName = "username", Password = "password" }; req.identify = "identifystring"; req.Args = new GetBusinessEventArgs { Description = new[] { "ManualOrder Sell" , "ManualOrder Buy" } }; req.Fields=new GetBusinessEventFields { BrickId = true, Description = true, Account = true, Cash = true, Instrument=true }; var resp = target.GetBusinessEvents(req); }





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