Workday Tracking System · Capability

Workday Scheduling API — Worker Preferences

Workday Scheduling API — Worker Preferences. 2 operations. Lead operation: Get Worker Scheduling Preferences. Self-contained Naftiko capability covering one Workday Tracking System business surface.

Run with Naftiko Workday Tracking SystemWorker Preferences

What You Can Do

GET
Getworkerschedulingpreferences — Get Worker Scheduling Preferences
/v1/workers/{workerid}/schedulingpreferences
PUT
Updateworkerschedulingpreferences — Update Worker Scheduling Preferences
/v1/workers/{workerid}/schedulingpreferences

MCP Tools

get-worker-scheduling-preferences

Get Worker Scheduling Preferences

read-only idempotent
update-worker-scheduling-preferences

Update Worker Scheduling Preferences

idempotent

Capability Spec

scheduling-worker-preferences.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Workday Scheduling API — Worker Preferences
  description: 'Workday Scheduling API — Worker Preferences. 2 operations. Lead operation: Get Worker Scheduling Preferences.
    Self-contained Naftiko capability covering one Workday Tracking System business surface.'
  tags:
  - Workday Tracking System
  - Worker Preferences
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WORKDAY_TRACKING_SYSTEM_API_KEY: WORKDAY_TRACKING_SYSTEM_API_KEY
capability:
  consumes:
  - type: http
    namespace: scheduling-worker-preferences
    baseUri: https://{tenant}.workday.com/api/scheduling/v1
    description: Workday Scheduling API — Worker Preferences business capability. Self-contained, no shared references.
    resources:
    - name: workers-workerId-schedulingPreferences
      path: /workers/{workerId}/schedulingPreferences
      operations:
      - name: getworkerschedulingpreferences
        method: GET
        description: Get Worker Scheduling Preferences
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workerId
          in: path
          type: string
          description: The Workday ID of the worker
          required: true
      - name: updateworkerschedulingpreferences
        method: PUT
        description: Update Worker Scheduling Preferences
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workerId
          in: path
          type: string
          description: The Workday ID of the worker
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.WORKDAY_TRACKING_SYSTEM_API_KEY}}'
  exposes:
  - type: rest
    namespace: scheduling-worker-preferences-rest
    port: 8080
    description: REST adapter for Workday Scheduling API — Worker Preferences. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/workers/{workerid}/schedulingpreferences
      name: workers-workerid-schedulingpreferences
      description: REST surface for workers-workerId-schedulingPreferences.
      operations:
      - method: GET
        name: getworkerschedulingpreferences
        description: Get Worker Scheduling Preferences
        call: scheduling-worker-preferences.getworkerschedulingpreferences
        with:
          workerId: rest.workerId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateworkerschedulingpreferences
        description: Update Worker Scheduling Preferences
        call: scheduling-worker-preferences.updateworkerschedulingpreferences
        with:
          workerId: rest.workerId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: scheduling-worker-preferences-mcp
    port: 9090
    transport: http
    description: MCP adapter for Workday Scheduling API — Worker Preferences. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-worker-scheduling-preferences
      description: Get Worker Scheduling Preferences
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: scheduling-worker-preferences.getworkerschedulingpreferences
      with:
        workerId: tools.workerId
      outputParameters:
      - type: object
        mapping: $.
    - name: update-worker-scheduling-preferences
      description: Update Worker Scheduling Preferences
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: scheduling-worker-preferences.updateworkerschedulingpreferences
      with:
        workerId: tools.workerId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.