Endpoint Catalog
Audience
Developers, QA engineers, support engineers, security engineers, solution architects, and implementation partners.
Reference Content
This page records source-verified Workforce Scheduling API behavior and boundaries.
Summary
This is the sole authoritative inventory. It contains 25 verified endpoints: 14 native, 9 compatibility, and 2 shared operational endpoints. “No explicit requirement” means authentication or authorization middleware exists, but the endpoint itself and global configuration do not require a principal.
Native endpoints
| Method | Route | Purpose | Authentication | Authorization | Tenant enforcement | Validation | Verified response | Classification | Source |
|---|---|---|---|---|---|---|---|---|---|
| GET | /attendance/shifts | List shifts; optionally include inactive | No explicit requirement | None | Required by query/context | Optional Boolean query | 200 standard envelope with shift list; 400 for missing tenant context | Native | AttendanceShiftPolicyEndpoints.cs |
| POST | /attendance/shifts | Create a shift | No explicit requirement | None | Required before command | Time parsing, uniqueness, domain invariants | 200 standard envelope; 400 validation; 409 duplicate | Native | AttendanceShiftPolicyEndpoints.cs |
| PUT | /attendance/shifts/{id} | Update a shift | No explicit requirement | None | Required before command | Integer route, time parsing, uniqueness, domain invariants | 200 standard envelope; 400, 404, or 409 | Native | AttendanceShiftPolicyEndpoints.cs |
| DELETE | /attendance/shifts/{id} | Soft-deactivate a shift | No explicit requirement | None | Required before command | Integer route; active-assignment guard | 200 standard envelope; 400, 404, or 409 | Native | AttendanceShiftPolicyEndpoints.cs |
| GET | /attendance/weekly-offs | List tenant weekly-off rules | No explicit requirement | None | Required by query/context | No request model | 200 standard envelope; 400 missing tenant | Native | AttendanceShiftPolicyEndpoints.cs |
| PUT | /attendance/weekly-offs | Upsert supplied weekly-off days | No explicit requirement | None | Required before command | Non-empty unique, parseable weekdays | 200 standard envelope; 400 validation | Native | AttendanceShiftPolicyEndpoints.cs |
| GET | /attendance/policies | List attendance policies | No explicit requirement | None | Required by query/context | Optional Boolean query | 200 standard envelope; 400 missing tenant | Native | AttendanceShiftPolicyEndpoints.cs |
| POST | /attendance/policies | Create attendance policy | No explicit requirement | None | Required before command | Uniqueness and policy/rule invariants | 200 standard envelope; 400 or 409 | Native | AttendanceShiftPolicyEndpoints.cs |
| PUT | /attendance/policies/{id} | Update attendance policy | No explicit requirement | None | Required before command | Integer route, uniqueness, policy/rule invariants | 200 standard envelope; 400, 404, or 409 | Native | AttendanceShiftPolicyEndpoints.cs |
| POST | /attendance/employees/{laborId}/shift-assignments | Create effective-dated assignment | No explicit requirement | None | Required before command | Positive employee, active shift, date order, no overlap | 200 standard envelope; 400, 404, or 409 | Native/Foundation | AttendanceShiftPolicyEndpoints.cs |
| GET | /attendance/employees/{laborId}/shift-assignments | List employee assignments | No explicit requirement | None | Required by query/context | Integer route only | 200 standard envelope; 400 missing tenant | Native/Foundation | AttendanceShiftPolicyEndpoints.cs |
| GET | /attendance/employees/{laborId}/effective-policy | Resolve effective calculation policy | No explicit requirement | None | Required by resolver/context | Integer route; optional date and probe hours | 200 standard envelope; 400 tenant/domain input failures | Native/Diagnostic | AttendanceShiftPolicyEndpoints.cs |
| GET | /attendance/audit-logs | Query configuration audit records | No explicit requirement | None | Required by query/context | Optional filters and result bound | 200 standard envelope; 400 missing tenant | Native/Diagnostic | AttendanceShiftPolicyEndpoints.cs |
| GET | /attendance/timeline | Query configuration timeline | No explicit requirement | None | Required by query/context | Optional filters and result bound | 200 standard envelope; 400 missing tenant | Native/Diagnostic | AttendanceShiftPolicyEndpoints.cs |
Compatibility endpoints
| Method | Route | Purpose | Authentication | Authorization | Tenant enforcement | Validation | Verified response | Classification | Source |
|---|---|---|---|---|---|---|---|---|---|
| GET | /api/shifts | List active legacy-shaped shifts | No explicit requirement | None | Required by service | No request model | 200 bare list; 400 tenant failure | Compatibility/Transitional | ShiftPolicyCompatEndpoints.cs |
| POST | /api/shifts | Create legacy-shaped shift | No explicit requirement | Admin-role check only when authenticated | Required by service | Required name, parseable times, unique active name, domain bounds | 200 bare DTO; 400; 403 for authenticated non-admin | Compatibility/Transitional | ShiftPolicyCompatEndpoints.cs |
| PUT | /api/shifts/{id} | Update legacy-shaped shift | No explicit requirement | Admin-role check only when authenticated | Required by service | Integer route, required name, parseable times, unique active name | 200 bare DTO; 400, 403, or 404 | Compatibility/Transitional | ShiftPolicyCompatEndpoints.cs |
| DELETE | /api/shifts/{id} | Legacy delete behavior through deactivation | No explicit requirement | Admin-role check only when authenticated | Required by service | Integer route; referenced assignments are deactivated | 200 plain text; 400, 403, or 404 | Compatibility/Transitional | ShiftPolicyCompatEndpoints.cs |
| GET | /api/weekly-offs | List active legacy-shaped weekly offs | No explicit requirement | None | Required by service | No request model | 200 bare list; 400 tenant failure | Compatibility/Transitional | ShiftPolicyCompatEndpoints.cs |
| PUT | /api/weekly-offs | Replace complete weekly-off set | No explicit requirement | Admin-role check only when authenticated | Required by service | Bare day-name list; blanks skipped; invalid day rejected | 200 bare list; 400 or 403 | Compatibility/Transitional | ShiftPolicyCompatEndpoints.cs |
| GET | /api/attendance/policies | List policies for existing clients | No explicit requirement | None | Required by query/context | Optional Boolean query | 200 bare list; 400 tenant failure | Compatibility/Transitional | ShiftPolicyCompatEndpoints.cs |
| POST | /api/attendance/policies | Create policy with bare response | No explicit requirement | Admin-role check only when authenticated | Required before command | Policy and rule validation | 200 bare DTO; 400, 403, or conflict represented as 400 | Compatibility/Transitional | ShiftPolicyCompatEndpoints.cs |
| PUT | /api/attendance/policies/{id} | Update policy with bare response | No explicit requirement | Admin-role check only when authenticated | Required before command | Integer route, policy and rule validation | 200 bare DTO; 400, 403, or 404 | Compatibility/Transitional | ShiftPolicyCompatEndpoints.cs |
Shared operational endpoints
| Method | Route | Purpose | Authentication | Authorization | Tenant enforcement | Validation | Verified response | Classification | Source |
|---|---|---|---|---|---|---|---|---|---|
| GET | / | Return service identity and runtime summary | No explicit requirement | None | None | None | 200 standard envelope | Shared/Foundation | EndpointRouteBuilderExtensions.cs |
| GET | /health | Framework health probe | No explicit requirement | None | None | None | Framework health response | Shared/Foundation | Program.cs |
Inventory exclusions
The general Attendance API, anonymous demonstration surface, attendance-domain discovery, Leave holiday APIs, and generated documentation UI/assets are deliberately excluded from this Workforce Scheduling catalog.
Source References
microservices/src/attendance-service/Api/AttendanceShiftPolicyEndpoints.csmicroservices/src/attendance-service/Api/ShiftPolicyCompatEndpoints.csmicroservices/src/attendance-service/Program.csmicroservices/src/shared-kernel/Extensions/EndpointRouteBuilderExtensions.cs
Related Articles
See Also
Keywords
- Workforce Scheduling API
- Shift endpoints
- Attendance policy API
Revision Information
- Status: Draft
- Last reviewed: 2026-07-20
- Next review: 2026-10-20