Retrieves a list of equipment with optional filtering, sorting, and pagination.
Endpoint
GET /equipmentsAuthentication
Required: Authorization header with valid token
Query Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
sortBy | string | No | Field to sort by | updatedAt |
sortDirection | string | No | Sort direction | DESC |
updatedAfter | date-time | No | Filter equipment updated after this date | 2024-01-01T00:00:00Z |
search | string | No | Search term for equipment title/description | excavator |
active | boolean | No | Filter by active status | true |
invNumber | string | No | Filter by inventory number | INV-001 |
page | number | No | Page number (default: 1) | 1 |
limit | number | No | Items per page (default: 20) | 20 |
Response
Success
{
"content": [
"EquipmentEntity"
],
"total": "number"
}Response Field Descriptions:
content- Array of equipment objects (EquipmentEntity Schema)total- Total number of equipment matching the query criteria
Example Usage
curl -X GET "https://integration-api.ram.syniotec.com/master-data/v1/equipment-management/equipments?active=true&page=1&limit=10" \
-H "Authorization: Bearer YOUR_TOKEN"