Platform: Availability of Generic Inquiry Parameters in OData
In previous versions of MYOB Acumatica, generic inquiries with required parameters could not be exposed through OData. In MYOB Acumatica 2024.1.1, an implementation consultant or a developer can work with generic inquiries with parameters through OData Version 3.0, as described in the following sections.
Retrieval of the List of Generic Inquiries and Their Parameters
GET https://localhost/2023R2/odata/U100/$metadata
If the instance includes generic inquiries with parameters that are exposed through OData,
the response includes the FunctionImport
items, as shown in the following
screenshot. A FunctionImport
item specifies the name of the exposed generic
inquiry that is used in an OData request and the list of
parameters.
Definition of the Parameter Values Through OData
To specify the values for the parameters of a generic inquiry and obtain the result of the generic inquiry, the implementation consultant or developer specifies the values of the parameters of the generic inquiry in the parameters of the HTTP request.
GET https://localhost/2023R2/odata/U100/
DBStorageDetailsByItemWarehouseLocation_WithParameters
?Warehouse=WHOLESALE
Definition of the Parameter Values in Excel
