ODATA Reads with Parameters

Data READs with Parameters

In this post, We’ll focus on how to read a OData service with a parameter.

Service method with a parameter

Get Method With a Parameter.

Now, we’ll see how to retrieve data with a parameter,

Url in the browser

Get Method Url With a Parameter.

In browser, we can see only filtered students. in url, append the parameter with values.

Power Query Window

Power Query editor.

From the Power Query window, we can see dataset like this.

I could create a github repo for this code sample, Please feel free to check it, https://github.com/hansamaligamage/ODATAExample