Sign in

Create reservation

documented

Create one soft reservation event.

POST /api/environment/{environmentId}/onhand/reserveInventory Visibilityno implementation yet0 runs
No 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/reserve" \
  -X POST \
  -H "Api-Version: 1.0" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"id": "{{$reservation_id}}", "organizationId": "{{$organizationId}}", "productId": "{{$productId}}", "dimensionDataSource": "{{$dimensionDataSource}}", "dimensions": {"siteId": "{{$siteId}}", "locationId": "{{$locationId}}", "colorId": "{{$colorId}}"}, "quantityDataSource": "{{$quantityDataSource}}", "quantities": {"{{$dataSourceName}}": {"{{$quantityKey}}": {{$quantity}}}}, "modifier": "{{$modifier}}", "quantity": {{$quantity}}, "ifCheckAvailForReserv": {{$ifCheckAvailForReserv}} }'"
Create reservation · Microsoft Dynamics 365 · OpenIntegrations