Create on-hand schedule change
documentedCreate a scheduled on-hand change.
POST /api/environment/{environmentId}/onhand/changescheduleInventory 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.{{$RegionShortName}}-il301.gateway.prod.island.powerapps.com/api/environment/{{$environmentId}}/onhand/changeschedule" \
-X POST \
-H "Api-Version: 1.0" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"id": "{{$id}}","organizationId": "{{$organizationId}}","productId": "{{$productId}}","dimensionDataSource": "{{$dimensionDataSource}}","dimensions": {"SiteId": "{{$SiteId}}","LocationId": "{{$LocationId}}","ColorId": "{{$ColorId}}","SizeId": "{{$SizeId}}"},"quantitiesByDate": {"{{$date}}": {"pos": {"inbound": {{$inbound}}}}}'}"