Cvent · Capability

Cvent REST APIs — Discounts

Cvent REST APIs — Discounts. 6 operations. Lead operation: List Event Discounts. Self-contained Naftiko capability covering one business surface.

Cvent REST APIs — Discounts is a Naftiko capability published by Cvent, one of 52 capabilities the APIs.io network indexes for this provider. It bundles 6 operations across the GET, PUT, POST, and DELETE methods rooted at /v1/events/{…}/discounts.

The capability includes 2 read-only operations and 4 state-changing operations. Lead operation: List Event Discounts. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Cvent and Discounts.

Run with Naftiko CventDiscounts

What You Can Do

GET
Listeventdiscounts — List Event Discounts
/v1/events/{id}/discounts
POST
Createeventdiscount — Create Event Discount
/v1/events/{id}/discounts
GET
Listdiscountedagendaitems — List Discounted Agenda Items
/v1/events/{id}/discounts/agenda-items
PUT
Updateeventdiscount — Update Event Discount
/v1/events/{id}/discounts/{discountId}
PUT
Linkagendaitemtodiscount — Link Agenda Item to Discount
/v1/events/{id}/discounts/{discountId}/agenda-items/{agendaItemId}
DELETE
Unlinkagendaitemfromdiscount — Unlink Agenda Item Discount
/v1/events/{id}/discounts/{discountId}/agenda-items/{agendaItemId}

MCP Tools

cvent-listeventdiscounts

List Event Discounts

read-only idempotent
cvent-createeventdiscount

Create Event Discount

cvent-listdiscountedagendaitems

List Discounted Agenda Items

read-only idempotent
cvent-updateeventdiscount

Update Event Discount

idempotent
cvent-linkagendaitemtodiscount

Link Agenda Item to Discount

idempotent
cvent-unlinkagendaitemfromdiscount

Unlink Agenda Item Discount

idempotent

Capability Spec

rest-discounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Cvent REST APIs — Discounts
  description: 'Cvent REST APIs — Discounts. 6 operations. Lead operation: List Event Discounts. Self-contained Naftiko capability covering one business surface.'
  tags:
  - Cvent
  - Discounts
  created: '2026-05-20'
  modified: '2026-05-20'
binds:
- namespace: env
  keys:
    CVENT_API_KEY: CVENT_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-discounts
    baseUri: https://api-platform.cvent.com/ea
    description: Cvent REST APIs — Discounts business capability. Self-contained, no shared references.
    resources:
    - name: events-id-discounts
      path: /events/{id}/discounts
      operations:
      - name: listeventdiscounts
        method: GET
        description: List Event Discounts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Path parameter id.
          required: true
      - name: createeventdiscount
        method: POST
        description: Create Event Discount
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Path parameter id.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: events-id-discounts-agenda-items
      path: /events/{id}/discounts/agenda-items
      operations:
      - name: listdiscountedagendaitems
        method: GET
        description: List Discounted Agenda Items
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Path parameter id.
          required: true
    - name: events-id-discounts-discountid
      path: /events/{id}/discounts/{discountId}
      operations:
      - name: updateeventdiscount
        method: PUT
        description: Update Event Discount
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Path parameter id.
          required: true
        - name: discountId
          in: path
          type: string
          description: Path parameter discountId.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: events-id-discounts-discountid-agenda-items-agendaitemid
      path: /events/{id}/discounts/{discountId}/agenda-items/{agendaItemId}
      operations:
      - name: linkagendaitemtodiscount
        method: PUT
        description: Link Agenda Item to Discount
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: agendaItemId
          in: path
          type: string
          description: Path parameter agendaItemId.
          required: true
        - name: id
          in: path
          type: string
          description: Path parameter id.
          required: true
        - name: discountId
          in: path
          type: string
          description: Path parameter discountId.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: unlinkagendaitemfromdiscount
        method: DELETE
        description: Unlink Agenda Item Discount
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: agendaItemId
          in: path
          type: string
          description: Path parameter agendaItemId.
          required: true
        - name: id
          in: path
          type: string
          description: Path parameter id.
          required: true
        - name: discountId
          in: path
          type: string
          description: Path parameter discountId.
          required: true
  exposes:
  - type: rest
    namespace: rest-discounts-rest
    port: 8080
    description: REST adapter for Cvent REST APIs — Discounts. One resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/events/{id}/discounts
      name: events-id-discounts
      description: REST surface for events-id-discounts.
      operations:
      - method: GET
        name: listeventdiscounts
        description: List Event Discounts
        call: rest-discounts.listeventdiscounts
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createeventdiscount
        description: Create Event Discount
        call: rest-discounts.createeventdiscount
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/events/{id}/discounts/agenda-items
      name: events-id-discounts-agenda-items
      description: REST surface for events-id-discounts-agenda-items.
      operations:
      - method: GET
        name: listdiscountedagendaitems
        description: List Discounted Agenda Items
        call: rest-discounts.listdiscountedagendaitems
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/events/{id}/discounts/{discountId}
      name: events-id-discounts-discountid
      description: REST surface for events-id-discounts-discountid.
      operations:
      - method: PUT
        name: updateeventdiscount
        description: Update Event Discount
        call: rest-discounts.updateeventdiscount
        with:
          id: rest.id
          discountId: rest.discountId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/events/{id}/discounts/{discountId}/agenda-items/{agendaItemId}
      name: events-id-discounts-discountid-agenda-items-agendaitemid
      description: REST surface for events-id-discounts-discountid-agenda-items-agendaitemid.
      operations:
      - method: PUT
        name: linkagendaitemtodiscount
        description: Link Agenda Item to Discount
        call: rest-discounts.linkagendaitemtodiscount
        with:
          agendaItemId: rest.agendaItemId
          id: rest.id
          discountId: rest.discountId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: unlinkagendaitemfromdiscount
        description: Unlink Agenda Item Discount
        call: rest-discounts.unlinkagendaitemfromdiscount
        with:
          agendaItemId: rest.agendaItemId
          id: rest.id
          discountId: rest.discountId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-discounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Cvent REST APIs — Discounts. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: cvent-listeventdiscounts
      description: List Event Discounts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-discounts.listeventdiscounts
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: cvent-createeventdiscount
      description: Create Event Discount
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-discounts.createeventdiscount
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: cvent-listdiscountedagendaitems
      description: List Discounted Agenda Items
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-discounts.listdiscountedagendaitems
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: cvent-updateeventdiscount
      description: Update Event Discount
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: rest-discounts.updateeventdiscount
      with:
        id: tools.id
        discountId: tools.discountId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: cvent-linkagendaitemtodiscount
      description: Link Agenda Item to Discount
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: rest-discounts.linkagendaitemtodiscount
      with:
        agendaItemId: tools.agendaItemId
        id: tools.id
        discountId: tools.discountId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: cvent-unlinkagendaitemfromdiscount
      description: Unlink Agenda Item Discount
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: rest-discounts.unlinkagendaitemfromdiscount
      with:
        agendaItemId: tools.agendaItemId
        id: tools.id
        discountId: tools.discountId
      outputParameters:
      - type: object
        mapping: $.