Visual Builder

Get Involved. Join the Conversation.

Topic

    Vishnu Mishra
    Using REST to Get Service Request by PrimaryContactPartyIdAnswered
    Topic posted September 13, 2019 by Vishnu MishraRed Ribbon: 250+ Points, tagged REST, SaaS Integration, Services 
    25 Views, 2 Comments
    Title:
    Using REST to Get Service Request by PrimaryContactPartyId
    Summary:
    Fetching/filtering records of Service Request object using PrimaryContactPartyId
    Content:

    Hi,

    I am fetching data -- records from Service Request -- from our Sales Cloud instance in VBCS. I created a service from the endpoint but I can't figure out how to get only those records where PrimaryContactPartyId = <some value>. I am getting all the records from Service Request but can't seem to filter the data. It'd be better if I can only fetch those records where this condition is satisfied instead of getting all the records. I watched these videos:

    https://blogs.oracle.com/vbcs/filtering-and-sorting-lists-in-vbcs-applications

    https://blogs.oracle.com/shay/filtering-list-results-from-a-rest-service-with-visual-builder

    Sadly, they didn't solve my issue. Any idea how this can be achieved?

    Regards,
    Vishnu

    Version:
    19.1.3.11

    Best Comment

    Shay Shmeltzer

    Did you define your service picking it up from the FA service catalog in VB?

    If not did you define it using the ADF Describe end point using the "Define based on spec" (as shown here - https://www.youtube.com/watch?v=KJonIvjy3rc ).

    Doing that way should make the filterCriterion work on the service.

    Comment