Registrations - Time Supplement, PUT
API Url
Time Supplement (AT) variant of generic registration
Ignore the URI, for the correct URI see
http://localhost:16010/ProMarkREST/{DummyRegistration?type=AT}
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 |
| 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 |
| timeSupplement | object | TimeSupplement |
extraDataoptional | string | Answer to prompt for extra data. It might be required, depens on the setup of the supplement |
| id | string | Id of the time supplement |
projectDimensionoptional | object | Project dimensions, depends on the time supplement set-up. |
| 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 |
| value | number | Value of time supplement, expressed in seconds. |
| transSeq | number | Unique reference of registration |
| type | string | Default value: AT |