timeRegistrationEntry resource type

Important: Currently all requests to API v2.0 must append $schemaversion=2.0 to the request URL to work properly. This is to uptake the new improved $metadata model avaliable from Business Central 17. An update will be applied shortly to apply the schemaversion automatically to API v2.0. For all other APIs $schemaversion=1.0 will be the default, unless specified in the request URL with $schemaversion=2.0. A solution is being worked on, where the schemaversion will be defined in the extension.

Represents a time registration entry in Dynamics 365 Business Central.

Note

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

Methods

Method Return Type Description
GET timeRegistrationEntry timeRegistrationEntry Gets a time registration entry object.
DELETE timeRegistrationEntry none Deletes a time registration entry object.
POST timeRegistrationEntry timeRegistrationEntry Creates a time registration entry object.
PATCH timeRegistrationEntry timeRegistrationEntry Updates a time registration entry object.
Navigation Return Type Description
employee employee Gets the employee of the timeRegistrationEntry.
project project Gets the project of the timeRegistrationEntry.
unitOfMeasure unitOfMeasure Gets the unitofmeasure of the timeRegistrationEntry.
dimensionSetLines dimensionSetLines Gets the dimensionsetlines of the timeRegistrationEntry.

Properties

Property Type Description
id GUID The unique ID of the time registration entry. Non-editable.
employeeId GUID The unique ID of employee.
employeeNumber string The employee's number.
jobId GUID The ID of the time registration entry job.
jobNumber string The number of the time registration entry job.
jobTaskNumber string The number of the job task.
absence string The cause of absence code.
lineNumber integer The time registration entry item line number.
date date The date of the time registration entry.
quantity decimal The quantity of the item in the time registration entry.
status NAV.employeeTimeRegStatus Specifies the status of the time registration entry. It can be "Open", "Submitted", "Rejected" or "Approved".
unitOfMeasureId GUID The ID of unit of measure for the time registration entry.
unitOfMeasureCode string The code of unit of measure for the time registration entry.
lastModfiedDateTime datetime The last datetime the time registration entry was modified. Read-Only.

JSON representation

Here is 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"
}

See Also

GET timeRegistrationEntry DELETE timeRegistrationEntry POST timeRegistrationEntry PATCH timeRegistrationEntry