Asset Inventory API
Verified operations
| Method and route | Purpose | Result behavior | Event |
|---|---|---|---|
GET /asset/assets | List tenant-scoped assets with status/type/user/labor filters | Success list; fixed cap | None |
GET /asset/assets/{asset} | Get detail with history and documents | Success or not found | None |
POST /asset/assets | Create available inventory | Created, validation, or conflict | None |
POST /asset/assets/{asset}/mark-damaged | Record damaged state | Success, validation, or not found | LostOrDamaged |
POST /asset/assets/{asset}/mark-lost | Record lost state | Success, validation, or not found | LostOrDamaged |
POST /asset/assets/{asset}/retire | Retire an eligible asset | Success, validation, or not found | Retired |
DELETE /asset/assets/{asset} | Delete only an eligible state | Success, not found, or conflict | None |
GET /asset/assets/{asset}/history | Read ordered assignment/lifecycle history | Success or not found | None |
All operations lack endpoint authorization metadata. List has filters but no pagination or caller-selected sorting. Native update, search, and make-available routes are Not implemented; those behaviors exist only through compatibility status/save adaptation.
Classification
The API is Transitional. Capabilities explicitly described as absent are Not implemented. Host diagnostics and evidence routes are Foundation. Production exposure, ownership, and governance Require confirmation.
Source References
microservices/src/asset-service/Api/AssetEndpoints.csmicroservices/src/asset-service/Application/Commands/AssetCommands.csmicroservices/src/asset-service/Application/Queries/AssetQueries.cs