Generate Report
Path Parameters
integer
required
The unique identifier of the container to generate the report for
Query Parameters
string
required
Type of report to generateOptions:
inventory- Complete inventory listing with all itemsloans- Active and historical loan recordsassets- Asset tracking and valuation report
string
required
Export format for the reportOptions:
pdf- PDF document (application/pdf)excel- Excel spreadsheet (application/vnd.ms-excel)
string
Filter records from this date (ISO 8601 format: YYYY-MM-DD)Example:
2024-01-01string
Filter records until this date (ISO 8601 format: YYYY-MM-DD)Example:
2024-12-31integer
Filter by specific asset type category
integer
Filter by specific location within the container
boolean
Include item images in the report (PDF only)Default:
falseboolean
Only 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
integer
required
The unique identifier of the container
Query Parameters
string
required
Type of report:
inventory, loans, or assetsResponse
string
HTML or text preview of the report content
Get Report History
Path Parameters
integer
required
The unique identifier of the container
Response
array
required
List of historical report records
Download Report
Path Parameters
integer
required
The unique identifier of the report to download
Response
Returns the report file as a binary download with appropriate headers.Delete Report
Path Parameters
integer
required
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
Returned when invalid parameters are provided.
Returned when the container or report is not found.
Returned when report generation fails.
