PeopleHR · Schema

PostAbsenceRequest

CompanyHuman ResourcesSoftware-as-a-ServicePayrollRecruitingEmployee Management

Properties

Name Type Description
APIKey string API key for the Absence schema
Action string Must be set to "AddNewAbsence"
EmployeeId string Employee identifier
DurationType string 1 = day or more, 2 = half day, 3 = quarter day
Reason string Reason for the absence
StartDate string Start date of the absence (YYYY‑MM‑DD)
EndDate string End date of the absence (YYYY‑MM‑DD)
Duration string Length of the absence in days
PartOfDay string AM / PM for part‑day absences
AbsencePaidStatus string 1 = UNPAID, 2 = PAID, 3 = PAID_AT_OTHER_RATE
EmergencyLeave string Boolean string indicating emergency leave
AddComments array Optional collection of comment objects
AddFiles array Optional collection of file objects (DocumentName, File, Description)
View JSON Schema on GitHub

JSON Schema

peoplehr-post-absence-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/peoplehr/main/json-schema/peoplehr-post-absence-request-schema.json",
  "title": "PostAbsenceRequest",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/peoplehr-openapi-generated.yml#/components/schemas/PostAbsenceRequest",
  "type": "object",
  "properties": {
    "APIKey": {
      "type": "string",
      "description": "API key for the Absence schema"
    },
    "Action": {
      "type": "string",
      "description": "Must be set to \"AddNewAbsence\""
    },
    "EmployeeId": {
      "type": "string",
      "description": "Employee identifier"
    },
    "DurationType": {
      "type": "string",
      "description": "1 = day or more, 2 = half day, 3 = quarter day"
    },
    "Reason": {
      "type": "string",
      "description": "Reason for the absence"
    },
    "StartDate": {
      "type": "string",
      "description": "Start date of the absence (YYYY‑MM‑DD)"
    },
    "EndDate": {
      "type": "string",
      "description": "End date of the absence (YYYY‑MM‑DD)"
    },
    "Duration": {
      "type": "string",
      "description": "Length of the absence in days"
    },
    "PartOfDay": {
      "type": "string",
      "description": "AM / PM for part‑day absences"
    },
    "AbsencePaidStatus": {
      "type": "string",
      "description": "1 = UNPAID, 2 = PAID, 3 = PAID_AT_OTHER_RATE"
    },
    "EmergencyLeave": {
      "type": "string",
      "description": "Boolean string indicating emergency leave"
    },
    "AddComments": {
      "type": "array",
      "description": "Optional collection of comment objects"
    },
    "AddFiles": {
      "type": "array",
      "description": "Optional collection of file objects (DocumentName, File, Description)"
    }
  },
  "required": [
    "APIKey",
    "Action",
    "EmployeeId",
    "DurationType",
    "Reason",
    "StartDate",
    "EndDate",
    "Duration",
    "AbsencePaidStatus",
    "EmergencyLeave"
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/peoplehr-post-absence-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.