General - Get employee registrations

API Url

Use for loading registration for an employee.

GET
http://localhost:16010/ProMarkREST/rest/General/employees/{emp_id}/registrations

Permissions: User

Path parameters

FieldTypeDescription
emp_idString

ID of the employee.

Query parameters

FieldTypeDescription
addEmptyDaysoptionalBoolean

Include missing 'Scheduled work days' entries.

addInvalidoptionalBoolean

Include also invalid registrations. Default is TRUE.

fromoptionalDate

Load registrations from this date forward. Default is TODAY.

includeHistoryoptionalBoolean

Default = false. If true include deleted registrations

tooptionalDate

Load registrations until this date. Default is TODAY.

typeoptionalString

Comma delimited list of registration types to return.

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

    registrationsObject[]

Collection of employee registrations. See possible registration type for ProTime/ProJob.

  messageoptionalObject

Object containing response messages.

    codeNumber

Message code.

    textString

Message text.

    typeString

Type of message.

Allowed values:"warning""info"