Registrations - Project Time, PUT

API Url

Project Time (PR) variant of generic registration

Ignore the URI, for the correct URI see

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

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
projectTimeobject

Project Time

  fromoptionalnumber

Start time of the project registration in seconds from midnight.

  noteoptionalstring

Comment on the registration.

  projectobject

The Project object

    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

  rateoptionalnumber
  registeredTimenumber

Project time registered in seconds.

  tooptionalnumber

End time of the project registration in seconds from midnight.

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