Skip to main content

Inventory Device Whip

Retrieve inventory device whip information by ID.

Base URL: https://control.zequenze.com/api/v1

Authentication: All endpoints require a Bearer token:

Authorization: Bearer <your-api-token>

Endpoints

GET /inventory_device_whip/{id}/

Retrieve detailed information about a specific inventory device whip by its unique identifier.

Parameters:

Parameter Type In Required Description
id integer path Yes Unique identifier of the device whip

Example Request:

GET /api/v1/inventory_device_whip/123/
Authorization: Bearer <your-api-token>

Example Response:

{
  "id": 123,
  "device_id": "DW-2024-001",
  "name": "Professional Training Whip",
  "model": "ProWhip-X1",
  "manufacturer": "Zequenze Industries",
  "serial_number": "ZQ-WH-789456123",
  "status": "active",
  "condition": "excellent",
  "material": "premium_leather",
  "length_cm": 180,
  "weight_grams": 450,
  "acquisition_date": "2024-01-15T10:30:00Z",
  "last_inspection": "2024-02-20T14:15:00Z",
  "location": "Storage Room A - Shelf 3",
  "assigned_to": null,
  "maintenance_schedule": "quarterly",
  "notes": "High-quality training device, suitable for advanced users",
  "created_at": "2024-01-15T09:00:00Z",
  "updated_at": "2024-02-20T14:20:00Z"
}
Status Description
200 Successfully retrieved device whip information
401 Unauthorized - Invalid or missing Bearer token
404 Device whip with specified ID not found
500 Internal server error

Best Practices

  • Always validate the device whip ID exists before making requests
  • Cache device information when possible to reduce API calls
  • Handle 404 responses gracefully when the device may have been removed
  • Use proper error handling for network timeouts and authentication failures
  • Regularly refresh Bearer tokens before they expire
  • Monitor device status changes for inventory management workflows