Registrations - Clock In, PUT

API Url

Clock In (CI) variant of generic registration

Ignore the URI, for the correct URI see

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

Parameter

FieldTypeDescription
clockInoptionalobject

Clock In

  absenceoptionalobject

Absence

    anyTimeoptionalboolean
    hoursoptionalnumber

Absence time in seconds.

    reasonoptionalobject

Absence reason

      codestring

ID of reason

      typestring

Reason type

Allowed values:"AA"
    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
  autoJobInoptionalboolean

Auto create job in registrations, if it is set to true and required ProJob setup is valid.

  commentoptionalstring

Extra data fill in when there are no secondary reasons.

  dayProfIdoptionalstring

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.

  explicitTimeoptionaldatetime

Time entered if fixed reason has ticked the "Explicit corrected time" field

  isOvertimeoptionalboolean

The Clock In is overtime, the overtime button has been used at clock-in.

  lockDayProfileoptionalboolean

See "DayProfId".

  lockUserDataoptionalboolean

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.

  reasonoptionalobject

Reason

    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:"CIE,CIL,CIA,CIS"
  totalTimeAccountIdoptionalstring

Account where total time is posted in addition to the account specified on the day profile.

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: CI