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

Direct Child Object filter - Rest API

Question
13
Views
0
Comments
edited Nov 1, 2020 9:17AM in Integration

Content

Hi,

We have created one custom object under Contract object. We want to fetch all the child records based on Child object value using Rest API. Currently we have to loop all Contract records (Parent) and filter the child records. Is there a way to filter child object directly?

Ex: I have to fetch all the child records created by Mohan user

https://domain/fscmRestApi/resources/latest/contracts?limit=100&expand=AssetDetailsCollection_c&q=AssetCollection_c:CreatedBy='Mohan';

Thanks,

Mohan

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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