Workday · Capability

Workday Time Tracking API — Time Clock

Workday Time Tracking API — Time Clock. 2 operations. Lead operation: Get Time Clock Events. Self-contained Naftiko capability covering one Workday business surface.

Run with Naftiko WorkdayTime Clock

What You Can Do

GET
Gettimeclockevents — Get Time Clock Events
/v1/workers/{id}/timeclockevents
POST
Createtimeclockevent — Create Time Clock Event
/v1/workers/{id}/timeclockevents

MCP Tools

get-time-clock-events

Get Time Clock Events

read-only idempotent
create-time-clock-event

Create Time Clock Event

Capability Spec

timeTracking-time-clock.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Workday Time Tracking API — Time Clock
  description: 'Workday Time Tracking API — Time Clock. 2 operations. Lead operation: Get Time Clock Events. Self-contained
    Naftiko capability covering one Workday business surface.'
  tags:
  - Workday
  - Time Clock
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WORKDAY_API_KEY: WORKDAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: timeTracking-time-clock
    baseUri: https://wd2-impl-services1.workday.com/ccx/api/timeTracking/v1/{tenant}
    description: Workday Time Tracking API — Time Clock business capability. Self-contained, no shared references.
    resources:
    - name: workers-ID-timeClockEvents
      path: /workers/{ID}/timeClockEvents
      operations:
      - name: gettimeclockevents
        method: GET
        description: Get Time Clock Events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fromDate
          in: query
          type: string
          description: Filter events from this date.
        - name: toDate
          in: query
          type: string
          description: Filter events to this date.
      - name: createtimeclockevent
        method: POST
        description: Create Time Clock Event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.WORKDAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: timeTracking-time-clock-rest
    port: 8080
    description: REST adapter for Workday Time Tracking API — Time Clock. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/workers/{id}/timeclockevents
      name: workers-id-timeclockevents
      description: REST surface for workers-ID-timeClockEvents.
      operations:
      - method: GET
        name: gettimeclockevents
        description: Get Time Clock Events
        call: timeTracking-time-clock.gettimeclockevents
        with:
          fromDate: rest.fromDate
          toDate: rest.toDate
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createtimeclockevent
        description: Create Time Clock Event
        call: timeTracking-time-clock.createtimeclockevent
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: timeTracking-time-clock-mcp
    port: 9090
    transport: http
    description: MCP adapter for Workday Time Tracking API — Time Clock. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-time-clock-events
      description: Get Time Clock Events
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: timeTracking-time-clock.gettimeclockevents
      with:
        fromDate: tools.fromDate
        toDate: tools.toDate
      outputParameters:
      - type: object
        mapping: $.
    - name: create-time-clock-event
      description: Create Time Clock Event
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: timeTracking-time-clock.createtimeclockevent
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.