Registrations - Partial Absence, PUT
API Url
Partial Absence (AH) variant of generic registration
Ignore the URI, for the correct URI see
It is used for partial absence type
http://localhost:16010/ProMarkREST/{DummyRegistration?type=AH}
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 |
| partialAbsence | object | Partial Absence |
commentoptional | string | Comment for partial absence. |
| interval | object | Required if category.absence_dialog_type = 2. |
| end | number | End of interval |
| start | number | Start of interval |
| 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 |
| reason | object | Reason |
| code | string | ID of reason |
secondaryReasonoptional | object | Secondary reason without distribution. |
| group | string | Secondary reason group. |
| id | string | Secondary reason id. |
| type | string | Reason type "AA" |
timeoptional | number | Absence time in seconds (required if category.absence_dialog_type = 3). |
typeoptional | number | Partial absence type. Allowed values are: |
| 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: AH |
Success 200
| Field | Type | Description |
|---|---|---|
projectDimensionoptional | object | Dimensions of the related project registration. Only if reason is setup to be related to project time. |