Attaching Documents to Equipment
Document management enables you to attach important files directly to equipment profiles, creating a centralized repository where your team can access maintenance logs, technical documentation, compliance certificates, and other critical information.
This guide covers common scenarios for managing equipment documents through the Hiboo API.
Overview
Documents in Hiboo provide a secure way to store and share files associated with specific equipment. By adding documents to your equipment's profile, Hiboo becomes your fleet's source of truth, enabling each team member to find the right document in a dedicated place.
Common Document Examples:
Safety inspection reports: Periodic safety inspections and compliance documentation
Maintenance logs: Service history and repair records
Technical documentation: Manuals, specifications, and operating instructions
Compliance certificates: Safety inspections, regulatory approvals
Inspection reports: Regular condition assessments
Key Features:
File size limit: Maximum 10MB per document
Supported formats: PDF, JPG, PNG, GIF, TIFF, CSV, XLS, XLSX, DOC, DOCX
Sharing control: Documents can be shared automatically with customers when equipment is shared through Hiboo Connect
Public access: Documents can be made publicly accessible via QR codes in Hiboo Field
Learn More: See Documents Help Center for additional setup and usage information.
Document Discovery
Viewing Equipment Documents
When you need to see what documents are available for specific equipment:
Retrieve a list of documents for the specified equipment.
Token returned by POST /login: a JWT, valid for 10 days. Send it in the x-access-token header, as x-access-token: <token>. The Authorization: Bearer <token> header also works. When a request returns 401, call POST /login again.
The unique identifier of the equipment.
The number of items to skip before starting to collect the result set
0The number of items to return
10A paginated list of documents for the equipment
The total number of documents for the equipment
The number of items skipped
The number of items returned
Missing or invalid parameters. details lists each invalid field with a stable code.
Unable to authenticate the token
Resource not found
GET /v2/fleet/equipments/{id}/documents HTTP/1.1
Host: api.hiboo.io
x-access-token: YOUR_API_KEY
Accept: */*
{
"total": 1,
"offset": 1,
"limit": 1,
"rows": [
{
"id": 1,
"name": "text",
"shareable": true,
"isPublic": true,
"expirationDate": "2026-01-01",
"fileInfos": {
"size": 3.56,
"contentType": "application/pdf",
"uploadDate": "2026-01-01T00:00:00.000Z"
}
}
]
}Common scenarios:
Document audit: Review what documentation exists for equipment
Compliance verification: Ensure required documents are attached
Team access: Help users find relevant documentation
Document Upload
Adding Documents to Equipment
Problem: You need to attach important files like maintenance records, compliance certificates, or technical documentation to equipment profiles.
Solution: Upload documents directly to equipment using the document upload API.
Upload a document to be associated with the specified equipment.
Token returned by POST /login: a JWT, valid for 10 days. Send it in the x-access-token header, as x-access-token: <token>. The Authorization: Bearer <token> header also works. When a request returns 401, call POST /login again.
The unique identifier of the equipment.
The name of the document.
The document file to be uploaded. The document must be one of the following types PDF, JPEG, PNG, GIF, TIFF, Excel, or Word documents. File size should not exceed 10MB (10,485,760 bytes).
Indicates whether the document can be shared along with the related equipment. If true, the document will be shared automatically when the equipment is shared; if false, the document remains private.
falseIndicates whether the document can be publicly accessible.
falseDate when the document becomes invalid, formatted as 'YYYY-MM-DD' in UTC.
/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/Document successfully uploaded
The unique identifier of the document
The name of the document
Indicates whether the document can be shared along with the related equipment. If true, the document will be shared automatically when the equipment is shared; if false, the document remains private.
Indicates whether the document can be publicly accessible.
Date when the document becomes invalid, formatted as 'YYYY-MM-DD' in UTC.
/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/Missing or invalid parameters. details lists each invalid field with a stable code.
Unable to authenticate the token
Insufficient permissions to access the resource
Resource not found
Conflict with existing document metadata (e.g., duplicate name)
Payload Too Large. File should not exceeds 10MB
Unsupported Media Type
POST /v2/fleet/equipments/{id}/documents HTTP/1.1
Host: api.hiboo.io
x-access-token: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 96
{
"name": "text",
"file": "binary",
"shareable": false,
"isPublic": false,
"expirationDate": "2026-01-01"
}{
"id": 1,
"name": "text",
"shareable": true,
"isPublic": true,
"expirationDate": "2026-01-01",
"fileInfos": {
"size": 3.56,
"contentType": "application/pdf",
"uploadDate": "2026-01-01T00:00:00.000Z"
}
}Example: Uploading a maintenance report
Example: Uploading public technical documentation
Example: Uploading shareable safety certificate
Document Management
Updating Document Information
Problem: You need to modify document metadata like names, sharing permissions, or expiration dates without re-uploading the file.
Solution: Update document properties using the document patch API.
Update the metadata (e.g., name, isPublic) of a specific document associated with the specified equipment.
Token returned by POST /login: a JWT, valid for 10 days. Send it in the x-access-token header, as x-access-token: <token>. The Authorization: Bearer <token> header also works. When a request returns 401, call POST /login again.
The unique identifier of the equipment.
The unique identifier of the document.
The name of the document.
Date when the document becomes invalid, formatted as 'YYYY-MM-DD' in UTC.
/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/Document metadata successfully updated
The unique identifier of the document
The name of the document
Indicates whether the document can be shared along with the related equipment. If true, the document will be shared automatically when the equipment is shared; if false, the document remains private.
Indicates whether the document can be publicly accessible.
Date when the document becomes invalid, formatted as 'YYYY-MM-DD' in UTC.
/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/Missing or invalid parameters. details lists each invalid field with a stable code.
Unable to authenticate the token
Insufficient permissions to access the resource
Resource not found
Conflict with existing document metadata (e.g., duplicate name)
PATCH /v2/fleet/equipments/{id}/documents/{documentId} HTTP/1.1
Host: api.hiboo.io
x-access-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"name": "text",
"expirationDate": "2026-01-01"
}{
"id": 1,
"name": "text",
"shareable": true,
"isPublic": true,
"expirationDate": "2026-01-01",
"fileInfos": {
"size": 3.56,
"contentType": "application/pdf",
"uploadDate": "2026-01-01T00:00:00.000Z"
}
}Example: Updating document name and expiration
Example: Extending document validity
Removing Documents
Problem: Documents become outdated, irrelevant, or need to be replaced with newer versions.
Solution: Delete documents that are no longer needed.
Deletes a specific document associated with the specified equipment.
Token returned by POST /login: a JWT, valid for 10 days. Send it in the x-access-token header, as x-access-token: <token>. The Authorization: Bearer <token> header also works. When a request returns 401, call POST /login again.
The unique identifier of the equipment.
The unique identifier of the document.
Document successfully deleted
No content
Unable to authenticate the token
Insufficient permissions to access the resource
Resource not found
DELETE /v2/fleet/equipments/{id}/documents/{documentId} HTTP/1.1
Host: api.hiboo.io
x-access-token: YOUR_API_KEY
Accept: */*
No content
Use this when:
Documents have expired and are no longer valid
Replacing old versions with updated files
Removing incorrectly uploaded documents
Cleaning up document libraries for better organization
Document Access
Downloading Documents
Problem: You need to retrieve document files for offline use, sharing, or integration with other systems.
Solution: Download documents using the document download API.
Allows the user to download a specific document associated with the specified equipment.
Token returned by POST /login: a JWT, valid for 10 days. Send it in the x-access-token header, as x-access-token: <token>. The Authorization: Bearer <token> header also works. When a request returns 401, call POST /login again.
The unique identifier of the equipment.
The unique identifier of the document.
Document successfully downloaded
Unable to authenticate the token
Resource not found
GET /v2/fleet/equipments/{id}/documents/{documentId}/download HTTP/1.1
Host: api.hiboo.io
x-access-token: YOUR_API_KEY
Accept: */*
binaryCommon scenarios:
Offline access: Download for field use without internet
System integration: Import documents into other management systems
Backup procedures: Create local copies for disaster recovery
Audit trails: Retrieve historical documentation for compliance
Common Use Cases
Compliance Documentation
Scenario: Track regulatory compliance documents that expire and require regular renewal, while sharing relevant certificates with customers when needed.
Strategy:
Use descriptive naming with dates: "Safety Inspection Report 2024", "Safety Inspection Q3-2024"
Set expiration dates to match regulatory requirements
Make safety certificates and compliance documents shareable when required by customers for their own compliance
Use public access for field inspections via QR codes
Keep internal regulatory paperwork private (shareable: false)
Example workflow:
Upload compliance certificate with expiration date
Set as shareable only if customers need it for their own regulatory compliance
Monitor expiration dates for renewal planning
Replace expired documents with updated versions
Customer-relevant compliance documents:
"Safety Inspection Certificate 2024" → Shareable (customers may need for site access)
"Equipment Specification Sheet" → Shareable (helps customers plan usage)
"Environmental Compliance Certificate" → Shareable (required for some job sites)
"Operator Training Certification" → Shareable (proves operator qualification)
Document sharing guidelines:
Shareable: Safety certificates, equipment specs, operator qualifications, environmental compliance - documents customers need for their own compliance or operations
Private: Internal audit reports, regulatory correspondence, internal compliance tracking, maintenance costs, business-sensitive information
Maintenance Documentation
Scenario: Maintain comprehensive service records and technical documentation for each piece of equipment.
Strategy:
Organize by document type: "Maintenance Log", "Service Manual", "Parts Catalog"
Keep maintenance logs and repair records private (internal operational data)
Make technical manuals and safety guides publicly accessible for operators
Track service history through chronological uploads
Example document organization:
"Service Manual CAT 320EL" → Public, no expiration (operators need access)
"Maintenance Log 2024" → Private, expires end of year (internal tracking)
"Hydraulic System Repair 2024-07" → Private, permanent record (internal service history)
"Safety Operating Procedures" → Public, no expiration (operator safety)
Document sharing guidelines:
Public: Operator manuals, safety procedures, troubleshooting guides
Private: Maintenance logs, repair records, service history, cost information
Field Operations Support
Scenario: Provide operators and field teams with immediate access to equipment documentation.
Strategy:
Make operator manuals and safety guides publicly accessible
Use QR codes on equipment for instant document access
Include troubleshooting guides and emergency procedures
Ensure critical documents have no expiration dates
Benefits:
Operators can access manuals via smartphone scanning
Reduced need for physical documentation on equipment
Always up-to-date information in the field
Improved safety through accessible safety procedures
Document guidelines:
Public: Operator manuals, safety procedures, emergency contacts, basic troubleshooting
Private: Detailed repair procedures, maintenance schedules, cost information
Integration Strategies
Document Lifecycle Management
Problem: You need to automate document management as part of your maintenance and compliance workflows.
Key approaches:
Automated upload: Integrate with maintenance/compliance systems to upload reports and certificates automatically
Expiration monitoring: Build alerts for documents approaching expiration and flag equipment with expired compliance documents
Version control: Use naming conventions with version numbers and maintain audit trails of document changes
System Integration
Problem: Your existing document management or maintenance systems need to sync with Hiboo document storage.
Key strategies:
Document synchronization: Export from existing systems and upload to Hiboo, or use Hiboo as the master repository
Workflow integration: Trigger uploads when work orders complete and set appropriate sharing permissions automatically
Access control alignment: Set sharing permissions based on document type and customer needs while maintaining security policies
Best Practices
Document Organization
Naming Conventions:
Use clear, descriptive names that include dates when relevant
Include equipment identifiers for easy searching
Use consistent terminology across your organization
Avoid special characters that might cause issues
File Management:
Optimize file sizes before upload (compress images, reduce PDF sizes)
Use appropriate file formats for content type
Regularly review and clean up outdated documents
Maintain consistent quality standards for uploads
Access Control:
Set sharing permissions thoughtfully - only share documents that provide value to customers
Use public access for operational documents that operators need in the field
Consider security implications of document sharing with external parties
Regularly audit document access permissions
Compliance and Security
Document Retention:
Set appropriate expiration dates for regulatory requirements
Implement backup procedures for critical compliance documents
Plan for document archival and retention policies
Quality Control:
Validate document content before upload
Ensure documents are complete and readable
Maintain version control for updated documents
Regular quality audits of document libraries
Sharing Guidelines:
Shareable: Safety certificates, equipment specifications, compliance documents customers need
Private: Maintenance logs, repair costs, internal assessments, business-sensitive information
Public: Operator manuals, safety procedures, troubleshooting guides
Last updated
Was this helpful?