A filter criteria parameter needs to be made available as a parameter for a web service that returns monthly summary of account data.
GetLedgerSummary(Fiscal Year, Fiscal Month, Filter) returns LedgerSummaryResponse
LedgerSummaryResponse contains Company Code, Account Code, Fiscal Year, Fiscal Month and amount.
How should the “Filter” criteria should be designed so that I can limit the query response to a selected set of “Company Codes” and “Account Codes”, and it is easy for the end users to consume the web service for reporting?
The approach that I am considering is to have “Company Codes” and “Account Codes” properties for Filter object that accepts any delimited string of filter values.
Any links to definition filter criteria of similar web services would be highly helpful.