Discards the current shift for an employee. If they are on a break, it will be ended automatically.
POST https://apimy.yourpayroll.io/api/v2/ess/{employeeId}/timeandattendance/discard
Parameter name | Value | Description | Additional |
---|---|---|---|
employeeId | int32 | Required |
The request body takes a complete ClockOffModel resource, containing the following writable properties:
{
"employeeId": "int32",
"image": "byte",
"ipAddress": "string",
"isAdminInitiated": "boolean",
"isPaidBreak": "boolean",
"kioskId": "int32",
"latitude": "double",
"longitude": "double",
"note": "string",
"noteVisibility": "string",
"recordedTimeUtc": "date-time",
"utcOffset": "string"
}
Name | Type | Description |
---|---|---|
employeeId | int32 |
Nullable |
image | byte | Byte[] |
ipAddress | string | String |
isAdminInitiated | boolean | Boolean |
isPaidBreak | boolean | Boolean |
kioskId | int32 |
Nullable |
latitude | double |
Nullable |
longitude | double |
Nullable |
note | string | String |
noteVisibility | string |
Nullable Possible values are:
|
recordedTimeUtc | date-time |
Nullable |
utcOffset | string |
Nullable |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
Powered by DapperDox