RestHelp BAQ missing parameters

We created BAQ with four parameters.
When testing it from Kinetic, we can enter these parameters.
When trying to test it using resthelp, parameters are not shown - only odata standard fields are available. We tried on 2024.2 as well as on 2023.2 (at Customers). However, when imported to Epicor Demo VM, parameters are shown.
What we do wrong?

Thanks for any help!

API v2 does not show the BAQ parameters in resthelp in those versions. Newer versions do.

You can switch to API v1 to test in resthelp. v2 will still work with parameters - you have to pass them outside of resthelp.

Switching to v1 doesn’t help. Still can’t see BAQ params.

I try to run this BAQ from PostMan and I get follwing error:

“HttpStatus”: 404,
“ReasonPhrase”: “REST API Exception”,
“ErrorMessage”: “Dynamic query is not found KSEF_APINV”,
“ErrorType”: “Ice.Api.Exceptions.ApiException”,

Any hint how to solve it?

Could be a number of things. I’d check if you are sending the request with the correct company context

Is it shared?
Are you sure that is the right name, company?

Company is correct.

Are you 100% sure you are connecting to the same instance? Sometimes it’s easy to get messed up and you’re connected to Live when you’re making changes to your BAQ in test or vice versa.

1 Like

also in v1 specific company can only be set using CallSettings header

1 Like

Company was correct but it was imported but not shared…

Thanks a lot for hint!

1 Like

I use v2 but worth to remember. Thank’s!

This time it was correct :slight_smile: