Registrations - Clock Out, PUT

API Url

Clock Out (CO) variant of generic registration

Ignore the URI, for the correct URI see

PUT
http://localhost:16010/ProMarkREST/{DummyRegistration?type=CO}

Parameter

FieldTypeDescription
    typenumber

-1: As pre-reported. 0: No absence. 1: Absent percent of day. 2: Absent a number of hours. 3: Absent during a full shift.

Allowed values:-10123
clockOutobject

Clock Out

  absenceoptionalobject

Absence

    hoursoptionalnumber

Absence time in seconds.

    reasonoptionalobject

Absence reason

      codestring

ID of reason

      typestring

Reason type

Allowed values:"AA"
  autoClockOutboolean

TRUE if there is an automatic break end at clockout

  commentoptionalstring

Extra data to fill in when there are no secondary reasons

  coTimeAtNextCIoptionalboolean

TRUE if you want to be prompted for the clockout time at your next clockin

  enteredTimeoptionalnumber

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.

  forcedOvertimeoptionalobject
    alternativeoptionalboolean
    endoptionalnumber

Overtime end in seconds

    startoptionalnumber

Overtime start in seconds.

  isOvertimeoptionalboolean

True if the clock out is overtime

  lockUserDataoptionalboolean

In some cases prevents ProMark from automatically changing the selected clock-out reason to something else.

  reasonoptionalobject

Reason for the Clock Out

    codestring

ID of reason

    distributionoptionalobject

Distribution on secondary reasons with time

      secondaryReasonobject

Secondary reason

        groupstring

Secondary reason group.

        idstring

Secondary reason id.

      timenumber

Reason distribution time in seconds

    secondaryReasonoptionalobject

Secondary reason without distribution

      groupstring

Secondary reason group.

      idstring

Secondary reason id.

    typestring

Reason type

Allowed values:"COE,COL,COS"
empIdstring

Internal employee ID

locationoptionalobject

Geo location of registration

  latitudenumber

Latitude, negative value is west

Size range: -180 to 180
  longitudenumber

Longitude, negative value is south

Size range: -180 to 180
regTimedatetime

The time of registration

terminalIdstring

Numeric ID of registration terminal, or if not numeric, then it's the ID of the user that changed or added the registration

transSeqnumber

Unique reference of registration

typestring
Default value: CO