HourSquare · Schema

TimeEntryWriteResponse

The 201 (200 for a dry run or a header-less dedupe hit) body of POST /time-clock/events and POST /time-entries (plan §6). type is the EFFECTIVE type (toggle resolves to clock_in or clock_out; a completed shift is shift). workDate / time are the entry's stored wall-clock values in timeZone (an IANA id, or offset when the sent offset was kept), and occurredAt is the server-resolved instant. endsNextDay is true for an overnight shift (the entry stays on the day it started). timeEntryId is null on a dry-run clock-in (nothing was created).

Human ResourcesPayrollTime TrackingWorkforce ManagementSoftware-as-a-Service

Properties

Name Type Description
timeEntryId stringnull
employee object
type string
workDate string
time string
timeZone string
occurredAt string
endsNextDay boolean
status string
dryRun boolean
startTime stringnull
endTime stringnull
totalHours numbernull
View JSON Schema on GitHub

JSON Schema

hoursquare-time-entry-write-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hoursquare/json-schema/hoursquare-time-entry-write-response-schema.json",
  "title": "TimeEntryWriteResponse",
  "description": "The 201 (200 for a dry run or a header-less dedupe hit) body of POST /time-clock/events and\nPOST /time-entries (plan §6). type is the EFFECTIVE type (toggle resolves to\nclock_in or clock_out; a completed shift is shift). workDate / time\nare the entry's stored wall-clock values in timeZone (an IANA id, or offset when the\nsent offset was kept), and occurredAt is the server-resolved instant. endsNextDay is true\nfor an overnight shift (the entry stays on the day it started). timeEntryId is null on a\ndry-run clock-in (nothing was created).",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hoursquare-openapi.json#/components/schemas/TimeEntryWriteResponse",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "timeEntryId": {
      "type": [
        "string",
        "null"
      ],
      "format": "guid"
    },
    "employee": {
      "$ref": "#/$defs/EmployeeRef"
    },
    "type": {
      "type": "string"
    },
    "workDate": {
      "type": "string",
      "format": "date"
    },
    "time": {
      "type": "string",
      "format": "time"
    },
    "timeZone": {
      "type": "string"
    },
    "occurredAt": {
      "type": "string",
      "format": "date-time"
    },
    "endsNextDay": {
      "type": "boolean"
    },
    "status": {
      "type": "string"
    },
    "dryRun": {
      "type": "boolean"
    },
    "startTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "time"
    },
    "endTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "time"
    },
    "totalHours": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    }
  },
  "$defs": {
    "EmployeeRef": {
      "type": "object",
      "description": "Every public response that names an employee carries this pair.",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "format": "guid"
        },
        "externalId": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}

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/hoursquare-time-entry-write-response"
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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.