Registrations - Clock In, PUT
API Url
Clock In (CI) variant of generic registration
Ignore the URI, for the correct URI see
http://localhost:16010/ProMarkREST/{DummyRegistration?type=CI}
Parameter
| Field | Type | Description |
|---|---|---|
clockInoptional | object | Clock In |
absenceoptional | object | Absence |
anyTimeoptional | boolean | |
hoursoptional | number | Absence time in seconds. |
reasonoptional | object | Absence reason |
| code | string | ID of reason |
| type | string | Reason type "AA" |
| type | number |
-10123 |
autoJobInoptional | boolean | Auto create job in registrations, if it is set to true and required ProJob setup is valid. |
commentoptional | string | Extra data fill in when there are no secondary reasons. |
dayProfIdoptional | string | The day profile used as basis for validating the registration. It is usually the day profile from the employee's schedule or from the clock-in reason (if any). It is alternatively possible to explicitly assign a day profile ID to be used for the registration by setting lockDayProfile to true. If lockDayProfile is not set ProMark will as fill-in the field and conversely the class user should not. |
explicitTimeoptional | datetime | Time entered if fixed reason has ticked the "Explicit corrected time" field |
isOvertimeoptional | boolean | The Clock In is overtime, the overtime button has been used at clock-in. |
lockDayProfileoptional | boolean | See "DayProfId". |
lockUserDataoptional | boolean | Similar to lockDayProfile but works on attendanceDate. Can also in some cases prevent ProMark from automatically changing the selected clock-in reason to something else. |
reasonoptional | object | Reason |
| 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 "CIE,CIL,CIA,CIS" |
totalTimeAccountIdoptional | string | Account where total time is posted in addition to the account specified on the day profile. |
| 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: CI |