Visual Builder

Get Involved. Join the Conversation.


    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 
    30 Views, 2 Comments
    Using REST to Get Service Request by PrimaryContactPartyId
    Fetching/filtering records of Service Request object using PrimaryContactPartyId


    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:

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



    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 - ).

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