Skip to main content

UpsertTeamLabourLogDto

teamIdstringrequired
tunnelIdstringrequired
logDatestringrequired
shiftIdstringrequired

Shift.id — the shift this roster is for.

plannedHeadcountnumberrequired

Possible values: >= 0

presentWorkerIdsstring[]required
absentWorkers object[]required
  • Array [
  • workerIdstringrequired
    reasonstringrequired

    Possible values: [SICK, ANNUAL_LEAVE, UNPAID_LEAVE, RDO, BEREAVEMENT, COMPASSIONATE, INJURY, UNEXPLAINED, OTHER]

    notestring
  • ]
  • subcontractorPresentnumberrequired

    Possible values: >= 0

    rdoWorkerIdsstring[]required
    notesstring
    UpsertTeamLabourLogDto
    {
    "teamId": "string",
    "tunnelId": "string",
    "logDate": "string",
    "shiftId": "string",
    "plannedHeadcount": 0,
    "presentWorkerIds": [
    "string"
    ],
    "absentWorkers": [
    {
    "workerId": "string",
    "reason": "SICK",
    "note": "string"
    }
    ],
    "subcontractorPresent": 0,
    "rdoWorkerIds": [
    "string"
    ],
    "notes": "string"
    }