Skip to main content

DTO 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

The module uses 17 scheduling-specific DTOs plus two shared response contracts. Validation below describes where the API or domain validates incoming values; DTO classes themselves use mutable properties without declarative validation attributes.

DTODirectionPurposeVerified validationSource
ShiftSaveRequestRequestCanonical shift create/updateTime parsing; aggregate name, window, grace, and hour rulesShiftPolicyDtos.cs
ShiftDtoResponseCanonical shift projectionOutput projection onlyShiftPolicyDtos.cs
WeeklyOffUpdateRequestRequestContainer for supplied day changesRequires at least one dayShiftPolicyDtos.cs
WeeklyOffDayRequestRequestWeekday and active stateDay parsing and duplicate rejectionShiftPolicyDtos.cs
WeeklyOffRuleDtoResponseStored weekday ruleOutput projection onlyShiftPolicyDtos.cs
AttendancePolicySaveRequestRequestPolicy create/updateCommand and aggregate invariantsShiftPolicyDtos.cs
AttendancePolicyRuleRequestRequestPolicy rule inputAggregate rule validation and duplicate-key rejectionShiftPolicyDtos.cs
AttendancePolicyDtoResponsePolicy projectionOutput projection onlyShiftPolicyDtos.cs
AttendancePolicyRuleDtoResponseOrdered policy-rule projectionOutput projection onlyShiftPolicyDtos.cs
EmployeeShiftAssignmentCreateRequestRequestEffective-dated assignmentActive shift, date order, overlapShiftPolicyDtos.cs
EmployeeShiftAssignmentDtoResponseAssignment with optional shift nameOutput projection onlyShiftPolicyDtos.cs
EffectiveAttendancePolicyDtoResponseResolved calculation values and provenanceResolver behavior; optional probe calculationShiftPolicyDtos.cs
AttendanceAuditLogDtoResponseConfiguration audit projectionQuery filtering and bounded countShiftPolicyDtos.cs
AttendanceTimelineDtoResponseConfiguration timeline projectionQuery filtering and bounded countShiftPolicyDtos.cs
MonolithShiftRequestRequestLegacy-shaped shift writeCompatibility parser and aggregate validationShiftPolicyCompatContracts.cs
MonolithShiftDtoResponseLegacy-shaped shift readOutput mapping onlyShiftPolicyCompatContracts.cs
MonolithWeeklyOffDtoResponseLegacy active weekly-off rowOutput mapping onlyShiftPolicyCompatContracts.cs
ApiResponse<T>Shared responseNative success/error envelopeFactory methods shape success and failureApiResponse.cs
ServiceInfoResponseShared responseService metadata payloadFramework-generated valuesServiceInfoResponse.cs

Non-DTO bodies

Compatibility weekly-off update binds a bare string list rather than a named request DTO. Compatibility delete returns plain text. The health response is provided by the framework rather than a module DTO.

Serialization

Canonical shift times are emitted at minute precision. Compatibility DTOs preserve legacy camel-cased JSON through the service serializer configuration. No schema version field was found.

Source References

  • microservices/src/attendance-service/Application/TimeOffice/ShiftPolicyDtos.cs
  • microservices/src/attendance-service/Application/Compatibility/ShiftPolicyCompatContracts.cs
  • microservices/src/contracts/Common/ApiResponse.cs
  • microservices/src/contracts/Common/ServiceInfoResponse.cs

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