Edit

timeRegistrationEntry resource type (v1.0)

NEW VERSION This is v1.0 of the Business Central API. For the newest version, see Business Central API (V2.0).

Represents an timeRegistrationEntry in Business Central.

Note

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

Methods

Method Return Type Description
GET timeRegistrationEntries employees Get an timeRegistrationEntries object.
POST timeRegistrationEntries employees Create an timeRegistrationEntries object.
PATCH timeRegistrationEntries employees Update an timeRegistrationEntries object.
DELETE timeRegistrationEntries none Delete an timeRegistrationEntries object.

Properties

Property Type Description
id GUID Id of the employee timeregistration Non-editable.
employeeId GUID The employee Id. Read-Only.
employeeNumber string, maximum length 20 The employee number.
lineNumber integer line number of time registration.
date Date date of the time registration.
quantity decimal Quantity registered
status string The surname of the employee
unitOfMeasureId GUID The Id of the unit of measure for the registration.
unitOfMeasure NAV.UnitOfMeasure The unit of measure complex type.
lastModifiedDateTime datetime The last datetime the entity was modified.

Relationships

None

JSON representation

Here is a JSON representation of the resource.

{
    "id": "GUID",
    "employeeId": "GUID",
    "employeeNumber": "string",
    "linenumber": "integer",
    "date": "date",
    "quantity": "decimal",
    "status": "string",
    "unitOfMeasureId": "GUID",
    "unitOfMeasure": "NAV.UnitOfMeasure",
    "lastModifiedDateTime": "datetime"
}

Error Codes
timeRegistrationEntries
Get timeRegistrationEntries
Post timeRegistrationEntries
Patch timeRegistrationEntries
Delete timeRegistrationEntries