Skip to content

API Reference parrot_tools.interfaces.workday.models.clock_event

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.interfaces.workday.models.clock_event

View source

Clock-event Pydantic models for Workday Time Tracking write operations.

These are pure data models with no SOAP coupling. They are used by the write handlers (PutTimeClockEventsType, ImportTimeClockEventsType, ImportReportedTimeBlocksType) and by the Workday component for input validation before any SOAP call (G7).

Class ClockEvent

One Time Clock Event for Put_Time_Clock_Events / Import_Time_Clock_Events.

Field names mirror the Workday Time Tracking operation; all references are resolved to ID-typed SOAP structures inside the handler.

Fields:

Field Type Default Description
employee_id str
event_datetime datetime
clock_event_type ClockEventType
time_clock_event_id str | None None
position_id str | None None
time_zone str | None None
time_entry_code str | None None
auto_submit bool False
comment str | None None
delete bool False
location str | None None
cost_center str | None None
override_rate float | None None
latitude float | None None
longitude float | None None

Class ClockEventResult

Per-row submission outcome echoed back into the flow (G6).

Fields:

Field Type Default Description
submitted bool
event_id str | None None
error str | None None

Attribute ClockEventType

Valid values for Clock_Event_Type_Reference per Workday WWS v46.1 docs.

This is a BUSINESS RULE, NOT a WSDL xsd:enumeration. The Literal enforces it at Pydantic-validation time so invalid values are rejected before any SOAP call (G7).

Class ReportedTimeBlock

One reported time block for Import_Reported_Time_Blocks.

Fields:

Field Type Default Description
employee_id str
position_id str | None None
start_datetime datetime
end_datetime str | None None
time_entry_code str | None None
reported_quantity float | None None
comment str | None None
override_rate float | None None

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally