Query on-hand
documentedQuery on-hand quantities.
GET /api/environment/{environmentId}/onhandInventory 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?groupBy={{$groupBy}}&returnNegative={{$returnNegative}}&organizationId={{$organizationId}}&productId={{$productId}}&siteId={{$siteId}}&locationId={{$locationId}}&colorId={{$colorId}}" \
-X GET \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Api-Version: 1.0"