Department Shift

Get a department shift by id. A deleted shift is still returned, with `deleted` set to true.

Changed on
get/api/department-shifts/{id}

Request

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

Path parameters

idstring required

Response

The department shift for the given id

idstring

Unique id of the shift.

departmentIdstring nullable

Id of the department that works this shift.

namestring nullable

Name of the shift.

startTimestring nullable

Time the shift starts, as a four-digit 24-hour clock value in HHmm format: "0000" is midnight, "0800" is 8:00 AM and "1730" is 5:30 PM. Returned exactly as stored.

endTimestring nullable

Time the shift ends, in the same HHmm format as startTime. An end time earlier than the start time means the shift runs overnight and ends on the next day. Returned exactly as stored.

lengthOfShiftInMinutesinteger nullable

Length of the shift in minutes, from startTime to endTime. An overnight shift wraps past midnight, so "2200" to "0600" is 480. Equal start and end times give 0. Null when either time is not a valid HHmm value (four digits, hours 00 to 23, minutes 00 to 59).

unlimitedCapacityboolean

When true, the shift has no limit on how many pieces of equipment can run at the same time, and simultaneousEquipment is not applied on any day.

maxDailyNewJobsinteger nullable

Maximum number of new jobs to schedule per shift. Null when no maximum is set.

deletedboolean

Indicates whether this shift has been deleted.

Changes