Registrations - Time Supplement, PUT

API Url

Time Supplement (AT) variant of generic registration

Ignore the URI, for the correct URI see

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

Parameter

FieldTypeDescription
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

timeSupplementobject

TimeSupplement

  extraDataoptionalstring

Answer to prompt for extra data. It might be required, depens on the setup of the supplement

  idstring

Id of the time supplement

  projectDimensionoptionalobject

Project dimensions, depends on the time supplement set-up.

    activityobject

Activity

      idstring

ID of activity

    extraInfooptionalobject[]

Collection of extra info objects

      idstring

ID of extra info

      valueobject

Extra info value

        idstring

ID of extra info value

    pieceworkoptionalobject

Piecework

      idstring

ID of piecework

    projectobject

Project

      idstring

ID of project

    timeTypeoptionalobject

Time Type

      idstring

ID of timeType

  valuenumber

Value of time supplement, expressed in seconds.

transSeqnumber

Unique reference of registration

typestring
Default value: AT