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

Need Some Help on Adaptive Search API

Received Response
33
Views
1
Comments

Question :

Need Some Help on Adaptive Search API

------------------------------ Body------------------------------------

**This post was created as part of a How to Service Request (SR)

Release:

22A

Summary of the question:

Would like to know if there is a way to use the adaptive search API to query an account based on information of a specific SR?

something like

POST https://fa-erry-test-saasfaprod1.fa.ocs.oraclecloud.com/crmRestApi/searchResources/latest/custom-actions/queries

{

"entity":"Account",

"onlyData":true,

"fields":[

"PartyUniqueName",

"PrimaryAddress",

"CreationDate",

"PartyNumber"

],

"nestedEntities": {

"ListOfServiceRequests": {

"sort":[{ "attribute":"ListOfServiceRequests.ServiceRequest.SrId"}]

}

},

"q":{

"op":"$eq",

"attribute":"ListOfServiceRequests.ServiceRequest.SrId",

"value":"0000046001"

}

}


Supporting Documents if any:

https://docs.oracle.com/en/cloud/saas/sales/22b/faaps/AS_Ex_Post_Operations_for_Search.html

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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