Rocket Matter Discounts API

Attorney matter discounts.

GitHub OpenAPI

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /Discounts.svc/json/Save Create or update a discount configuration · Save #
Ask an LLM
“How do I set up a discount for a matter?”
“Can I change an existing discount configuration?”
Tell an agent
Save discount configuration {config}.
Create a new matter discount with {config}.
POST /Discounts.svc/json/GetAll List all discount configurations · Get all #
Ask an LLM
“Which discount configurations are set up?”
“What matters have discounts configured?”
Tell an agent
List all discount configurations.
Show every matter discount.

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/rocket-matter:rocket-matter-discounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

rocket-matter-discounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Welcome to the Rocket Matter API.
  version: '2.0'
  title: Rocket Matter Discounts API
  termsOfService: www.rocketmatter.com
  contact:
    email: developer@rocketmatter.com
  license:
    name: Rocket Matter
    url: www.rocketmatter.com
  x-logo:
    url: https://support.rocketmatter.com/wp-content/themes/rm-support/img/rm-logo.png
servers:
- url: https://<DOMAIN>/<INSTALL>/API_V2
tags:
- name: Discounts
  description: Attorney matter discounts.
paths:
  /Discounts.svc/json/Save:
    post:
      tags:
      - Discounts
      description: Create or update a discount configuration for a matter.
      operationId: Save
      responses:
        '200':
          description: Successfully processed request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SaveDiscountConfigurationResponse'
        '400':
          description: Internal server error
        '401':
          description: Unauthorized
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SaveDiscountConfigurationRequest'
        required: true
      summary: Save
      x-summary-source: derived
  /Discounts.svc/json/GetAll:
    post:
      tags:
      - Discounts
      description: View all discount configurations.
      operationId: GetAll
      responses:
        '200':
          description: Successfully processed request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAllDiscountsResponse'
        '400':
          description: Internal server error
        '401':
          description: Unauthorized
      summary: Get all
      x-summary-source: derived
components:
  schemas:
    SaveDiscountConfigurationRequest:
      type: object
      properties:
        DiscountConfiguration:
          type: object
          $ref: '#/components/schemas/DiscountConfiguration'
    DiscountConfiguration:
      type: object
      properties:
        Id:
          type: string
        DateCreated:
          type: string
          format: date-time
        DateModified:
          type: string
          format: date-time
        TenantId:
          type: integer
          format: int32
        IsDeleted:
          type: boolean
        IsEnabled:
          type: boolean
        Description:
          type: string
        Rate:
          type: number
          format: double
        Term:
          type: integer
          format: int32
        AppliedToMatter:
          type: boolean
    ValidationResult:
      type: object
      properties:
        MinValue:
          type: boolean
        MaxValue:
          type: boolean
        MinLength:
          type: boolean
        MaxLength:
          type: boolean
        Required:
          type: boolean
        PropertyDisplayName:
          type: string
        Precision:
          type: boolean
        ValueEntered:
          type: object
        Name:
          type: string
        ObjectName:
          type: string
        ExternalID:
          type: string
        MinValueMessage:
          type: string
        MaxValueMessage:
          type: string
        MinLengthMessage:
          type: string
        MaxLengthMessage:
          type: string
        RequiredMessage:
          type: string
        RequiredPrecisionMessage:
          type: string
        BaseFailureMessage:
          type: string
        FailedValidationMessages:
          type: array
          items:
            type: string
        FailedCharacterValidations:
          type: array
          items:
            $ref: '#/components/schemas/CharacterValidationRule'
        IsValid:
          type: boolean
    SaveDiscountConfigurationResponse:
      type: object
      properties:
        DiscountConfiguration:
          type: object
          $ref: '#/components/schemas/DiscountConfiguration'
        Success:
          type: boolean
        Message:
          type: string
        ErrorMessage:
          type: string
        ErrorNumber:
          type: integer
          format: int32
        FailedValidations:
          type: array
          items:
            $ref: '#/components/schemas/ValidationResult'
        Errors:
          type: array
          items:
            type: string
    CharacterValidationRule:
      type: object
      properties:
        ShouldMatch:
          type: boolean
        Message:
          type: string
        Regex:
          type: string
    GetAllDiscountsResponse:
      type: object
      properties:
        Discounts:
          type: array
          items:
            $ref: '#/components/schemas/DiscountConfiguration'
        Success:
          type: boolean
        Message:
          type: string
        ErrorMessage:
          type: string
        ErrorNumber:
          type: integer
          format: int32
        FailedValidations:
          type: array
          items:
            $ref: '#/components/schemas/ValidationResult'
        Errors:
          type: array
          items:
            type: string
x-provenance:
  method: harvested
  publisher: Rocket Matter
  source: https://developer.rocketmatter.com/rocketmatterapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)