Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Filter inputs

NameTypeDescriptionMandatoryAvailable from version
BrickIdsGuid[]

2.23
Keystring

2.23
ActionTypeKeystring

2.23
 StatusKeystring

2.23
 Commentstring

2.23

Response rows (Array) inherits from EntityBase

NameTypeDescriptionAvailable from version
BrickIdGuidThe BrickId (unique id) of the account type2.23
CreatedDateFromDateTimeThe earliest date of the range of dates you want to filter the FeeGroups by2.23
CreatedDateToDateTimeThe last date of the range of dates you want to filter the FeeGroups by2.23
KeystringThe key of the FeeGroup2.23
ActionTypeKeystringThe key of the type of action that is associated with the FeeGroup2.23
StatusKeystringThe StatusKey of the FeeGroup2.23
CommentstringThe comment of the FeeGroup if any is added2.23

Code examples

...

Code Block
languagec#
themeRDark
titleC# - Get all account types FeeGroups from a BFS instance
linenumberstrue
collapsetrue

...

//Use the GetFeeGroups method
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 orders = client.GetFeeGroups(new BFSServiceReference.GetFeeGroupRequest()
{
Credentials = credentials,

identify = bfsidentifier, //Identifier is a unique token for your instance of BFS

Args = new GetFeeGroupArgs()
{
MICs = new string[]
{
"MIC2",
}, 

},

Fields = new BFSServiceReference.GetFeeGroupFields()
{
BrickId = true,
Key = true
},

});

foreach (var c in orders.Result)
{
Console.WriteLine(c.BrickId + ";" + c.Key );

}