Skip to content
HALOWERK

Mobility, Warnings and Local Data

log clock service date cutoff

Timezone service-date allocation shifts early local events to the preceding operating date at a chosen cutoff. Use it when an agent needs overnight service-day attribution.

POST https://ort.halowerk.com/v1/log-clock-service-date-cutoff

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
zonestringYes
timestampsarrayYes
cutoff_hourintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "zone": {
      "type": "string",
      "maxLength": 75,
      "minLength": 1
    },
    "timestamps": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 40,
        "minLength": 1
      },
      "maxItems": 60,
      "minItems": 1
    },
    "cutoff_hour": {
      "type": "integer",
      "minimum": 0,
      "maximum": 23
    }
  },
  "required": [
    "zone",
    "timestamps",
    "cutoff_hour"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "zone": "America/New_York",
  "timestamps": [
    "2026-11-01T01:35:00-04:00",
    "2026-11-01T01:20:00-05:00",
    "2026-11-01T01:35:00-05:00",
    "2026-11-04T00:15:00Z"
  ],
  "cutoff_hour": 4
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "reassigned": {
          "type": "integer"
        },
        "first_business_date": {
          "type": "string"
        },
        "last_business_date": {
          "type": "string"
        }
      },
      "required": [
        "reassigned",
        "first_business_date",
        "last_business_date"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’