question

Upvotes
Accepted
7 1 0 2

How to filter with certain fields

Hi,


I'm following the example370__MarketPrice__Batch java example.

And I want to know if there's a way to make the service only put in the response certain fields.


Thanks
elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apijava
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvote
Accepted
9.5k 10 5 7

Hello @everon

You can use View feature which is demonstrated in example360__MarketPrice__View. Using a view, a consumer requests a subset of fields with a single request. Then, the server/service sends only the fields of interest as shown in the figure:

You can set Batch and View in a same request. For more details and example source code, please refer to Elektron Messaging API (Java) - Batch and View features


batchview-02.png (26.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
7 1 0 2

Thanks! That's what I'm looking for.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea