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"]
}
Update Requestβ
PUT /api/equipment-sharing/:id
Authorization: Bearer {token}
Delete Requestβ
DELETE /api/equipment-sharing/:id
Authorization: Bearer {token}
Sharing Statusesβ
| Status | Description |
|---|---|
REQUESTED | Request submitted |
APPROVED | Request approved |
REJECTED | Request rejected |
ACTIVE | Equipment currently shared |
RETURNED | Equipment returned |
Permissionsβ
| Action | Required Permission |
|---|---|
| View | ORG_EQUIPMENT_SHARING_VIEW |
| Edit | ORG_EQUIPMENT_SHARING_EDIT |
Related Pagesβ
- Equipment Endpoints β equipment management
- Approval Policy Endpoints β approval workflows
- Equipment Management β feature guide