Generate Report
Path Parameters
The unique identifier of the container to generate the report for
Query Parameters
Type of report to generateOptions:
inventory- Complete inventory listing with all itemsloans- Active and historical loan recordsassets- Asset tracking and valuation report
Export format for the reportOptions:
pdf- PDF document (application/pdf)excel- Excel spreadsheet (application/vnd.ms-excel)
Filter records from this date (ISO 8601 format: YYYY-MM-DD)Example:
2024-01-01Filter records until this date (ISO 8601 format: YYYY-MM-DD)Example:
2024-12-31Filter by specific asset type category
Filter by specific location within the container
Include item images in the report (PDF only)Default:
falseOnly include items below minimum stock thresholdDefault:
falseResponse
Returns a binary file download with appropriate Content-Type and Content-Disposition headers. Headers:Content-Type:application/pdforapplication/vnd.ms-excelContent-Disposition:attachment; filename="informe_inventory_20240315T143022.pdf"
Get Report Preview
Path Parameters
The unique identifier of the container
Query Parameters
Type of report:
inventory, loans, or assetsResponse
HTML or text preview of the report content
Get Report History
Path Parameters
The unique identifier of the container
Response
List of historical report records
Download Report
Path Parameters
The unique identifier of the report to download
Response
Returns the report file as a binary download with appropriate headers.Delete Report
Path Parameters
The unique identifier of the report to delete
Response
Returns204 No Content on successful deletion.
Report Types
Inventory Report
Comprehensive listing of all inventory items including:- Item names, descriptions, and barcodes
- Current quantities and minimum stock levels
- Market values and total portfolio value
- Locations and container assignments
- Custom field values
- Item images (when
includeImages=true)
- Annual inventory audits
- Insurance documentation
- Asset valuation reports
- Stock level analysis
Loans Report
Detailed loan tracking information including:- Active and completed loans
- Borrower information
- Loan dates and due dates
- Overdue loan identification
- Return status
- Loan history trends
- Usage analysis
- Compliance reporting
- Equipment utilization tracking
- Overdue item follow-up
Assets Report
Asset management and tracking details:- Asset categories and types
- Acquisition dates and costs
- Depreciation calculations
- Maintenance schedules
- Asset lifecycle tracking
- Disposal records
- Financial reporting
- Asset lifecycle management
- Budget planning
- Depreciation tracking
File Naming Convention
Generated reports follow this naming pattern:informe_inventory_20240315T143022.pdfinforme_loans_20240314T093015.xlsxinforme_assets_20240313T161245.pdf
timestamp is in ISO 8601 format with colons removed.
Filtering Examples
Date Range Filter
Low Stock Report
Filtered by Location and Asset Type
Detailed PDF with Images
Error Responses
400 Bad Request
Returned when invalid parameters are provided.
404 Not Found
Returned when the container or report is not found.
500 Internal Server Error
Returned when report generation fails.
