API Fetch Purchase agreements based on Supplier, supplierSite and ItemNumber (BPA)
API Fetch Purchase agreements based on Supplier, supplierSite and ItemNumber (BPA)
Hi Oracle community,
I have API to fetch data based on Supplier, supplierSite but unable to add additional filter on Lines level data ItemNumber .
Working API-
https://iatgqy-dev1.fa.ocs.oraclecloud.com/fscmRestApi/resources/11.13.18.05/purchaseAgreements?expand=lines&q=Supplier='ABC';SupplierSite='ABC Site'
Non Working API - (expand and filter on child item)
https://iatgqy-dev1.fa.ocs.oraclecloud.com/fscmRestApi/resources/11.13.18.05/purchaseAgreements/?expand=lines&q=Supplier='ABC';SupplierSite='ABC Site'&q=lines.Item=ItemNumber_xyz
Problem with Working API is, it will produce multiple Agreements with same combination of supplier and Supplier site and "ItemNumber_xyz" combination would be present in one of them. The Result should fetch me only one agreement where the item is present.