naftiko: 1.0.0-alpha2 info: label: Workday Time Tracking API — Time Entries description: 'Workday Time Tracking API — Time Entries. 2 operations. Lead operation: Request Time Entry. Self-contained Naftiko capability covering one Workday business surface.' tags: - Workday - Time Entries 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-entries baseUri: https://wd2-impl-services1.workday.com/ccx/api/timeTracking/v1/{tenant} description: Workday Time Tracking API — Time Entries business capability. Self-contained, no shared references. resources: - name: workers-ID-requestTimeEntry path: /workers/{ID}/requestTimeEntry operations: - name: requesttimeentry method: POST description: Request Time Entry outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: workers-ID-timeEntries path: /workers/{ID}/timeEntries operations: - name: gettimeentries method: GET description: Get Time Entries outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fromDate in: query type: string description: Filter entries from this date. - name: toDate in: query type: string description: Filter entries to this date. authentication: type: bearer token: '{{env.WORKDAY_API_KEY}}' exposes: - type: rest namespace: timeTracking-time-entries-rest port: 8080 description: REST adapter for Workday Time Tracking API — Time Entries. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/workers/{id}/requesttimeentry name: workers-id-requesttimeentry description: REST surface for workers-ID-requestTimeEntry. operations: - method: POST name: requesttimeentry description: Request Time Entry call: timeTracking-time-entries.requesttimeentry with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/workers/{id}/timeentries name: workers-id-timeentries description: REST surface for workers-ID-timeEntries. operations: - method: GET name: gettimeentries description: Get Time Entries call: timeTracking-time-entries.gettimeentries with: fromDate: rest.fromDate toDate: rest.toDate outputParameters: - type: object mapping: $. - type: mcp namespace: timeTracking-time-entries-mcp port: 9090 transport: http description: MCP adapter for Workday Time Tracking API — Time Entries. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: request-time-entry description: Request Time Entry hints: readOnly: false destructive: false idempotent: false call: timeTracking-time-entries.requesttimeentry with: body: tools.body outputParameters: - type: object mapping: $. - name: get-time-entries description: Get Time Entries hints: readOnly: true destructive: false idempotent: true call: timeTracking-time-entries.gettimeentries with: fromDate: tools.fromDate toDate: tools.toDate outputParameters: - type: object mapping: $.