equipment

Record Planned Downtime Route

Changed on

Frederick, 2026-10-20: "the scanner number 2 ... is down for maintenance tomorrow. So that needs to be noted so that you adjust schedules and jobs." Records the window; the plan counts the machine down on the floor days it covers within one sizing tick. NOT an outage: no vendor email, no alert, no status change. Runbook docs/runbooks/PLANNED_EQUIPMENT_DOWNTIME.md.

post/api/equipment/{equipment_id}/planned-downtime

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

equipment_id, string uuid required

Request body

PlannedDowntimeRequest required

A window in which a machine is out of service on purpose (issue #6459). Both ends carry a timezone offset; the floor's day is America/Los_Angeles.

ends_at left out (2026-11-24, scheduler break S1): a person SAID the machine is down and nobody knows when it is fixed. It stays down for the plan until the window is cancelled (William says it is fixed, rule SCN-6 item 4) or, for a scanner, until that scanner writes a scan. starts_at is when they said it; reason carries who, when and their words.

starts_at, string date-time required
ends_at, string date-time nullable
reason, string required

Response

Successful Response

object required

Changes