Skip to main content

Add Inventory Snapshot And Complete

POST 

/api/inventories/addsnapshotandcomplete

Tier: Internal — subject to change without notice.

Convenience "scan and finish" action: uploads a scan batch (as InventoryController.AddInventorySnapshot(...)) and then immediately resolves the stocktake by trusting the scans (as InventoryController.ResolveInventoryWithoutInput(...)), in one call.

Request

Responses

When ReturnResultDto is true: InventoryDtos.InventoryOperationResultDto with the resolved InventoryDtos.InventoryDetailDto — note Notifications is not populated on this endpoint (dropped during the combined add-then-resolve processing). When ReturnResultDto is false (default): a bare InventoryDtos.InventoryDetailDto (legacy shape). On the async path, a fake placeholder detail (InventoryState:"Processing") plus, when applicable, BackgroundTaskId.