Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Re: how to expose odata service for input parameter based procedure.

$
0
0

Hi Anand,

 

You will have to create a Scripted Calculation View from the Modeller perspective.

 

In your case since you want to wrap a procedure. Below is an example I just tried.

 

Add Columns & Input Parameters

 

CV.JPG

 

Consume this Calc View in your Odata service :

 

service namespace "services.test"

{

"pda.Models::CV_TEST" as "Customer"

keys generate local "ID"

parameters via entity;

}

 

Check your service by Passing the Input Parameters

 

http://<host>:<port>/<>/services/test.xsodata/CustomerParameters(2)/Results?$format=json

 

Hope this was Helpful

 

Regards

Avinash Raju


Viewing all articles
Browse latest Browse all 9159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>