Rotageek · Schema

Rotageek.AspNetCore.PublicApi.Models.LeaveRequestResponseModel

Container for leave request response object

CompanyWorkforce ManagementSchedulingAI InsightsHR Integration

Properties

Name Type Description
id stringnull Leave request id
start string Leave request start date
end string Leave request end date
startAllDay boolean Indicates whether leave request start day is a whole day
endAllDay boolean Indicates whether leave request end day is a whole day
leaveTypeId stringnull Leave type id of this leave request
notes stringnull Leave request notes
response stringnull Leave request response comment
status object
createdOn string Date when the request has been created
duration number Leave duration in working hours
userId stringnull Requester unique id
leaveDays arraynull Collection of leave days of this leave request
leaveTypeSecondaryCode stringnull The code a payroll provider knows this leave type by, its accrual type, where one is configured. Shorter and less expressive than Rotageek.AspNetCore.PublicApi.Models.LeaveRequestResponseModel.LeaveTy
leaveReason object
View JSON Schema on GitHub

JSON Schema

rotageek-rotageek-asp-net-core-public-api-models-leave-request-response-model-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rotageek/json-schema/rotageek-rotageek-asp-net-core-public-api-models-leave-request-response-model-schema.json",
  "title": "Rotageek.AspNetCore.PublicApi.Models.LeaveRequestResponseModel",
  "description": "Container for leave request response object",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rotageek-leave-api-openapi.yml#/components/schemas/Rotageek.AspNetCore.PublicApi.Models.LeaveRequestResponseModel",
  "type": "object",
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Leave request id"
    },
    "start": {
      "type": "string",
      "description": "Leave request start date",
      "format": "date-time"
    },
    "end": {
      "type": "string",
      "description": "Leave request end date",
      "format": "date-time"
    },
    "startAllDay": {
      "type": "boolean",
      "description": "Indicates whether leave request start day is a whole day"
    },
    "endAllDay": {
      "type": "boolean",
      "description": "Indicates whether leave request end day is a whole day"
    },
    "leaveTypeId": {
      "type": [
        "string",
        "null"
      ],
      "description": "Leave type id of this leave request"
    },
    "notes": {
      "type": [
        "string",
        "null"
      ],
      "description": "Leave request notes"
    },
    "response": {
      "type": [
        "string",
        "null"
      ],
      "description": "Leave request response comment"
    },
    "status": {
      "$ref": "#/$defs/Rotageek.AspNetCore.PublicApi.Models.LeaveRequestStatus"
    },
    "createdOn": {
      "type": "string",
      "description": "Date when the request has been created",
      "format": "date-time"
    },
    "duration": {
      "type": "number",
      "description": "Leave duration in working hours",
      "format": "double"
    },
    "userId": {
      "type": [
        "string",
        "null"
      ],
      "description": "Requester unique id"
    },
    "leaveDays": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/Rotageek.AspNetCore.PublicApi.Models.LeaveDayModel"
      },
      "description": "Collection of leave days of this leave request"
    },
    "leaveTypeSecondaryCode": {
      "type": [
        "string",
        "null"
      ],
      "description": "The code a payroll provider knows this leave type by, its accrual type, where one is\nconfigured. Shorter and less expressive than Rotageek.AspNetCore.PublicApi.Models.LeaveRequestResponseModel.LeaveTypeId because payroll\nsystems cap the field, Micropay at ten characters, so an integration that has to name the\nleave type to a payroll system should prefer this and fall back to Rotageek.AspNetCore.PublicApi.Models.LeaveRequestResponseModel.LeaveTypeId.\nNull when none is set."
    },
    "leaveReason": {
      "$ref": "#/$defs/Rotageek.AspNetCore.PublicApi.Models.LeaveReasonModel"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Rotageek.AspNetCore.PublicApi.Models.LeaveDayModel": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "description": "Leave day date",
          "format": "date-time"
        },
        "duration": {
          "type": "number",
          "description": "Leave duration in this leave day",
          "format": "float"
        }
      },
      "additionalProperties": false,
      "description": "Container for leave request day response object"
    },
    "Rotageek.AspNetCore.PublicApi.Models.LeaveReasonModel": {
      "type": "object",
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "code": {
          "type": [
            "string",
            "null"
          ]
        },
        "secondaryCode": {
          "type": [
            "string",
            "null"
          ],
          "description": "The code a payroll provider knows this reason by, where one is configured. Shorter and\nless expressive than Rotageek.AspNetCore.PublicApi.Models.LeaveReasonModel.Code because payroll systems cap the field — Micropay\nat ten characters — so an integration that has to name the reason to a payroll system\nshould prefer this and fall back to Rotageek.AspNetCore.PublicApi.Models.LeaveReasonModel.Code. Null when none is set."
        }
      },
      "additionalProperties": false
    },
    "Rotageek.AspNetCore.PublicApi.Models.LeaveRequestStatus": {
      "enum": [
        "Outstanding",
        "Approved",
        "Rejected",
        "Cancelled"
      ],
      "type": "string",
      "description": "Describes the leave request status"
    }
  }
}

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/rotageek-rotageek-asp-net-core-public-api-models-leave-request-response-model"
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.