Filter inputs
Name | Type | Description | Mandatory | Available from version |
---|---|---|---|---|
BrickIds | Guid[] | 2.23 | ||
Key | string | 2.23 | ||
ActionTypeKey | string | 2.23 | ||
StatusKey | string | 2.23 | ||
Comment | string | 2.23 |
Response rows (Array) inherits from EntityBase
Name | Type | Description | Available from version |
---|---|---|---|
BrickId | Guid | The BrickId (unique id) of the account type | 2.23 |
CreatedDateFrom | DateTime | The earliest date of the range of dates you want to filter the FeeGroups by | 2.23 |
CreatedDateTo | DateTime | The last date of the range of dates you want to filter the FeeGroups by | 2.23 |
Key | string | The key of the FeeGroup | 2.23 |
ActionTypeKey | string | The key of the type of action that is associated with the FeeGroup | 2.23 |
StatusKey | string | The StatusKey of the FeeGroup | 2.23 |
Comment | string | The comment of the FeeGroup if any is added | 2.23 |
Code examples
...
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
//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 );
}
|