Quality Control
Delete Defect
Delete a defect.
DELETE
Delete Defect
Path Parameters
Response
Successful Response
Previous
Get All CostingsGet all costings with filtering, sorting, and pagination.
**Pagination:** Database-level pagination for optimal performance.
**Standard Operations:**
- **Pagination:** `?page=1&limit=10`
- **Filtering:** `?status=Draft`
- **Sorting:** `?sort=-created_at` (newest first) or `?sort=+status`
- **Search:** `?search=CS-2024`
**Examples:**
```
GET /costings # All costings, page 1
GET /costings?status=Draft # Only drafts
GET /costings?sort=-created_at # Newest first
GET /costings?sort=+status # Sort by status A-Z
GET /costings?page=2&limit=20 # Page 2, 20 per page
GET /costings?search=CS-2024 # Search for "CS-2024"
```
**Response Format:**
```json
{
"data": [...],
"pagination": {
"page": 1,
"limit": 10,
"total": 45,
"totalPages": 5,
"hasNext": true,
"hasPrev": false
}
}
```
Next
Delete Defect