Post index query (product search)
documentedPost index query with product search.
POST /api/environment/{environmentId}/onhand/indexqueryInventory Visibilityno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl 'https://inventoryservice.operations365.dynamics.com/api/environment/{{$environmentId}}/onhand/indexquery' \
-X POST \
-H 'Api-Version: 2.0' \
-H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{\n "dimensionDataSource": "{{$dimensionDataSource}}",\n "filters": {\n "organizationId": ["{{$organizationId1}}","{{$organizationId2}}"],\n "productId": ["{{$productId}}"],\n "siteId": ["{{$siteId}}"],\n "locationId": ["{{$locationId}}"],\n "customDimension": ["{{$customDimensionValue}}"]\n },\n "groupByValues": ["{{$groupByValue}}"],\n "returnNegative": {{$returnNegative}},\n "pageSize": {{$pageSize}},\n "pageNumber": {{$pageNumber}}\n }'