Workday Tracking System · Capability

Workday Scheduling API — Shifts

Workday Scheduling API — Shifts. 5 operations. Lead operation: List Schedule Shifts. Self-contained Naftiko capability covering one Workday Tracking System business surface.

Run with Naftiko Workday Tracking SystemShifts

What You Can Do

GET
Listscheduleshifts — List Schedule Shifts
/v1/scheduleshifts
POST
Createscheduleshift — Create Schedule Shift
/v1/scheduleshifts
GET
Getscheduleshift — Get Schedule Shift
/v1/scheduleshifts/{shiftid}
PUT
Updatescheduleshift — Update Schedule Shift
/v1/scheduleshifts/{shiftid}
DELETE
Deletescheduleshift — Delete Schedule Shift
/v1/scheduleshifts/{shiftid}

MCP Tools

list-schedule-shifts

List Schedule Shifts

read-only idempotent
create-schedule-shift

Create Schedule Shift

get-schedule-shift

Get Schedule Shift

read-only idempotent
update-schedule-shift

Update Schedule Shift

idempotent
delete-schedule-shift

Delete Schedule Shift

idempotent

Capability Spec

scheduling-shifts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Workday Scheduling API — Shifts
  description: 'Workday Scheduling API — Shifts. 5 operations. Lead operation: List Schedule Shifts. Self-contained Naftiko
    capability covering one Workday Tracking System business surface.'
  tags:
  - Workday Tracking System
  - Shifts
  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-shifts
    baseUri: https://{tenant}.workday.com/api/scheduling/v1
    description: Workday Scheduling API — Shifts business capability. Self-contained, no shared references.
    resources:
    - name: scheduleShifts
      path: /scheduleShifts
      operations:
      - name: listscheduleshifts
        method: GET
        description: List Schedule Shifts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: query
          type: string
          description: Filter by scheduling organization ID
        - name: startDate
          in: query
          type: string
          description: Start date for shift retrieval (YYYY-MM-DD)
        - name: endDate
          in: query
          type: string
          description: End date for shift retrieval (YYYY-MM-DD)
        - name: limit
          in: query
          type: integer
          description: Maximum number of records to return
        - name: offset
          in: query
          type: integer
          description: Offset for pagination
      - name: createscheduleshift
        method: POST
        description: Create Schedule Shift
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: scheduleShifts-shiftId
      path: /scheduleShifts/{shiftId}
      operations:
      - name: getscheduleshift
        method: GET
        description: Get Schedule Shift
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: shiftId
          in: path
          type: string
          description: The Workday ID of the schedule shift
          required: true
      - name: updatescheduleshift
        method: PUT
        description: Update Schedule Shift
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: shiftId
          in: path
          type: string
          description: The Workday ID of the schedule shift
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletescheduleshift
        method: DELETE
        description: Delete Schedule Shift
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: shiftId
          in: path
          type: string
          description: The Workday ID of the schedule shift
          required: true
    authentication:
      type: bearer
      token: '{{env.WORKDAY_TRACKING_SYSTEM_API_KEY}}'
  exposes:
  - type: rest
    namespace: scheduling-shifts-rest
    port: 8080
    description: REST adapter for Workday Scheduling API — Shifts. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/scheduleshifts
      name: scheduleshifts
      description: REST surface for scheduleShifts.
      operations:
      - method: GET
        name: listscheduleshifts
        description: List Schedule Shifts
        call: scheduling-shifts.listscheduleshifts
        with:
          organizationId: rest.organizationId
          startDate: rest.startDate
          endDate: rest.endDate
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createscheduleshift
        description: Create Schedule Shift
        call: scheduling-shifts.createscheduleshift
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/scheduleshifts/{shiftid}
      name: scheduleshifts-shiftid
      description: REST surface for scheduleShifts-shiftId.
      operations:
      - method: GET
        name: getscheduleshift
        description: Get Schedule Shift
        call: scheduling-shifts.getscheduleshift
        with:
          shiftId: rest.shiftId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatescheduleshift
        description: Update Schedule Shift
        call: scheduling-shifts.updatescheduleshift
        with:
          shiftId: rest.shiftId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletescheduleshift
        description: Delete Schedule Shift
        call: scheduling-shifts.deletescheduleshift
        with:
          shiftId: rest.shiftId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: scheduling-shifts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Workday Scheduling API — Shifts. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-schedule-shifts
      description: List Schedule Shifts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: scheduling-shifts.listscheduleshifts
      with:
        organizationId: tools.organizationId
        startDate: tools.startDate
        endDate: tools.endDate
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: create-schedule-shift
      description: Create Schedule Shift
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: scheduling-shifts.createscheduleshift
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-schedule-shift
      description: Get Schedule Shift
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: scheduling-shifts.getscheduleshift
      with:
        shiftId: tools.shiftId
      outputParameters:
      - type: object
        mapping: $.
    - name: update-schedule-shift
      description: Update Schedule Shift
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: scheduling-shifts.updatescheduleshift
      with:
        shiftId: tools.shiftId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-schedule-shift
      description: Delete Schedule Shift
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: scheduling-shifts.deletescheduleshift
      with:
        shiftId: tools.shiftId
      outputParameters:
      - type: object
        mapping: $.