timeRegistrationEntry resource type

Represents a time registration entry in Business Central.

Note

For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.

Methods

MethodReturn TypeDescription
GET timeRegistrationEntrytimeRegistrationEntryGets a time registration entry object.
DELETE timeRegistrationEntrynoneDeletes a time registration entry object.
POST timeRegistrationEntrytimeRegistrationEntryCreates a time registration entry object.
PATCH timeRegistrationEntrytimeRegistrationEntryUpdates a time registration entry object.
NavigationReturn TypeDescription
employeeemployeeGets the employee of the timeRegistrationEntry.
dimensionSetLinesdimensionSetLinesGets the dimensionsetlines of the timeRegistrationEntry.

Properties

PropertyTypeDescription
idGUIDThe unique ID of the time registration entry. Non-editable.
employeeIdGUIDThe unique ID of employee.
employeeNumberstringThe employee's number.
jobIdGUIDThe ID of the time registration entry job.
jobNumberstringThe number of the time registration entry job.
jobTaskNumberstringThe number of the job task.
absencestringThe cause of absence code.
lineNumberintegerThe time registration entry item line number.
datedateThe date of the time registration entry.
quantitydecimalThe quantity of the item in the time registration entry.
statusNAV.employeeTimeRegStatusSpecifies the status of the time registration entry. It can be "Open", "Submitted", "Rejected" or "Approved".
unitOfMeasureIdGUIDThe ID of unit of measure for the time registration entry.
unitOfMeasureCodestringThe code of unit of measure for the time registration entry.
lastModfiedDateTimedatetimeThe last datetime the time registration entry was modified. Read-Only.

JSON representation

Here's a JSON representation of the timeRegistrationEntry resource.

{
    "id": "GUID",
    "employeeId": "GUID",
    "employeeNumber": "string",
    "jobId": "GUID",
    "jobNumber": "string",
    "jobTaskNumber": "string",
    "absence": "string",
    "lineNumber": "integer",
    "date": "date",
    "quantity": "decimal",
    "status": "NAV.employeeTimeRegStatus",
    "unitOfMeasureId": "GUID",
    "unitOfMeasureCode": "string",
    "lastModfiedDateTime": "datetime"
}

GET timeRegistrationEntry
DELETE timeRegistrationEntry
POST timeRegistrationEntry
PATCH timeRegistrationEntry