We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Object function in Oracle VBCS

Received Response
12
Views
3
Comments
edited Dec 11, 2020 9:53AM in Visual Builder 3 comments

Content

Hi Team,

I'm creating an Object function under the Business Rules with the below code. The return type I selected as List only. 

def vo = newView('Employee')
vo.appendViewCriteria("firstName = '"+empName+"'")
return vo.executeQuery()

I don't see this object function in the REST Endpoint tab. Can you help how to convert this function as a REST API.

I have already enabled Callable by External System. See the attached screenshot

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!