General - Get registrations
API Url
Load all registrations.
GET
http://localhost:16010/ProMarkREST/rest/General/registrations
Permissions: User
Query parameters
| Field | Type | Description |
|---|---|---|
addEmptyDaysoptional | Boolean | Include missing 'Scheduled work days' entries. |
addInvalidoptional | Boolean | Include also invalid registrations. Default is TRUE. |
filteroptional | String | Filter fields and its values and conditions. |
fromoptional | Date | Load registrations from this date forward. Default is TODAY. |
tooptional | Date | Load registrations until this date. Default is TODAY. |
transTypeoptional | String | Comma delimited list of registration types to return. |
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
| registrations | Object[] | Collection of employee registrations. See possible registration type for ProTime/ProJob. |
messageoptional | Object | Object containing response messages. |
| code | Number | Message code. |
| text | String | Message text. |
| type | String | Type of message. "warning""info" |