Registrations - Project Time, PUT
API Url
Project Time (PR) variant of generic registration
Ignore the URI, for the correct URI see
http://localhost:16010/ProMarkREST/{DummyRegistration?type=PR}
Parameter
| Field | Type | Description |
|---|---|---|
| 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 |
| projectTime | object | Project Time |
fromoptional | number | Start time of the project registration in seconds from midnight. |
noteoptional | string | Comment on the registration. |
| project | object | The Project object |
| activity | object | Activity |
| id | string | ID of activity |
extraInfooptional | object[] | Collection of extra info objects |
| id | string | ID of extra info |
| value | object | Extra info value |
| id | string | ID of extra info value |
pieceworkoptional | object | Piecework |
| id | string | ID of piecework |
| project | object | Project |
| id | string | ID of project |
timeTypeoptional | object | Time Type |
| id | string | ID of timeType |
rateoptional | number | |
| registeredTime | number | Project time registered in seconds. |
tooptional | number | End time of the project registration in seconds from midnight. |
| 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: PR |