Fusion CX - How to query parent object with search criteria of child/grandchild attributes
Hi,
In this post, I will discuss how to query records of parent object based on the search conditions of child object attributes.
For example,
I have this data structure -
Subscription (Parent)
--Subscription Product (Child)
----Covered Level (Grand Child)
If I have a use case to retrieve all subscriptions whose covered level is Product of 123, here is the end point I can use (note the highlighted q string) -
https://URL/crmRestApi/resources/11.13.18.05/subscriptions?totalResults=true&limit=10&onlyData=true&q=products.coveredLevels.ProductName='123'&fields=products:ProductName,SubscriptionNumber
Hope you find this post helpful, and stay healthy.
Thanks,
Adam Liu
Reference Document -
https://docs.oracle.com/en/middleware/developer-tools/adf/12.2.1.4/develop/creating-adf-restful-web-services-application-modules.html#GUID-6EB54E46-4553-4477-BBCA-48755B2328CB
Interior Design Agency in Dubai
ReplyDeleteArchitectural Consultants in Dubai
Architecture Firms in Dubai
Top Architecture Firms in Dubai
Interior Design Services in Dubai
Architecture Design Services in Dubai
Otasiscurya Amanda Black https://wakelet.com/wake/AgmeY6ls1Vm9CB9-ao0tP
ReplyDeleteliotirnami
calenAad_do Tracie Jackson https://www.rgsafety-iberica.com/profile/vehiclevehicletadashee/profile
ReplyDeletewheelscastinghar
Vcemerji_da Karen Carter Vysor
ReplyDeleteSoftware
Sketchup
dinoverwa