Skip to main content

Get Inventory Score

GET 

/api/places/get-inventory-score/:id/:weeks

Tier: Public — stable, supported for third-party integration.

Returns a weekly inventory-accuracy score report for each direct child of a place.

Per week and per child place: Score is (Total-Missing)/Total*100 (0 when there are no items); item counts are averaged across multiple stocktakes falling in the same week; durations are summed and divided by tree depth. This endpoint never returns an error status for data failures — the underlying repository swallows exceptions and yields an empty or partial result instead. An unknown {id} simply yields an empty list.

Request

Responses

One row per direct child place. See CustomReports.PlaceInventoryScroreReportDto.