Workday Payroll Input API

API for submitting and managing payroll input data including one-time payments, adjustments, and supplemental earnings.

Documentation

Specifications

Examples

📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-adjustment-collection-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-adjustment-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-create-adjustment-request-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-create-input-batch-request-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-create-one-time-payment-request-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-create-supplemental-earning-request-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-create-time-off-input-request-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-input-batch-collection-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-input-batch-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-input-record-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-one-time-payment-collection-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-one-time-payment-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-supplemental-earning-collection-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-supplemental-earning-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-time-off-input-collection-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-time-off-input-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-update-one-time-payment-request-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/payroll-input-worker-ref-example.json
📝
Example
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/examples/workday-payroll-create-one-time-payment-example.json

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-adjustment-collection-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-adjustment-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-create-adjustment-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-create-input-batch-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-create-one-time-payment-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-create-supplemental-earning-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-create-time-off-input-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-input-batch-collection-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-input-batch-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-input-record-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-one-time-payment-collection-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-one-time-payment-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-supplemental-earning-collection-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-supplemental-earning-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-time-off-input-collection-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-time-off-input-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-update-one-time-payment-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-worker-ref-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-adjustment-collection-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-adjustment-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-create-adjustment-request-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-create-input-batch-request-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-create-one-time-payment-request-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-create-supplemental-earning-request-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-create-time-off-input-request-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-input-batch-collection-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-input-batch-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-input-record-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-one-time-payment-collection-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-one-time-payment-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-supplemental-earning-collection-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-supplemental-earning-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-time-off-input-collection-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-time-off-input-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-update-one-time-payment-request-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-worker-ref-structure.json

Other Resources

OpenAPI Specification

workday-payroll-payroll-input-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Workday Payroll Input API
  description: >-
    API for submitting and managing payroll input data within the Workday
    platform, including one-time payments, payroll adjustments, supplemental
    earnings, and batch input submissions.
  version: v1
  contact:
    name: Workday Support
    url: https://www.workday.com/en-us/company/customer-support.html
    email: [email protected]
  termsOfService: https://www.workday.com/en-us/legal.html
externalDocs:
  description: Workday Payroll Input API Documentation
  url: https://community.workday.com/sites/default/files/file-hosting/productionapi/index.html
servers:
- url: https://api.workday.com/payroll-input/v1
  description: Workday Payroll Input Production
- url: https://{tenant}.workday.com/api/payroll-input/v1
  description: Workday Payroll Input Tenant-Specific
  variables:
    tenant:
      description: Workday tenant identifier
      default: your-tenant
tags:
- name: Input Batches
  description: Manage batch submissions of payroll input data
- name: One-Time Payments
  description: Submit and manage one-time payment requests
- name: Payroll Adjustments
  description: Create and manage payroll adjustments and corrections
- name: Supplemental Earnings
  description: Submit supplemental earnings such as bonuses and commissions
- name: Time Off Inputs
  description: Submit time off and leave inputs for payroll processing
security:
- bearerAuth: []
paths:
  /oneTimePayments:
    get:
      operationId: listOneTimePayments
      summary: Workday Payroll List One-time Payments
      description: >-
        Retrieve all one-time payment requests, optionally filtered by
        status, worker, or date range.
      tags:
      - One-Time Payments
      parameters:
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      - name: workerId
        in: query
        description: Filter by worker identifier
        schema:
          type: string
        example: w_100542
      - name: status
        in: query
        description: Filter by status
        schema:
          type: string
          enum:
          - Pending
          - Approved
          - Processed
          - Rejected
        example: Pending
      responses:
        '200':
          description: Collection of one-time payments
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OneTimePaymentCollection'
              examples:
                ListOneTimePayments200Example:
                  summary: Default listOneTimePayments 200 response
                  x-microcks-default: true
                  value:
                    data:
                    - id: pmt_20260502_00045
                      worker:
                        id: w_100542
                        descriptor: Weekly USD Pay Group
                      earningCode: REGULAR
                      amount: 2500.0
                      currency: USD
                      reason: Q1 2026 performance bonus
                      effectiveDate: '2026-04-30'
                      status: Pending
                      createdOn: '2026-04-30T16:45:00Z'
                      submittedBy: [email protected]
                    total: 52
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    post:
      operationId: createOneTimePayment
      summary: Workday Payroll Create a One-time Payment
      description: >-
        Submit a new one-time payment request for a worker, such as a bonus,
        retroactive pay adjustment, or relocation allowance.
      tags:
      - One-Time Payments
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateOneTimePaymentRequest'
            examples:
              CreateOneTimePaymentRequestExample:
                summary: Default createOneTimePayment request
                x-microcks-default: true
                value:
                  workerId: w_100542
                  earningCode: REGULAR
                  amount: 2500.0
                  currency: USD
                  reason: Q1 2026 performance bonus
                  effectiveDate: '2026-04-30'
      responses:
        '201':
          description: One-time payment created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OneTimePayment'
              examples:
                CreateOneTimePayment201Example:
                  summary: Default createOneTimePayment 201 response
                  x-microcks-default: true
                  value:
                    id: pmt_20260502_00045
                    worker:
                      id: w_100542
                      descriptor: Weekly USD Pay Group
                    earningCode: REGULAR
                    amount: 2500.0
                    currency: USD
                    reason: Q1 2026 performance bonus
                    effectiveDate: '2026-04-30'
                    status: Pending
                    createdOn: '2026-04-30T16:45:00Z'
                    submittedBy: [email protected]
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /oneTimePayments/{paymentId}:
    get:
      operationId: getOneTimePayment
      summary: Workday Payroll Get a One-time Payment
      description: >-
        Retrieve details of a specific one-time payment request.
      tags:
      - One-Time Payments
      parameters:
      - $ref: '#/components/parameters/paymentId'
      responses:
        '200':
          description: One-time payment details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OneTimePayment'
              examples:
                GetOneTimePayment200Example:
                  summary: Default getOneTimePayment 200 response
                  x-microcks-default: true
                  value:
                    id: pmt_20260502_00045
                    worker:
                      id: w_100542
                      descriptor: Weekly USD Pay Group
                    earningCode: REGULAR
                    amount: 2500.0
                    currency: USD
                    reason: Q1 2026 performance bonus
                    effectiveDate: '2026-04-30'
                    status: Pending
                    createdOn: '2026-04-30T16:45:00Z'
                    submittedBy: [email protected]
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    patch:
      operationId: updateOneTimePayment
      summary: Workday Payroll Update a One-time Payment
      description: >-
        Update a pending one-time payment request.
      tags:
      - One-Time Payments
      parameters:
      - $ref: '#/components/parameters/paymentId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOneTimePaymentRequest'
            examples:
              UpdateOneTimePaymentRequestExample:
                summary: Default updateOneTimePayment request
                x-microcks-default: true
                value:
                  amount: 2500.0
                  reason: Q1 2026 performance bonus
                  effectiveDate: '2026-04-30'
      responses:
        '200':
          description: One-time payment updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OneTimePayment'
              examples:
                UpdateOneTimePayment200Example:
                  summary: Default updateOneTimePayment 200 response
                  x-microcks-default: true
                  value:
                    id: pmt_20260502_00045
                    worker:
                      id: w_100542
                      descriptor: Weekly USD Pay Group
                    earningCode: REGULAR
                    amount: 2500.0
                    currency: USD
                    reason: Q1 2026 performance bonus
                    effectiveDate: '2026-04-30'
                    status: Pending
                    createdOn: '2026-04-30T16:45:00Z'
                    submittedBy: [email protected]
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    delete:
      operationId: deleteOneTimePayment
      summary: Workday Payroll Delete a One-time Payment
      description: >-
        Delete a pending one-time payment request that has not yet been
        processed.
      tags:
      - One-Time Payments
      parameters:
      - $ref: '#/components/parameters/paymentId'
      responses:
        '204':
          description: One-time payment deleted
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /adjustments:
    get:
      operationId: listPayrollAdjustments
      summary: Workday Payroll List Payroll Adjustments
      description: >-
        Retrieve all payroll adjustment records, optionally filtered by
        worker, type, or status.
      tags:
      - Payroll Adjustments
      parameters:
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      - name: workerId
        in: query
        description: Filter by worker identifier
        schema:
          type: string
        example: w_100542
      - name: adjustmentType
        in: query
        description: Filter by adjustment type
        schema:
          type: string
          enum:
          - Correction
          - Retroactive
          - Reversal
          - Reclass
        example: Correction
      responses:
        '200':
          description: Collection of payroll adjustments
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdjustmentCollection'
              examples:
                ListPayrollAdjustments200Example:
                  summary: Default listPayrollAdjustments 200 response
                  x-microcks-default: true
                  value:
                    data:
                    - id: adj_20260415_00012
                      worker:
                        id: w_100542
                        descriptor: Weekly USD Pay Group
                      adjustmentType: Correction
                      originalPayRunId: pr_20260430_weekly_001
                      earningCode: REGULAR
                      deductionCode: MEDICAL_PRETAX
                      amount: 2500.0
                      currency: USD
                      reason: Q1 2026 performance bonus
                      effectiveDate: '2026-04-30'
                      status: Pending
                      createdOn: '2026-04-30T16:45:00Z'
                    total: 52
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    post:
      operationId: createPayrollAdjustment
      summary: Workday Payroll Create a Payroll Adjustment
      description: >-
        Submit a payroll adjustment to correct, reverse, or reclassify
        previously processed payroll data.
      tags:
      - Payroll Adjustments
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAdjustmentRequest'
            examples:
              CreatePayrollAdjustmentRequestExample:
                summary: Default createPayrollAdjustment request
                x-microcks-default: true
                value:
                  workerId: w_100542
                  adjustmentType: Correction
                  originalPayRunId: pr_20260430_weekly_001
                  earningCode: REGULAR
                  deductionCode: MEDICAL_PRETAX
                  amount: 2500.0
                  currency: USD
                  reason: Q1 2026 performance bonus
                  effectiveDate: '2026-04-30'
      responses:
        '201':
          description: Adjustment created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Adjustment'
              examples:
                CreatePayrollAdjustment201Example:
                  summary: Default createPayrollAdjustment 201 response
                  x-microcks-default: true
                  value:
                    id: adj_20260415_00012
                    worker:
                      id: w_100542
                      descriptor: Weekly USD Pay Group
                    adjustmentType: Correction
                    originalPayRunId: pr_20260430_weekly_001
                    earningCode: REGULAR
                    deductionCode: MEDICAL_PRETAX
                    amount: 2500.0
                    currency: USD
                    reason: Q1 2026 performance bonus
                    effectiveDate: '2026-04-30'
                    status: Pending
                    createdOn: '2026-04-30T16:45:00Z'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /adjustments/{adjustmentId}:
    get:
      operationId: getPayrollAdjustment
      summary: Workday Payroll Get a Payroll Adjustment
      description: >-
        Retrieve details of a specific payroll adjustment.
      tags:
      - Payroll Adjustments
      parameters:
      - $ref: '#/components/parameters/adjustmentId'
      responses:
        '200':
          description: Adjustment details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Adjustment'
              examples:
                GetPayrollAdjustment200Example:
                  summary: Default getPayrollAdjustment 200 response
                  x-microcks-default: true
                  value:
                    id: adj_20260415_00012
                    worker:
                      id: w_100542
                      descriptor: Weekly USD Pay Group
                    adjustmentType: Correction
                    originalPayRunId: pr_20260430_weekly_001
                    earningCode: REGULAR
                    deductionCode: MEDICAL_PRETAX
                    amount: 2500.0
                    currency: USD
                    reason: Q1 2026 performance bonus
                    effectiveDate: '2026-04-30'
                    status: Pending
                    createdOn: '2026-04-30T16:45:00Z'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /supplementalEarnings:
    get:
      operationId: listSupplementalEarnings
      summary: Workday Payroll List Supplemental Earnings
      description: >-
        Retrieve all supplemental earning submissions, such as bonuses,
        commissions, and other non-regular earnings.
      tags:
      - Supplemental Earnings
      parameters:
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      - name: workerId
        in: query
        description: Filter by worker identifier
        schema:
          type: string
        example: w_100542
      responses:
        '200':
          description: Collection of supplemental earnings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupplementalEarningCollection'
              examples:
                ListSupplementalEarnings200Example:
                  summary: Default listSupplementalEarnings 200 response
                  x-microcks-default: true
                  value:
                    data:
                    - id: sup_20260430_00121
                      worker:
                        id: w_100542
                        descriptor: Weekly USD Pay Group
                      earningCode: REGULAR
                      type: Bonus
                      amount: 2500.0
                      currency: USD
                      effectiveDate: '2026-04-30'
                      status: Pending
                      reason: Q1 2026 performance bonus
                      createdOn: '2026-04-30T16:45:00Z'
                    total: 52
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    post:
      operationId: createSupplementalEarning
      summary: Workday Payroll Create a Supplemental Earning
      description: >-
        Submit a supplemental earning for a worker to be included in
        the next payroll run.
      tags:
      - Supplemental Earnings
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSupplementalEarningRequest'
            examples:
              CreateSupplementalEarningRequestExample:
                summary: Default createSupplementalEarning request
                x-microcks-default: true
                value:
                  workerId: w_100542
                  earningCode: REGULAR
                  type: Bonus
                  amount: 2500.0
                  currency: USD
                  effectiveDate: '2026-04-30'
                  reason: Q1 2026 performance bonus
      responses:
        '201':
          description: Supplemental earning created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupplementalEarning'
              examples:
                CreateSupplementalEarning201Example:
                  summary: Default createSupplementalEarning 201 response
                  x-microcks-default: true
                  value:
                    id: sup_20260430_00121
                    worker:
                      id: w_100542
                      descriptor: Weekly USD Pay Group
                    earningCode: REGULAR
                    type: Bonus
                    amount: 2500.0
                    currency: USD
                    effectiveDate: '2026-04-30'
                    status: Pending
                    reason: Q1 2026 performance bonus
                    createdOn: '2026-04-30T16:45:00Z'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /supplementalEarnings/{earningId}:
    get:
      operationId: getSupplementalEarning
      summary: Workday Payroll Get a Supplemental Earning
      description: >-
        Retrieve details of a specific supplemental earning submission.
      tags:
      - Supplemental Earnings
      parameters:
      - $ref: '#/components/parameters/earningId'
      responses:
        '200':
          description: Supplemental earning details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupplementalEarning'
              examples:
                GetSupplementalEarning200Example:
                  summary: Default getSupplementalEarning 200 response
                  x-microcks-default: true
                  value:
                    id: sup_20260430_00121
                    worker:
                      id: w_100542
                      descriptor: Weekly USD Pay Group
                    earningCode: REGULAR
                    type: Bonus
                    amount: 2500.0
                    currency: USD
                    effectiveDate: '2026-04-30'
                    status: Pending
                    reason: Q1 2026 performance bonus
                    createdOn: '2026-04-30T16:45:00Z'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    delete:
      operationId: deleteSupplementalEarning
      summary: Workday Payroll Delete a Supplemental Earning
      description: >-
        Delete a pending supplemental earning that has not yet been processed.
      tags:
      - Supplemental Earnings
      parameters:
      - $ref: '#/components/parameters/earningId'
      responses:
        '204':
          description: Supplemental earning deleted
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /inputBatches:
    get:
      operationId: listInputBatches
      summary: Workday Payroll List Input Batches
      description: >-
        Retrieve all payroll input batch submissions, including their
        processing status and validation results.
      tags:
      - Input Batches
      parameters:
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      - name: status
        in: query
        description: Filter by batch status
        schema:
          type: string
          enum:
          - Pending
          - Validating
          - Validated
          - Processing
          - Completed
          - Failed
        example: Pending
      responses:
        '200':
          description: Collection of input batches
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InputBatchCollection'
              examples:
                ListInputBatches200Example:
                  summary: Default listInputBatches 200 response
                  x-microcks-default: true
                  value:
                    data:
                    - id: ib_20260428_00007
                      name: April 2026 Bonus Batch
                      status: Pending
                      recordCount: 100
                      validRecords: 98
                      failedRecords: 2
                      submittedOn: '2026-04-30T16:45:00Z'
                      completedOn: '2026-04-30T16:45:00Z'
                      submittedBy: [email protected]
                    total: 52
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    post:
      operationId: createInputBatch
      summary: Workday Payroll Create an Input Batch
      description: >-
        Submit a batch of payroll input records for processing, supporting
        earnings, deductions, and time-off entries in bulk.
      tags:
      - Input Batches
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateInputBatchRequest'
            examples:
              CreateInputBatchRequestExample:
                summary: Default createInputBatch request
                x-microcks-default: true
                value:
                  name: April 2026 Bonus Batch
                  records:
                  - workerId: w_100542
                    inputType: Earning
                    earningCode: REGULAR
                    deductionCode: MEDICAL_PRETAX
                    amount: 2500.0
                    hours: 40.0
                    effectiveDate: '2026-04-30'
      responses:
        '201':
          description: Input batch created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InputBatch'
              examples:
                CreateInputBatch201Example:
                  summary: Default createInputBatch 201 response
                  x-microcks-default: true
                  value:
                    id: ib_20260428_00007
                    name: April 2026 Bonus Batch
                    status: Pending
                    recordCount: 100
                    validRecords: 98
                    failedRecords: 2
                    submittedOn: '2026-04-30T16:45:00Z'
                    completedOn: '2026-04-30T16:45:00Z'
                    submittedBy: [email protected]
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /inputBatches/{batchId}:
    get:
      operationId: getInputBatch
      summary: Workday Payroll Get an Input Batch
      description: >-
        Retrieve details and status of a specific input batch submission.
      tags:
      - Input Batches
      parameters:
      - $ref: '#/components/parameters/batchId'
      responses:
        '200':
          description: Input batch details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InputBatch'
              examples:
                GetInputBatch200Example:
                  summary: Default getInputBatch 200 response
                  x-microcks-default: true
                  value:
                    id: ib_20260428_00007
                    name: April 2026 Bonus Batch
                    status: Pending
                    recordCount: 100
                    validRecords: 98
                    failedRecords: 2
                    submittedOn: '2026-04-30T16:45:00Z'
                    completedOn: '2026-04-30T16:45:00Z'
                    submittedBy: [email protected]
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /workers/{workerId}/timeOffInputs:
    get:
      operationId: listWorkerTimeOffInputs
      summary: Workday Payroll List Worker Time Off Inputs
      description: >-
        Retrieve time off input records for a specific worker that affect
        payroll calculations.
      tags:
      - Time Off Inputs
      parameters:
      - $ref: '#/components/parameters/workerId'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: Collection of time off inputs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TimeOffInputCollection'
              examples:
                ListWorkerTimeOffInputs200Example:
                  summary: Default listWorkerTimeOffInputs 200 response
                  x-microcks-default: true
                  value:
                    data:
                    - id: to_w100542_20260415
                      worker:
                        id: w_100542
                        descriptor: Weekly USD Pay Group
                      timeOffType: Vacation
                      startDate: '2026-04-30'
                      endDate: '2026-04-30'
                      hours: 40.0
                      status: Pending
                      paid: true
                    total: 52
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    post:
      operationId: createWorkerTimeOffInput
      summary: Workday Payroll Create a Time Off Input
      description: >-
        Submit a time off input for a worker to be reflected in payroll
        processing.
      tags:
      - Time Off Inputs
      parameters:
      - $ref: '#/components/parameters/workerId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTimeOffInputRequest'
            examples:
              CreateWorkerTimeOffInputRequestExample:
                summary: Default createWorkerTimeOffInput request
                x-microcks-default: true
                value:
                  timeOffType: Vacation
                  startDate: '2026-04-30'
                  endDate: '2026-04-30'
                  hours: 40.0
                  paid: true
      responses:
        '201':
          description: Time off input created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TimeOffInput'
              examples:
                CreateWorkerTimeOffInput201Example:
                  summary: Default createWorkerTimeOffInput 201 response
                  x-microcks-default: true
                  value:
                    id: to_w100542_20260415
                    worker:
                      id: w_100542
                      descriptor: Weekly USD Pay Group
                    timeOffType: Vacation
                    startDate: '2026-04-30'
                    endDate: '2026-04-30'
                    hours: 40.0
                    status: Pending
                    paid: true
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        OAuth 2.0 bearer token obtained through Workday authentication.
  parameters:
    paymentId:
      name: paymentId
      in: path
      required: true
      description: Unique identifier for the one-time payment
      schema:
        type: string
      example: pmt_20260502_00045
    adjustmentId:
      name: adjustmentId
      in: path
      required: true
      description: Unique identifier for the payroll adjustment
      schema:
        type: string
      example: adj_20260415_00012
    earningId:
      name: earningId
      in: path
      required: true
      description: Unique identifier for the supplemental earning
      schema:
        type: string
      example: ern_20260430_00301
    batchId:
      name: batchId
      in: path
      required: true
      description: Unique identifier for the input batch
      schema:
        type: string
      example: ib_20260428_00007
    workerId:
      name: workerId
      in: path
      required: true
      description: Unique identifier for the worker
      schema:
        type: string
      example: w_100542
    limit:
      name: limit
      in: query
      description: Maximum number of results to return
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 20
      example: 20
    offset:
      name: offset
      in: query
      description: Number of results to skip for pagination
      schema:
        type: integer
        minimum: 0
        default: 0
      example: 0
  responses:
    BadRequest:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            BadRequestExample:
              summary: Default BadRequest response
              x-microcks-default: true
              value:
                error: INVALID_REQUEST
                message: Validation failed for the provided fields.
    Unauthorized:
      description: Authentication required or token expired
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            UnauthorizedExample:
              summary: Default Unauthorized response
              x-microcks-default: true
              value:
                error: INVALID_REQUEST
                message: Validation failed for the provided fields.
    NotFound:
      description:

# --- truncated at 32 KB (47 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/openapi/workday-payroll-payroll-input-openapi.yml