Generic Inquiry - How to filter an GI when GI is exposed via Web Service EndPoint?

  • 2 June 2021
  • 3 replies

Userlevel 2


Is it possible to pass a Parameter to the GI when the GI is extended via a WebService EndPoint?



I have created a generic inquiry called SubcontractsByProject, it takes in 1 Parameter called ProjectID, 

I have set the ProjectID with a default value of a project and it filters to that Project, so the GI is working as it should.


I have extended a Webservice EndPoint to SubcontractsByProject using instructions from


The web service works


It is returning data with the default ProjectID in the GI


How can I pass a different value of ProjectID to the webservice?

I tried adding a parameter in the Body like so in PostMan but it does not work





Best answer by mwong11 2 June 2021, 23:37

View original

3 replies

Userlevel 7
Badge +18

Hi @mwong11,

The body looks correct, I’m assuming that you have provided an invalid URL. Below is the URL format, please validate.


URL: http://localhost/InstanceName/entity/EndPointName/Endpointversion/EntityName?$expand=TestEntityDetails

I’m assuming that you have included the GI name but NOT the EntityName in the URL.


Please find the attached screenshot for reference






Userlevel 2

Thanks Naveen,

I used $expand=Result because I created the Results endpoint as per

Setup Info:

Here is my GI, showing the ProjectID. Again, the GI works with the ProjectID

Here is my EndPoint definition

As you can see, I have Result and PUDSubcontractsDetails defined. Both return same result

Unfortunately I am still not getting the ProjectID filter in the result as shown below, even though it is defined in the body


I try both $expand=Result and $expand=PUDSubcontractsDetails, the ProjectID parameter still does not show and return results is not filtered by the parameter.


Thanks Mark


Userlevel 2

I was able to solve this.

For anyone looking how. In the EndPoint screen, you have to click on the EndPoint, go to Fields tab, click on Populate

Select Filter as object, then select the Filter Parameter



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