Discards the current shift for an employee. If they are on a break, it will be ended automatically.


POST https://api.yourpayroll.com.au/api/v2/ess/{employeeId}/timeandattendance/discard

Path parameters

Parameter name Value Description Additional
employeeId int32 Required

Request body

The request body takes a complete ClockOffModel resource, containing the following writable properties:

    "employeeId": "int32",
    "image": "byte",
    "ipAddress": "string",
    "isAdminInitiated": "boolean",
    "kioskId": "int32",
    "latitude": "double",
    "longitude": "double",
    "note": "string",
    "noteVisibility": "string",
    "recordedTimeUtc": "date-time",
    "utcOffset": "string"


Name Type
employeeId int32
image byte
ipAddress string
isAdminInitiated boolean
kioskId int32
latitude double
longitude double
note string
noteVisibility string
recordedTimeUtc date-time
utcOffset string


The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK