Charthop timeoffAdjustment API
The timeoffAdjustment API from Charthop — 2 operation(s) for timeoffadjustment.
The timeoffAdjustment API from Charthop — 2 operation(s) for timeoffadjustment.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/charthop-timeoffadjustment-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
openapi: 3.2.0
info:
description: REST API for ChartHop
version: V1.0.0
title: ChartHop access Timeoff Adjustment API
contact:
name: ChartHop
url: https://www.charthop.com
email: support@charthop.com
servers:
- url: https://localhost
- url: http://localhost
tags:
- name: timeoffAdjustment
paths:
/v1/org/{orgId}/timeoff/adjustment:
get:
tags:
- timeoffAdjustment
summary: Get all time off balance adjustments for an organization
operationId: listAdjustments
parameters:
- name: orgId
in: path
description: Organization ID
required: true
schema:
type: string
responses:
'200':
description: List of time off adjustments retrieved successfully
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/TimeOffBalanceAdjustment'
'403':
description: Permission denied
'404':
description: Organization not found
post:
tags:
- timeoffAdjustment
summary: Create a time off balance adjustment
operationId: createAdjustment
parameters:
- name: orgId
in: path
description: Organization ID
required: true
schema:
type: string
responses:
'201':
description: Time off adjustment created successfully
content:
application/json:
schema:
$ref: '#/components/schemas/TimeOffBalanceAdjustment'
'400':
description: Invalid input
'403':
description: Permission denied
'404':
description: Organization not found
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateTimeOffBalanceAdjustment'
description: Time off adjustment data
required: true
/v1/org/{orgId}/timeoff/adjustment/{adjustmentId}:
get:
tags:
- timeoffAdjustment
summary: Get a specific time off balance adjustment by ID
operationId: getAdjustment
parameters:
- name: orgId
in: path
description: Organization ID
required: true
schema:
type: string
- name: adjustmentId
in: path
description: Time off adjustment ID
required: true
schema:
type: string
responses:
'200':
description: Time off adjustment retrieved successfully
content:
application/json:
schema:
$ref: '#/components/schemas/TimeOffBalanceAdjustment'
'403':
description: Permission denied
'404':
description: Time off adjustment not found
patch:
tags:
- timeoffAdjustment
summary: Update an existing time off balance adjustment
operationId: updateAdjustment
parameters:
- name: orgId
in: path
description: Organization ID
required: true
schema:
type: string
- name: adjustmentId
in: path
description: Time off adjustment ID
required: true
schema:
type: string
responses:
'204':
description: Time off adjustment updated successfully
'400':
description: Invalid input
'403':
description: Permission denied
'404':
description: Time off adjustment not found
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateTimeOffBalanceAdjustment'
description: Time off adjustment update data
required: true
delete:
tags:
- timeoffAdjustment
summary: Delete a time off balance adjustment
operationId: deleteAdjustment
parameters:
- name: orgId
in: path
description: Organization ID
required: true
schema:
type: string
- name: adjustmentId
in: path
description: Time off adjustment ID
required: true
schema:
type: string
responses:
'204':
description: Time off adjustment deleted successfully
'403':
description: Permission denied
'404':
description: Time off adjustment not found
components:
schemas:
Attribution:
type: object
properties:
principalUserId:
type: string
example: 588f7ee98f138b19220041a7
agentUserIds:
type: array
items:
type: string
example: 588f7ee98f138b19220041a7
eventId:
type: string
example: 588f7ee98f138b19220041a7
aiChatId:
type: string
example: 588f7ee98f138b19220041a7
aiToolUseId:
type: string
channel:
type: string
enum:
- WEB
- MOBILE
- SLACK
- TEAMS
- MCP
UpdateTimeOffBalanceAdjustment:
type: object
properties:
days:
type: number
description: balance adjustment
CreateTimeOffBalanceAdjustment:
type: object
required:
- timeOffPolicyId
- date
- personId
- days
properties:
timeOffPolicyId:
type: string
description: policy id to tie the balance to
example: 588f7ee98f138b19220041a7
date:
type: string
format: date
description: date of adjustment
personId:
type: string
description: person to tie the balance adjustment to
example: 588f7ee98f138b19220041a7
days:
type: number
description: balance adjustment
TimeOffBalanceAdjustment:
type: object
required:
- id
- orgId
- timeOffPolicyId
- date
- personId
- days
properties:
id:
type: string
description: Globally unique id of time off
example: 588f7ee98f138b19220041a7
orgId:
type: string
description: Org that the time off belongs to
example: 588f7ee98f138b19220041a7
timeOffPolicyId:
type: string
description: policy id to tie the balance to
example: 588f7ee98f138b19220041a7
date:
type: string
format: date
description: date of adjustment
personId:
type: string
description: person to tie the balance adjustment to
example: 588f7ee98f138b19220041a7
days:
type: number
description: balance adjustment
createId:
type: string
description: created by user id
example: 588f7ee98f138b19220041a7
createBehalfId:
type: string
description: created on behalf of user id
example: 588f7ee98f138b19220041a7
createAttribution:
$ref: '#/components/schemas/Attribution'
createAt:
type: string
description: created timestamp
example: '2017-01-24T13:57:52Z'
updateId:
type: string
description: last updated by user id
example: 588f7ee98f138b19220041a7
updateBehalfId:
type: string
description: last updated on behalf of user id
example: 588f7ee98f138b19220041a7
updateAttribution:
$ref: '#/components/schemas/Attribution'
updateAt:
type: string
description: last updated timestamp
example: '2017-01-24T13:57:52Z'
deleteId:
type: string
description: deleted by user id
example: 588f7ee98f138b19220041a7
deleteBehalfId:
type: string
description: deleted on behalf of user id
example: 588f7ee98f138b19220041a7
deleteAttribution:
$ref: '#/components/schemas/Attribution'
deleteAt:
type: string
description: deleted timestamp
example: '2017-01-24T13:57:52Z'