Registrations - Clock Out, PUT
API Url
Clock Out (CO) variant of generic registration
Ignore the URI, for the correct URI see
http://localhost:16010/ProMarkREST/{DummyRegistration?type=CO}
Parameter
| Field | Type | Description |
|---|---|---|
| type | number |
-10123 |
| clockOut | object | Clock Out |
absenceoptional | object | Absence |
hoursoptional | number | Absence time in seconds. |
reasonoptional | object | Absence reason |
| code | string | ID of reason |
| type | string | Reason type "AA" |
| autoClockOut | boolean | TRUE if there is an automatic break end at clockout |
commentoptional | string | Extra data to fill in when there are no secondary reasons |
coTimeAtNextCIoptional | boolean | TRUE if you want to be prompted for the clockout time at your next clockin |
enteredTimeoptional | number | If coTimeAtNextCI is true then the employee is prompted for the actual clock-out time when later clockin-in and the entered time is stored in this field. |
forcedOvertimeoptional | object | |
alternativeoptional | boolean | |
endoptional | number | Overtime end in seconds |
startoptional | number | Overtime start in seconds. |
isOvertimeoptional | boolean | True if the clock out is overtime |
lockUserDataoptional | boolean | In some cases prevents ProMark from automatically changing the selected clock-out reason to something else. |
reasonoptional | object | Reason for the Clock Out |
| code | string | ID of reason |
distributionoptional | object | Distribution on secondary reasons with time |
| secondaryReason | object | Secondary reason |
| group | string | Secondary reason group. |
| id | string | Secondary reason id. |
| time | number | Reason distribution time in seconds |
secondaryReasonoptional | object | Secondary reason without distribution |
| group | string | Secondary reason group. |
| id | string | Secondary reason id. |
| type | string | Reason type "COE,COL,COS" |
| empId | string | Internal employee ID |
locationoptional | object | Geo location of registration |
| latitude | number | Latitude, negative value is west -180 to 180 |
| longitude | number | Longitude, negative value is south -180 to 180 |
| regTime | datetime | The time of registration |
| terminalId | string | Numeric ID of registration terminal, or if not numeric, then it's the ID of the user that changed or added the registration |
| transSeq | number | Unique reference of registration |
| type | string | Default value: CO |