Fetching the predefined checklists
Developing
GET
/project/checklist/component
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/project/checklist/component'
Response Response Example
{
"status": 200,
"message": "Predefined Checklists retrieved successfully",
"data": [
{
"id": "checklist_abc123",
"name": "Safety Inspection",
"description": "Checklist for safety compliance",
"completedAt": null,
"completedById": null,
"documentUrl": "https://example.com/docs/safety-inspection.pdf",
"comment": "Check all safety equipment",
"projectId": "project_xyz789",
"startDate": "2025-05-01T08:00:00.000Z",
"endDate": "2025-06-01T17:00:00.000Z",
"checkListContent": "Ensure fire extinguishers are operational; Check emergency exits",
"annotationId": "annotation_123abc",
"type": "Safety",
"status": "NotTouched",
"createdAt": "2025-04-25T12:00:00.000Z",
"updatedAt": "2025-04-28T14:00:00.000Z"
},
{
"id": "checklist_def456",
"name": "Quality Check",
"description": "Quality control checklist",
"completedAt": "2025-05-15T16:30:00.000Z",
"completedById": "user_456def",
"documentUrl": null,
"comment": "Checked by supervisor",
"projectId": "project_xyz789",
"startDate": "2025-05-10T08:00:00.000Z",
"endDate": "2025-05-20T17:00:00.000Z",
"checkListContent": "Verify measurements; Confirm material quality",
"annotationId": "annotation_456def",
"type": "Quality",
"status": "Completed",
"createdAt": "2025-04-27T09:00:00.000Z",
"updatedAt": "2025-05-15T16:30:00.000Z"
}
]
}
Request
Responses
Modified at 2025-06-06 16:19:38