Equipment Downtime

Update an equipment downtime by id. This is a full replacement: the window and the whole set of departments and equipment are saved from the request, in request order, so omitting `departments` clears them. The same rules as create apply: the end cannot be earlier than the start, each department must exist and be listed once, and each piece of equipment must be in its department and be listed once for it. The server fills `departmentName` and `equipmentName` from the records.

Changed on
put/api/equipment-downtimes/{id}

Request

  • Base URL
    https://api.fulcrumpro.com
  • URL
    https://api.fulcrumpro.com/api/equipment-downtimes/{id}
  • Auth
    none declared

Path parameters

idstring required

Request body

startDateTimestring date-time required

When the downtime starts, in UTC. A value with an offset is converted to UTC; a value without an offset is read as UTC.

endDateTimestring date-time required

When the downtime ends, in UTC, read the same way as startDateTime. It cannot be earlier than startDateTime; an end equal to the start is allowed.

Response

The updated equipment downtime

idstring

Unique id of the downtime.

startDateTimestring date-time

When the downtime starts, in UTC.

endDateTimestring date-time

When the downtime ends, in UTC.

deletedboolean

Indicates whether this downtime has been deleted.

Changes