Workday Finance · Capability

Workday Finance Procurement API — Purchase Orders

Workday Finance Procurement API — Purchase Orders. 3 operations. Lead operation: List Purchase Orders. Self-contained Naftiko capability covering one Workday Finance business surface.

Run with Naftiko Workday FinancePurchase Orders

What You Can Do

GET
Listpurchaseorders — List Purchase Orders
/v1/purchaseorders
POST
Createpurchaseorder — Create Purchase Order
/v1/purchaseorders
GET
Getpurchaseorder — Get Purchase Order
/v1/purchaseorders/{purchaseorderid}

MCP Tools

list-purchase-orders

List Purchase Orders

read-only idempotent
create-purchase-order

Create Purchase Order

get-purchase-order

Get Purchase Order

read-only idempotent

Capability Spec

procurement-purchase-orders.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Workday Finance Procurement API — Purchase Orders
  description: 'Workday Finance Procurement API — Purchase Orders. 3 operations. Lead operation: List Purchase Orders. Self-contained
    Naftiko capability covering one Workday Finance business surface.'
  tags:
  - Workday Finance
  - Purchase Orders
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WORKDAY_FINANCE_API_KEY: WORKDAY_FINANCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: procurement-purchase-orders
    baseUri: https://wd2-impl-services1.workday.com/ccx/api/resource-management/v45.2/{tenant}
    description: Workday Finance Procurement API — Purchase Orders business capability. Self-contained, no shared references.
    resources:
    - name: purchaseOrders
      path: /purchaseOrders
      operations:
      - name: listpurchaseorders
        method: GET
        description: List Purchase Orders
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: Filter by purchase order status
      - name: createpurchaseorder
        method: POST
        description: Create Purchase Order
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: purchaseOrders-purchaseOrderId
      path: /purchaseOrders/{purchaseOrderId}
      operations:
      - name: getpurchaseorder
        method: GET
        description: Get Purchase Order
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.WORKDAY_FINANCE_API_KEY}}'
  exposes:
  - type: rest
    namespace: procurement-purchase-orders-rest
    port: 8080
    description: REST adapter for Workday Finance Procurement API — Purchase Orders. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/purchaseorders
      name: purchaseorders
      description: REST surface for purchaseOrders.
      operations:
      - method: GET
        name: listpurchaseorders
        description: List Purchase Orders
        call: procurement-purchase-orders.listpurchaseorders
        with:
          status: rest.status
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createpurchaseorder
        description: Create Purchase Order
        call: procurement-purchase-orders.createpurchaseorder
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/purchaseorders/{purchaseorderid}
      name: purchaseorders-purchaseorderid
      description: REST surface for purchaseOrders-purchaseOrderId.
      operations:
      - method: GET
        name: getpurchaseorder
        description: Get Purchase Order
        call: procurement-purchase-orders.getpurchaseorder
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: procurement-purchase-orders-mcp
    port: 9090
    transport: http
    description: MCP adapter for Workday Finance Procurement API — Purchase Orders. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-purchase-orders
      description: List Purchase Orders
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: procurement-purchase-orders.listpurchaseorders
      with:
        status: tools.status
      outputParameters:
      - type: object
        mapping: $.
    - name: create-purchase-order
      description: Create Purchase Order
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: procurement-purchase-orders.createpurchaseorder
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-purchase-order
      description: Get Purchase Order
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: procurement-purchase-orders.getpurchaseorder
      outputParameters:
      - type: object
        mapping: $.