Inventory Device Serial Operation
Endpoints Summary
PUT
/inventory_device_serial_operation/{serial_number}/
Swagger ↗
The
Inventory Device Serial Operation endpoints enable remoteinventory devicemanagementserialbyoperationallowingendpoint allows you to performcriticalremote management operations on specific devicesidentifiedinbyyour inventory using their serial numbers. This APIprovidesenablesa streamlined way to execute commoncritical devicemaintenancemanagement taskssuchlikeas reboots,rebooting, factory resets, configurationsynchronization,syncing, and device reconfigurationwithoutthroughphysicalaaccesssimpletoRESTthe devices.interface.
Base URL: https://control.zequenze.com/api/v1
Authentication: All endpoints require a Bearer token:
Authorization: Bearer <your-api-token>
Overview
The Inventoryinventory Devicedevice Serialserial Operationoperation API categoryprovides providesa powerful interface for remote device management capabilities for remotely controlling devices inwithin your organization's inventory system. This APIendpoint isallows essential for IT administrators, device managers,administrators and automated systems thatto execute critical operations on devices without requiring physical access or manual intervention.
The primary purpose of this API is to enable centralized device lifecycle management, allowing you to:
Key Features:
Common Scenarios:
This API categoryendpoint is particularly valuable forin organizationsscenarios managingwhere largedevices fleetsare deployed in remote locations, managed at scale, or when quick remediation is needed to maintain operational continuity. The serial number-based approach ensures precise targeting of devicesspecific acrossdevices, multiplepreventing locations, where physical access for maintenanceaccidental operations wouldon beunintended impractical or costly.equipment.
Endpoints
PUT /inventory_device_serial_operation/{serial_number}/
Description: Executes a specifiedmanagement operation on a specific device identified by its serial number. This endpoint supportsallows variousyou to remotely control device managementbehavior, operationsperform includingmaintenance reboots, factory resets, configuration synchronization,operations, and reconfiguration.manage Thedevice operationconfigurations iswithout executedrequiring immediatelyphysical uponaccess successfulto requestthe processing.hardware.
Use Cases:
- Remotely
restartrebooting a device that has become unresponsive orisneedsexperiencingaconnectivityrestartissuesafter configuration changes PerformPerforming factoryresetresetsonwhen repurposing devicesbeingforreassigneddifferent deployments
Full URL Example:
https://control.zequenze.com/api/v1/inventory_device_serial_operation/ABC123456789/
Parameters:
| Parameter | Type | In | Required | Description |
|---|---|---|---|---|
| serial_number | string | path | Yes | The unique serial number of the device to |
| string | body | Yes |
Request Body Schema:
rebootfactorydevice_factorysyncreconfOperation Types:
rebootfactorydevice_factorysyncreconfcURL Example:
curl -X PUT "https://control.zequenze.com/api/v1/inventory_device_serial_operation/ABC123456789/" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"operation": "reboot"
}'
Example Request Body:
{
"operation": "reboot"
}
Example Response:
{
"id": 12345,
"operation": "reboot"
}
Response Fields:
Response Codes:
| Status | Description |
|---|---|
| 200 | Success - Operation has been initiated successfully |
| 400 | Bad Request - Invalid operation type or malformed request |
| 401 | Unauthorized - Invalid or missing authentication token |
| 404 | Not Found - Device with specified serial number not found |
| 422 | Unprocessable Entity - |
Operation Types Reference
reboot
Device Reboot
Performs a graceful restart of the device, maintaining current configuration
factory
device_factory
Device Factory Reset
Device-specific factory reset that may preserve certain manufacturer settings
sync
Configuration Sync
Synchronizes device configuration with centralized management system
reconf
Device Reconfigure
Applies new configuration settings to the device
Common Use Cases
Use Case 1: Remote Device Troubleshooting
When devices become unresponsive or experienceexhibit connectivity issues, use the reboot operation to restart themthe device remotely. This is particularlyoften usefulthe forfirst devices deployedstep in remotetroubleshooting locationsbefore whereescalating physicalto accessmore isintensive difficult or costly.
Endpoints: PUT /inventory_device_serial_operation/{serial_number}/ with operations.operation: "reboot"
Use Case 2: Device ReassignmentRepurposing and RedeploymentDeployment
Before reassigningdeploying devices to new userslocations or locations,users, perform a factory reset to ensure all previous user data and configurations are removed. This maintains security and provides a clean slateconfiguration state, followed by sync operations to apply appropriate settings for the new deployments.
Endpoints: PUT /inventory_device_serial_operation/{serial_number}/ with environment.operation: "factory"
Use Case 3: Fleet Configuration Management Workflows
AfterUse updatingthe sync and reconf operations to maintain configuration consistency across device policies,fleets, security settings, or network configurations in your management system, trigger configuration synchronization to ensureensuring all devices receive the latest settings without manual intervention.
Endpoints: PUT comply with /inventory_device_serial_operation/{serial_number}/security policies and operational requirements.operation:organizational "sync"
Use Case 4: Automated Maintenance SchedulesWorkflows
Integrate devicethese operations into automated maintenance workflowsschedules, that can performperforming regular rebootsconfiguration during off-hours, sync configurations after policy updates,syncs or prepareimplementing devicesautomated forrecovery redeploymentprocedures aswhen partdevice ofmonitoring lifecyclesystems managementdetect processes.
Endpoints: PUT /inventory_device_serial_operation/{serial_number}/ with various operations based on maintenance requirementsissues.
Use Case 5: Emergency Response and Recovery
In emergencycase situations where devices need immediate reconfiguration (such asof security incidents or networkwidespread changes),configuration issues, use thefactory reconfigurationreset operationoperations to quickly updatereturn devicedevices settingsto withoutknown-good waitingstates, forfollowed standardby synchronizationreconfiguration cycles.
Endpoints:restore PUTproper operational /inventory_device_serial_operation/{serial_number}/with settings.operation: "reconf"
Best Practices
Operation Selection:Timing
rebootthat factorydevice_factorysyncreconfSerial Number Validation: Always verify serial numbers before executing operations. Invalid serial numbers will result in 404 errors, but valid serial numbers for immediatedevices configurationin changesincorrect thatstates cannotmay waitcause unexpected behavior.
Operation Sequencing: When performing multiple operations on the same device, allow sufficient time between operations for scheduledthe synchronizationdevice to complete each task. Factory resets typically require the most time.
Error Handling:
Error errorsHandling: gracefullyDesign whenrobust serialerror numbershandling for network timeouts, device unavailability, and operation failures. Some operations may notfail existif devices are offline or in themaintenance systemmode.
Security Considerations:Considerations
Batch Operations: For fleet management scenarios, implement proper rate limiting toand preventerror accidentalrecovery masswhen performing operations thatacross could disrupt services
Performance and Reliability:
Integration Tips: