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

Searching parent entity based on values in child entity REST API

edited Aug 14, 2019 6:40AM in Visual Builder 11 comments

Summary

Searching parent entity based on values in child entity REST API

Content

Hi,

We are using saas application standard REST API to get invoices.

Now, we want to search invoices based on child entities e.g this REST API returns Header fields, attachments, invoiceDff fields etc. Now we want this REST api to return invoices based on invoiceDff fields condition like q=invoiceDff.queueName='processed' on VBCS screen.

{
    "items": [
        {
            "InvoiceId": 45,
            "InvoiceNumber": "297110",
            "InvoiceCurrency": "CNY",
            "PaymentCurrency": "CNY",
            "InvoiceAmount": 8296.2,

            "invoiceDff": [
                {
                    "InvoiceId": 45,
                    "__FLEX_Context": "Scanning Data",
                    "__FLEX_Context_DisplayValue": "Scanning Data",
                    "ponumber": null,
                    "ponumber_Display": null,
                    "queueName": "Processed"

}]

]}

Please let us know how to implement this requirement.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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