I’m kind of lost on how to use OData with parameters on url using postman. Hoping someone could help me to make this work?


Thank you
I’m kind of lost on how to use OData with parameters on url using postman. Hoping someone could help me to make this work?


Thank you
Best answer by bbohn
I would recommend double checking the parameter name and potentially copying the inquiry and changing the title to not use any special characters. I was having trouble getting it working with brackets in my inquiry title. For the parameter name, I see you have “PPeriod” that possibly should be “Period”?
Here is the exact example I got working on 24R2(verified that the parameter was indeed updating the inquiry results) with the customer data removed(AKTTrialBalanceDetailed is the inquiry title):
https://[customer].acumatica.com/odata/[tenant]/AKTTrialBalanceDetailed_WithParameters?Period=012025&$format=json
In order to be sure for the parameter name, i got the $metadata,
<FunctionImport Name="AR_TranPostGL_PeriodSensitive_WithParameters" ReturnType="Collection(PX.Data.AR_TranPostGL_PeriodSensitive)" IsSideEffecting="false" EntitySet="AR_TranPostGL_PeriodSensitive">
<Parameter Name="PPeriod" Type="Edm.String" Nullable="false" />
</FunctionImport>
I also tried replacing ‘ by %27 : _WithParameters?PPeriod=%27092025%27&$format=json
I had the same experience as
{{baseURL}}/OData/Test/SWAdvantageGetDealerCurrentBalance_WithParameters?Company=ADVANTAGE&Dealer=11650178&$format=json
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.