consumer side filtering of fields via Views.
Do you mean, how to make a view request?
Consumer can make a view request by setting the ViewFlag of the ReqMsg‘s IndicationMask and encoding ViewType and ViewData element entries in an element list contained in the payload of the ReqMsg. The ViewFlag indicates that a View request exists within the request message, and that a View definition is in the payload.
For coding example, RFA has StarterConsumer_BatchView example (C++/.NET) and batchviewcons example (Java) which demonstrates how to send a request with view (and batch). You can find these example in RFA product package under example folder.