GetCash

Filter inputs

Name

Type

Description

Mandatory

Available from version

Name

Type

Description

Mandatory

Available from version

BrickIds

Guid[]

Specific ids to look for





Keys 

string[]

Specific keys (SEK) to look for





Currency

Guid

Id of currency from GetCurrencies





DecimalPlaces 

int

Number of decimal points





InstrumentStatuses 

int[]

Statuses from Instrument





PriceDecimals

int?

The number of decimal places used to display the price quote of the cash currency



2.17



Response rows (Array) inherits from EntityBase

Name

Type

Description

Available from version

Name

Type

Description

Available from version

BrickId

GUID

The BrickId of the asset



Key

string 

For example SEK



Name

string 

Name



Currency

Guid 

Currency brick



DefaultCustodyAccount

Guid 

CustodyAccount brick



DecimalPlaces

int

Number of decimal points



InstrumentStatus

int

Statuses from Instrument



PriceDecimals

int

The number of decimal places used to display the price quote of the cash currency

2.17



Code examples

C# - Get cash from a BFS instance
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 var client = new BFSServiceReference.bfsapiSoapClient(); var credentials = new BFSServiceReference.Credentials() { UserName = bfsusername, //Username of administrative user in your instance of BFS Password = bfspassword, //Password of the administrative user in your instance of BFS };     var request = new GetCashRequest { Credentials = credentials, identify = bfsidentifier, //Identifier is a unique token for your instance of BFS    //Select the fields you want the response to contain Fields = new GetCashFields { BrickId = true, Currency = true, Name = true, DecimalPlaces = true, DefaultCustodyAccount = true, InstrumentStatus = true, Key = true }, //Empty filter gets all cash from the system Args = new GetCashArgs() }; var response = client.GetCash(request); //result from the BFS instance