How to add a filter/parameter to an Extended EndPoint

  • 30 March 2021
  • 1 reply

Userlevel 2


I have extended Default/18.200.001 endpoint to include SubContracts like this http://localhost/test/entity/Subcontracts/18.200.001/Subcontracts/


I can retrieve all Subcontracts, but I would like to filter to get 1 SubContract back as it will hit the max size limit eventually.


Is there a way to do this like its possible to do with Vendors http://localhost/[sitename]/entity/Default/17.200.001/Vendor/AAVENDOR?$expand=MainContact ?


Additional notes:

This is what I have currently and it works except it returns all subcontracts



I would like to have it working like vendors to filter to a subcontract like so

http://localhost/test/entity/Subcontracts/18.200.001/Subcontracts/SC00001 to retrieve only subcontract SC00001


http://localhost/test/entity/Subcontracts/18.200.001/Subcontracts/SC00001?$expand=DocDetails to retrieve only subcontract SC00001 and expand DocDetails.


Thanks in Advance




Best answer by mwong11 31 March 2021, 20:01

View original

1 reply

Userlevel 2

I have figured it out.

In case others run into this, just insert a Detail object like so. 



About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved