Wenmar Pro Appointments API

Maintenance appointment codes, appointments and what is due on an order

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 12

DELETE /appointment_codes Appointment codes delete #
GET /appointment_codes Appointment codes index #
PUT /appointment_codes Appointment codes upsert #
GET /appointment_codes/{code}/proposal Appointment codes proposal #
DELETE /appointments/{id} Appointments delete #
PATCH /appointments/{id} Appointments update #
GET /customers/{id}/appointments Customers appointments index #
POST /customers/{id}/appointments Customers appointments create #
GET /reminder_rules Reminder rules index #
DELETE /reminder_rules/{code} Reminder rules delete #
PUT /reminder_rules/{code} Reminder rules set #
GET /work_orders/{id}/maintenance_due Work orders maintenance due #

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/wenmarpro-com:wenmarpro-com-appointments-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

wenmarpro-com-appointments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Maintenance appointment codes, appointments and what is due on an order
  license:
    name: ''
  title: Wenmar Appointments API
  version: 0.1.0
tags:
- description: Maintenance appointment codes, appointments and what is due on an order
  name: Appointments
paths:
  /appointment_codes:
    delete:
      operationId: appointment_codes_delete
      parameters:
      - description: the appointment code to delete
        in: query
        name: code
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
          description: '`{ code, deleted: true }`'
        '401':
          description: unauthenticated
        '403':
          description: forbidden (needs catalog.write)
        '404':
          description: no such code
        '422':
          description: 'appointment_code_in_use: an appointment uses the code'
      security:
      - bearer: []
      tags:
      - Appointments
      summary: Appointment codes delete
      x-summary-source: derived
    get:
      operationId: appointment_codes_index
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  type: object
                type: array
          description: 'every appointment code in code order: code, description, interval_days, interval_km'
        '401':
          description: unauthenticated
      security:
      - bearer: []
      tags:
      - Appointments
      summary: Appointment codes index
      x-summary-source: derived
    put:
      operationId: appointment_codes_upsert
      requestBody:
        content:
          application/json:
            schema:
              properties:
                code:
                  default: ''
                  description: One or two characters, no blanks inside; stored trimmed, upper case
                  type: string
                description:
                  default: ''
                  description: At most 20 characters, plain; trailing blanks trimmed; may be blank
                  type: string
                interval_days:
                  default: 0
                  description: Days until the next appointment, 0-999
                  format: int64
                  type: integer
                interval_km:
                  default: 0
                  description: Kilometres until the next appointment, 0-999999
                  format: int64
                  type: integer
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
          description: the stored row plus `created`
        '401':
          description: unauthenticated
        '403':
          description: forbidden (needs catalog.write)
        '422':
          description: 'validation_failed: code, description, interval_days, interval_km'
      security:
      - bearer: []
      tags:
      - Appointments
      summary: Appointment codes upsert
      x-summary-source: derived
  /appointment_codes/{code}/proposal:
    get:
      operationId: appointment_codes_proposal
      parameters:
      - description: the appointment code
        in: path
        name: code
        required: true
        schema:
          type: string
      - description: 'YYYY-MM-DD; default: the location''s today'
        in: query
        name: base_on
        required: false
        schema:
          type: string
      - description: default 0
        in: query
        name: base_km
        required: false
        schema:
          format: int64
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
          description: '`{ code, description, due_on, due_km }`: the base plus the code''s intervals'
        '401':
          description: unauthenticated
        '404':
          description: no such code
        '422':
          description: base_on is not a date
      security:
      - bearer: []
      tags:
      - Appointments
      summary: Appointment codes proposal
      x-summary-source: derived
  /appointments/{id}:
    delete:
      operationId: appointments_delete
      parameters:
      - description: appointment id
        in: path
        name: id
        required: true
        schema:
          format: int64
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
          description: '`{ id, deleted: true }`'
        '401':
          description: unauthenticated
        '403':
          description: forbidden (needs customers.write)
        '404':
          description: not found
      security:
      - bearer: []
      tags:
      - Appointments
      summary: Appointments delete
      x-summary-source: derived
    patch:
      operationId: appointments_update
      parameters:
      - description: appointment id
        in: path
        name: id
        required: true
        schema:
          format: int64
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              properties:
                code:
                  default: null
                  description: An appointment code on file
                  type:
                  - string
                  - 'null'
                customer_id:
                  default: null
                  description: The customer (create)
                  format: int64
                  type:
                  - integer
                  - 'null'
                due_km:
                  default: null
                  description: Kilometre mark, 0 to 99999999
                  format: int64
                  type:
                  - integer
                  - 'null'
                due_on:
                  default: null
                  description: YYYY-MM-DD, or "" for blank
                  type:
                  - string
                  - 'null'
                license_plate:
                  default: null
                  description: The vehicle's plate, at most 7 characters; stored upper case
                  type:
                  - string
                  - 'null'
                make:
                  default: null
                  description: At most 10 characters
                  type:
                  - string
                  - 'null'
                model:
                  default: null
                  description: At most 15 characters
                  type:
                  - string
                  - 'null'
                year:
                  default: null
                  description: At most 4 characters
                  type:
                  - string
                  - 'null'
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
          description: the appointment
        '401':
          description: unauthenticated
        '403':
          description: forbidden (needs customers.write)
        '404':
          description: not found
        '422':
          description: validation_failed
      security:
      - bearer: []
      tags:
      - Appointments
      summary: Appointments update
      x-summary-source: derived
  /customers/{id}/appointments:
    get:
      operationId: customers_appointments_index
      parameters:
      - description: customer id
        in: path
        name: id
        required: true
        schema:
          format: int64
          type: integer
      - description: only this plate
        in: query
        name: license_plate
        required: false
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  type: object
                type: array
          description: the customer's appointments by plate, code, id
        '401':
          description: unauthenticated
        '403':
          description: forbidden (needs customers.read)
        '404':
          description: customer not found
      security:
      - bearer: []
      tags:
      - Appointments
      summary: Customers appointments index
      x-summary-source: derived
    post:
      operationId: customers_appointments_create
      parameters:
      - description: customer id
        in: path
        name: id
        required: true
        schema:
          format: int64
          type: integer
      - description: replays the first create with this key
        in: header
        name: Idempotency-Key
        required: false
        schema:
          type:
          - string
          - 'null'
      requestBody:
        content:
          application/json:
            schema:
              properties:
                code:
                  default: null
                  description: An appointment code on file
                  type:
                  - string
                  - 'null'
                due_km:
                  default: null
                  description: Kilometre mark, 0 to 99999999
                  format: int64
                  type:
                  - integer
                  - 'null'
                due_on:
                  default: null
                  description: YYYY-MM-DD, or "" for blank
                  type:
                  - string
                  - 'null'
                id:
                  default: null
                  description: The appointment (update, delete)
                  format: int64
                  type:
                  - integer
                  - 'null'
                license_plate:
                  default: null
                  description: The vehicle's plate, at most 7 characters; stored upper case
                  type:
                  - string
                  - 'null'
                make:
                  default: null
                  description: At most 10 characters
                  type:
                  - string
                  - 'null'
                model:
                  default: null
                  description: At most 15 characters
                  type:
                  - string
                  - 'null'
                year:
                  default: null
                  description: At most 4 characters
                  type:
                  - string
                  - 'null'
              type: object
        required: false
      responses:
        '201':
          content:
            application/json:
              schema:
                type: object
          description: the appointment
        '401':
          description: unauthenticated
        '403':
          description: forbidden (needs customers.write)
        '404':
          description: customer not found
        '422':
          description: validation_failed or idempotency_key_reused
      security:
      - bearer: []
      tags:
      - Appointments
      summary: Customers appointments create
      x-summary-source: derived
  /reminder_rules:
    get:
      operationId: reminder_rules_index
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  type: object
                type: array
          description: 'every reminder rule in code order: code, description, kind, service_key, active, interval_days, interval_km'
        '401':
          description: unauthenticated
      security:
      - bearer: []
      tags:
      - Appointments
      summary: Reminder rules index
      x-summary-source: derived
  /reminder_rules/{code}:
    delete:
      operationId: reminder_rules_delete
      parameters:
      - description: the appointment code
        in: path
        name: code
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
          description: '`{ code, deleted: true }`'
        '401':
          description: unauthenticated
        '403':
          description: forbidden (needs catalog.write)
        '404':
          description: no such reminder rule
      security:
      - bearer: []
      tags:
      - Appointments
      summary: Reminder rules delete
      x-summary-source: derived
    put:
      operationId: reminder_rules_set
      parameters:
      - description: the appointment code
        in: path
        name: code
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                active:
                  default: null
                  description: false pauses the rule (default true)
                  type:
                  - boolean
                  - 'null'
                kind:
                  default: null
                  description: service, tires, inspection or other (default service)
                  type:
                  - string
                  - 'null'
                service_key:
                  default: null
                  description: 'The work that resets it when an order posts: a job key such as maintenance.oil_change, or

                    a category key such as tires. Empty = posting never resets it.'
                  type:
                  - string
                  - 'null'
              required: []
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
          description: the stored rule
        '401':
          description: unauthenticated
        '403':
          description: forbidden (needs catalog.write)
        '404':
          description: no such appointment code
        '422':
          description: 'validation_failed: kind, service_key'
      security:
      - bearer: []
      tags:
      - Appointments
      summary: Reminder rules set
      x-summary-source: derived
  /work_orders/{id}/maintenance_due:
    get:
      operationId: work_orders_maintenance_due
      parameters:
      - description: work order id
        in: path
        name: id
        required: true
        schema:
          format: int64
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  type: object
                type: array
          description: 'the appointments due for the order''s vehicle, in code order: code, description'
        '401':
          description: unauthenticated
        '403':
          description: not authorized
        '404':
          description: not found
      security:
      - bearer: []
      tags:
      - Appointments
      summary: Work orders maintenance due
      x-summary-source: derived
components:
  securitySchemes:
    bearer:
      scheme: bearer
      type: http