Trimble · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Trimble Leave Codes API

9 actions 9 updates phrasing extends openapi/trimble-leave-codes-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Trimble's API. It is a proposal applied on top of the contract, not a document Trimble publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 9

$.info
$.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/cache'].get
$.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/cache/search'].post
$.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/cache/{ryvitId_value}'].get
$.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/cache/__ryvitId/{ryvitId_value}'].get
$.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/cache/keyid/{KeyID}'].get
$.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/cache/natural/{PRCo}/{LeaveCode}'].get
$.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/actions/add'].post
$.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/actions/change'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Trimble Leave Codes API
  version: 1.0.0
extends: openapi/trimble-leave-codes-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-17'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 8
- target: $.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/cache'].get
  update:
    x-apievangelist-phrasing:
      intent: List leave codes for a subscriber
      effect: read
      questions:
      - What leave codes are set up for a payroll company?
      - Can I get all leave codes for a subscriber?
      instructions:
      - text: List leave codes for subscriber {subscriber_code}.
        slots:
          subscriber_code: path.subscriber_code
      - text: Show up to {limit} leave codes for {subscriber_code} modified since {modifiedUTCSince}.
        slots:
          limit: query.limit
          subscriber_code: path.subscriber_code
          modifiedUTCSince: query.modifiedUTCSince
      method: generated
      generated: '2026-11-17'
- target: $.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/cache/search'].post
  update:
    x-apievangelist-phrasing:
      intent: Search cached leave codes
      effect: read
      questions:
      - How do I find leave codes for one employee?
      - Can I search cached leave codes modified between two dates?
      instructions:
      - text: Search cached leave codes for subscriber {subscriber_code}.
        slots:
          subscriber_code: path.subscriber_code
      - text: Find leave codes for {subscriber_code} modified after {modifiedUtcAfter}.
        slots:
          subscriber_code: path.subscriber_code
          modifiedUtcAfter: requestBody.modifiedUtcAfter
      method: generated
      generated: '2026-11-17'
- target: $.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/cache/{ryvitId_value}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a leave code by its record ID
      effect: read
      questions:
      - How do I look up a leave code by its record ID?
      - What does a single leave code record contain?
      instructions:
      - text: Get leave code {ryvitId_value} for subscriber {subscriber_code}.
        slots:
          ryvitId_value: path.ryvitId_value
          subscriber_code: path.subscriber_code
      - text: Show the leave code record {ryvitId_value} in {subscriber_code}.
        slots:
          ryvitId_value: path.ryvitId_value
          subscriber_code: path.subscriber_code
      method: generated
      generated: '2026-11-17'
- target: $.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/cache/__ryvitId/{ryvitId_value}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a leave code by its record ID (legacy path)
      effect: read
      questions:
      - Is there an older path that fetches a leave code by record ID?
      - What does the legacy leave code lookup return?
      instructions:
      - text: Fetch the leave code record {ryvitId_value} for {subscriber_code} using the legacy path.
        slots:
          ryvitId_value: path.ryvitId_value
          subscriber_code: path.subscriber_code
      - text: Look up leave code {ryvitId_value} in {subscriber_code} via the legacy endpoint.
        slots:
          ryvitId_value: path.ryvitId_value
          subscriber_code: path.subscriber_code
      method: generated
      generated: '2026-11-17'
- target: $.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/cache/keyid/{KeyID}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one cached leave code by its KeyID
      effect: read
      questions:
      - How do I pull a single cached leave code using its KeyID?
      - Can I retrieve one leave code from the cache if I only have the KeyID portion of its key?
      - Which PR leave code data comes back when I request a cached object by KeyID?
      instructions:
      - text: Get the cached leave code with KeyID {KeyID} for subscriber {subscriber_code}.
        slots:
          KeyID: path.KeyID
          subscriber_code: path.subscriber_code
      - text: Fetch cached leave code object by KeyID {KeyID} under subscriber {subscriber_code}.
        slots:
          KeyID: path.KeyID
          subscriber_code: path.subscriber_code
      method: generated
      generated: '2026-11-17'
- target: $.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/cache/natural/{PRCo}/{LeaveCode}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a leave code by company and leave code
      effect: read
      questions:
      - How do I fetch a leave code by its company and leave code?
      - What does a leave code record look like when I know both identifiers?
      instructions:
      - text: Get leave code {LeaveCode} for company {PRCo} in subscriber {subscriber_code}.
        slots:
          LeaveCode: path.LeaveCode
          PRCo: path.PRCo
          subscriber_code: path.subscriber_code
      - text: Show the leave code {LeaveCode} record for {PRCo} under {subscriber_code}.
        slots:
          LeaveCode: path.LeaveCode
          PRCo: path.PRCo
          subscriber_code: path.subscriber_code
      method: generated
      generated: '2026-11-17'
- target: $.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/actions/add'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a leave code
      effect: write
      questions:
      - How do I add a new leave type to payroll?
      - Can I set accrual and carryover on a new leave code?
      instructions:
      - text: Add leave code {LeaveCode} for company {PRCo} in {subscriber_code} with unit {UM}.
        slots:
          LeaveCode: requestBody.LeaveCode
          PRCo: requestBody.PRCo
          subscriber_code: path.subscriber_code
          UM: requestBody.UM
      - text: Create a new leave code {LeaveCode} in {subscriber_code} for {PRCo} described as {Description}, units {UM}.
        slots:
          LeaveCode: requestBody.LeaveCode
          subscriber_code: path.subscriber_code
          PRCo: requestBody.PRCo
          Description: requestBody.Description
          UM: requestBody.UM
      method: generated
      generated: '2026-11-17'
- target: $.paths['/direct/subscribers/{subscriber_code}/vista/pr/2/data/leave_codes/actions/change'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a leave code
      effect: write
      questions:
      - How do I change an existing leave code?
      - Can I update the accrual type on a leave code I already have?
      instructions:
      - text: Change leave code {LeaveCode} for company {PRCo} in {subscriber_code} to accrual type {AccType}.
        slots:
          LeaveCode: requestBody.LeaveCode
          PRCo: requestBody.PRCo
          subscriber_code: path.subscriber_code
          AccType: requestBody.AccType
      - text: Update the description of leave code {LeaveCode} ({PRCo}, {subscriber_code}) to {Description}.
        slots:
          LeaveCode: requestBody.LeaveCode
          PRCo: requestBody.PRCo
          subscriber_code: path.subscriber_code
          Description: requestBody.Description
      method: generated
      generated: '2026-11-17'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/trimble-leave-codes-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.