Workday · Capability

Workday Report-as-a-Service API — Reports

Workday Report-as-a-Service API — Reports. 1 operations. Lead operation: Get Custom Report Data. Self-contained Naftiko capability covering one Workday business surface.

Run with Naftiko WorkdayReports

What You Can Do

GET
Getcustomreport — Get Custom Report Data
/v1/{reportowner}/{reportname}

MCP Tools

get-custom-report-data

Get Custom Report Data

read-only idempotent

Capability Spec

raas-reports.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Workday Report-as-a-Service API — Reports
  description: 'Workday Report-as-a-Service API — Reports. 1 operations. Lead operation: Get Custom Report Data. Self-contained
    Naftiko capability covering one Workday business surface.'
  tags:
  - Workday
  - Reports
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WORKDAY_API_KEY: WORKDAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: raas-reports
    baseUri: https://wd2-impl-services1.workday.com/ccx/service/customreport2/{tenant}
    description: Workday Report-as-a-Service API — Reports business capability. Self-contained, no shared references.
    resources:
    - name: reportOwner-reportName
      path: /{reportOwner}/{reportName}
      operations:
      - name: getcustomreport
        method: GET
        description: Get Custom Report Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: reportOwner
          in: path
          type: string
          description: The username of the report owner (e.g., ISU_report_owner).
          required: true
        - name: reportName
          in: path
          type: string
          description: The name of the custom report.
          required: true
        - name: format
          in: query
          type: string
          description: The output format for the report data. Supported values are json, csv, simplexml, and gdata.
        - name: Worker!WID
          in: query
          type: string
          description: Filter by worker Workday ID (example prompt parameter).
        - name: Effective_as_of_Date
          in: query
          type: string
          description: Filter by effective date (example prompt parameter).
    authentication:
      type: bearer
      token: '{{env.WORKDAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: raas-reports-rest
    port: 8080
    description: REST adapter for Workday Report-as-a-Service API — Reports. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/{reportowner}/{reportname}
      name: reportowner-reportname
      description: REST surface for reportOwner-reportName.
      operations:
      - method: GET
        name: getcustomreport
        description: Get Custom Report Data
        call: raas-reports.getcustomreport
        with:
          reportOwner: rest.reportOwner
          reportName: rest.reportName
          format: rest.format
          Worker!WID: rest.Worker!WID
          Effective_as_of_Date: rest.Effective_as_of_Date
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: raas-reports-mcp
    port: 9090
    transport: http
    description: MCP adapter for Workday Report-as-a-Service API — Reports. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-custom-report-data
      description: Get Custom Report Data
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: raas-reports.getcustomreport
      with:
        reportOwner: tools.reportOwner
        reportName: tools.reportName
        format: tools.format
        Worker!WID: tools.Worker!WID
        Effective_as_of_Date: tools.Effective_as_of_Date
      outputParameters:
      - type: object
        mapping: $.