Daily Plan Endpoints
Manage daily work plans โ assign tasks to specific days, track daily progress, and coordinate team schedules.
Base Pathโ
/api/daily-plan
Endpointsโ
Get My Daily Plansโ
Retrieves daily plans for the currently authenticated employee.
GET /api/daily-plan/me
Authorization: Bearer {token}
Get Team Daily Plansโ
Retrieves daily plans for all members of the current user's teams.
GET /api/daily-plan/team
Authorization: Bearer {token}
Get Employee's Daily Plansโ
Retrieves daily plans for a specific employee.
GET /api/daily-plan/employee/:id
Authorization: Bearer {token}
Get Daily Plans for a Taskโ
Retrieves all daily plans that contain a specific task.
GET /api/daily-plan/task/:id
Authorization: Bearer {token}
List All Daily Plansโ
GET /api/daily-plan
Authorization: Bearer {token}
Query Parameters:
| Parameter | Type | Description |
|---|---|---|
where | object | Filter conditions |
relations | array | Relations to include |
page | number | Page number |
limit | number | Items per page |
Create Daily Planโ
POST /api/daily-plan
Authorization: Bearer {token}
Content-Type: application/json
{
"date": "2024-03-15",
"status": "OPEN",
"employeeId": "uuid",
"organizationId": "uuid",
"taskIds": ["task-uuid-1", "task-uuid-2"]
}
Response 201 Created.
Update Daily Planโ
PUT /api/daily-plan/:id
Authorization: Bearer {token}
Content-Type: application/json
{
"status": "IN_PROGRESS"
}
Delete Daily Planโ
DELETE /api/daily-plan/:id
Authorization: Bearer {token}