Scout RFP · Capability

Workday Strategic Sourcing Events API — Line Items

Workday Strategic Sourcing Events API — Line Items. 6 operations. Lead operation: List Line Items. Self-contained Naftiko capability covering one Scout Rfp business surface.

Run with Naftiko Scout RfpLine Items

What You Can Do

GET
Listlineitems — List Line Items
/v1/events/{event-id}/worksheets/{worksheet-id}/line-items
POST
Createlineitem — Create Line Item
/v1/events/{event-id}/worksheets/{worksheet-id}/line-items
POST
Bulkcreatelineitems — Bulk Create Line Items
/v1/events/{event-id}/worksheets/{worksheet-id}/line-items/bulk
GET
Getlineitem — Get Line Item
/v1/events/{event-id}/worksheets/{worksheet-id}/line-items/{id}
PATCH
Updatelineitem — Update Line Item
/v1/events/{event-id}/worksheets/{worksheet-id}/line-items/{id}
DELETE
Deletelineitem — Delete Line Item
/v1/events/{event-id}/worksheets/{worksheet-id}/line-items/{id}

MCP Tools

list-line-items

List Line Items

read-only idempotent
create-line-item

Create Line Item

bulk-create-line-items

Bulk Create Line Items

get-line-item

Get Line Item

read-only idempotent
update-line-item

Update Line Item

idempotent
delete-line-item

Delete Line Item

idempotent

Capability Spec

events-line-items.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Workday Strategic Sourcing Events API — Line Items
  description: 'Workday Strategic Sourcing Events API — Line Items. 6 operations. Lead operation: List Line Items. Self-contained
    Naftiko capability covering one Scout Rfp business surface.'
  tags:
  - Scout Rfp
  - Line Items
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SCOUT_RFP_API_KEY: SCOUT_RFP_API_KEY
capability:
  consumes:
  - type: http
    namespace: events-line-items
    baseUri: https://api.us.workdayspend.com/services/events/v1
    description: Workday Strategic Sourcing Events API — Line Items business capability. Self-contained, no shared references.
    resources:
    - name: events-event_id-worksheets-worksheet_id-line_items
      path: /events/{event_id}/worksheets/{worksheet_id}/line_items
      operations:
      - name: listlineitems
        method: GET
        description: List Line Items
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: event_id
          in: path
          type: string
          required: true
        - name: worksheet_id
          in: path
          type: string
          required: true
      - name: createlineitem
        method: POST
        description: Create Line Item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: event_id
          in: path
          type: string
          required: true
        - name: worksheet_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: events-event_id-worksheets-worksheet_id-line_items-bulk
      path: /events/{event_id}/worksheets/{worksheet_id}/line_items/bulk
      operations:
      - name: bulkcreatelineitems
        method: POST
        description: Bulk Create Line Items
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: event_id
          in: path
          type: string
          required: true
        - name: worksheet_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: events-event_id-worksheets-worksheet_id-line_items-id
      path: /events/{event_id}/worksheets/{worksheet_id}/line_items/{id}
      operations:
      - name: getlineitem
        method: GET
        description: Get Line Item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: event_id
          in: path
          type: string
          required: true
        - name: worksheet_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          required: true
      - name: updatelineitem
        method: PATCH
        description: Update Line Item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: event_id
          in: path
          type: string
          required: true
        - name: worksheet_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletelineitem
        method: DELETE
        description: Delete Line Item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: event_id
          in: path
          type: string
          required: true
        - name: worksheet_id
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          required: true
    authentication:
      type: apikey
      key: X-Api-Key
      value: '{{env.SCOUT_RFP_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: events-line-items-rest
    port: 8080
    description: REST adapter for Workday Strategic Sourcing Events API — Line Items. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/events/{event-id}/worksheets/{worksheet-id}/line-items
      name: events-event-id-worksheets-worksheet-id-line-items
      description: REST surface for events-event_id-worksheets-worksheet_id-line_items.
      operations:
      - method: GET
        name: listlineitems
        description: List Line Items
        call: events-line-items.listlineitems
        with:
          event_id: rest.event_id
          worksheet_id: rest.worksheet_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createlineitem
        description: Create Line Item
        call: events-line-items.createlineitem
        with:
          event_id: rest.event_id
          worksheet_id: rest.worksheet_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/events/{event-id}/worksheets/{worksheet-id}/line-items/bulk
      name: events-event-id-worksheets-worksheet-id-line-items-bulk
      description: REST surface for events-event_id-worksheets-worksheet_id-line_items-bulk.
      operations:
      - method: POST
        name: bulkcreatelineitems
        description: Bulk Create Line Items
        call: events-line-items.bulkcreatelineitems
        with:
          event_id: rest.event_id
          worksheet_id: rest.worksheet_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/events/{event-id}/worksheets/{worksheet-id}/line-items/{id}
      name: events-event-id-worksheets-worksheet-id-line-items-id
      description: REST surface for events-event_id-worksheets-worksheet_id-line_items-id.
      operations:
      - method: GET
        name: getlineitem
        description: Get Line Item
        call: events-line-items.getlineitem
        with:
          event_id: rest.event_id
          worksheet_id: rest.worksheet_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatelineitem
        description: Update Line Item
        call: events-line-items.updatelineitem
        with:
          event_id: rest.event_id
          worksheet_id: rest.worksheet_id
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletelineitem
        description: Delete Line Item
        call: events-line-items.deletelineitem
        with:
          event_id: rest.event_id
          worksheet_id: rest.worksheet_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: events-line-items-mcp
    port: 9090
    transport: http
    description: MCP adapter for Workday Strategic Sourcing Events API — Line Items. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-line-items
      description: List Line Items
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: events-line-items.listlineitems
      with:
        event_id: tools.event_id
        worksheet_id: tools.worksheet_id
      outputParameters:
      - type: object
        mapping: $.
    - name: create-line-item
      description: Create Line Item
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: events-line-items.createlineitem
      with:
        event_id: tools.event_id
        worksheet_id: tools.worksheet_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: bulk-create-line-items
      description: Bulk Create Line Items
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: events-line-items.bulkcreatelineitems
      with:
        event_id: tools.event_id
        worksheet_id: tools.worksheet_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-line-item
      description: Get Line Item
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: events-line-items.getlineitem
      with:
        event_id: tools.event_id
        worksheet_id: tools.worksheet_id
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-line-item
      description: Update Line Item
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: events-line-items.updatelineitem
      with:
        event_id: tools.event_id
        worksheet_id: tools.worksheet_id
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-line-item
      description: Delete Line Item
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: events-line-items.deletelineitem
      with:
        event_id: tools.event_id
        worksheet_id: tools.worksheet_id
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.