Equipment Sharing Endpoints
Manage equipment sharing requests and policies between employees.
Base Path
/api/equipment-sharing
Endpoints
List Sharing Requests
GET /api/equipment-sharing
Authorization: Bearer {token}
Get by Employee
GET /api/equipment-sharing/employee/:id
Authorization: Bearer {token}
Get by Organization
GET /api/equipment-sharing/organization
Authorization: Bearer {token}
Create Sharing Request
POST /api/equipment-sharing
Authorization: Bearer {token}
Request Body:
{
"name": "MacBook Pro Sharing",
"equipmentId": "equipment-uuid",
"shareRequestDay": "2025-01-15",
"shareStartDay": "2025-01-20",
"shareEndDay": "2025-02-20",
"status": "REQUESTED",
"employees": ["employee-uuid-1"]
}