msdyn_timeentry EntityType

Entity used for time entry.

Entity Set Path
[organization URI]/api/data/v9.0/msdyn_timeentries
Base Type
Display Name
Time Entry
Primary Key
Primary Key Attribute
Operations Supported


Properties represent fields of data stored in the entity.Some properties are read-only.

Name Type Details
createdon Edm.DateTimeOffset

Date and time when the record was created.

Display Name: Created On

Read Only
importsequencenumber Edm.Int32

Sequence number of the import that created this record.

Display Name: Import Sequence Number

modifiedon Edm.DateTimeOffset

Date and time when the record was modified.

Display Name: Modified On

Read Only
msdyn_date Edm.DateTimeOffset

Enter the time entry date.

Display Name: Date

msdyn_description Edm.String

Type the description of the time entry.

Display Name: Internal Comments

msdyn_duration Edm.Int32

Shows the time spent.

Display Name: Duration

msdyn_entrystatus Edm.Int32

Select the entry status.

Display Name: Entry Status

Default Options
Value Label
192350000 Draft
192350001 Returned
192350002 Approved
192350003 Submitted
msdyn_externaldescription Edm.String

Type the external description of the time entry.

Display Name: External Comments

msdyn_relateditemid Edm.String

The identifier of the related item.

Display Name: Related item identifier

msdyn_relateditemtype Edm.Int32

The related item type

Display Name: Related item type

Default Options
Value Label
192350000 None
192350001 Resource Booking
192350002 Resource Assignment
192350100 Exchange Appointments
msdyn_targetentrystatus Edm.Int32

Display Name: Target Entry Status

Default Options
Value Label
192350000 Draft
192350001 Returned
192350002 Approved
192350003 Submitted
msdyn_timeentryid Edm.Guid

The unique identifier for a time entry.

Display Name: Time Entry

msdyn_type Edm.Int32

Select the time entry type.

Display Name: Type

Default Options
Value Label
192350000 Work
192350001 Absence
192350002 Vacation
overriddencreatedon Edm.DateTimeOffset

Date and time that the record was migrated.

Display Name: Record Created On

statecode Edm.Int32

Status of the Time Entry

Display Name: Status

Default Options
Value Label
0 Active
1 Inactive
statuscode Edm.Int32

Reason for the status of the Time Entry

Display Name: Status Reason

Default Options
Value Label
1 Active
2 Inactive
timezoneruleversionnumber Edm.Int32

For internal use only.

Display Name: Time Zone Rule Version Number

utcconversiontimezonecode Edm.Int32

Time zone code that was in use when the record was created.

Display Name: UTC Conversion Time Zone Code

versionnumber Edm.Int64

Version Number

Display Name: Version Number

Read Only

Lookup Properties

Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Retrieve data about lookup properties.

Name Single-valued navigation property Description
_createdby_value createdby

Unique identifier of the user who created the record.

_createdonbehalfby_value createdonbehalfby

Unique identifier of the delegate user who created the record.

_modifiedby_value modifiedby

Unique identifier of the user who modified the record.

_modifiedonbehalfby_value modifiedonbehalfby

Unique identifier of the delegate user who modified the record.

_msdyn_bookableresource_value msdyn_bookableresource

Shows the bookable resource.

_msdyn_manager_value msdyn_manager

Select the manager of the time entry user. This field is used for approval.

_msdyn_project_value msdyn_project

Select the project that the time entry is related to.

_msdyn_projecttask_value msdyn_projectTask

Select the project task that the time entry is related to.

_msdyn_resourcecategory_value msdyn_resourceCategory

Select the role that the user has in the project that the time entry is for.

_msdyn_resourceorganizationalunitid_value msdyn_ResourceOrganizationalUnitId

Select the organizational unit at the time the entry was registered of the resource who performed the work.

_ownerid_value ownerid

Owner Id

_owningbusinessunit_value owningbusinessunit

Unique identifier for the business unit that owns the record

_owningteam_value owningteam

Unique identifier for the team that owns the record.

_owninguser_value owninguser

Unique identifier for the user that owns the record.

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.

Name Type Partner
createdby systemuser lk_msdyn_timeentry_createdby
createdonbehalfby systemuser lk_msdyn_timeentry_createdonbehalfby
modifiedby systemuser lk_msdyn_timeentry_modifiedby
modifiedonbehalfby systemuser lk_msdyn_timeentry_modifiedonbehalfby
msdyn_bookableresource bookableresource msdyn_bookableresource_msdyn_timeentry_bookableresource
msdyn_manager systemuser msdyn_systemuser_msdyn_timeentry_manager
msdyn_project msdyn_project msdyn_msdyn_project_msdyn_timeentry_project
msdyn_projectTask msdyn_projecttask msdyn_msdyn_projecttask_msdyn_timeentry_projectTask
msdyn_resourceCategory bookableresourcecategory msdyn_bookableresourcecategory_msdyn_timeentry_resourceCategory
msdyn_ResourceOrganizationalUnitId msdyn_organizationalunit msdyn_organizationalunit_timeentry
ownerid principal owner_msdyn_timeentry
owningbusinessunit businessunit business_unit_msdyn_timeentry
owningteam team team_msdyn_timeentry
owninguser systemuser user_msdyn_timeentry

Collection-valued navigation properties

Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.

Name Type Partner
msdyn_msdyn_timeentry_msdyn_projectapproval_TimeEntry msdyn_projectapproval msdyn_TimeEntry
msdyn_msdyn_timeentry_msdyn_timeoffcalendar_timeEntry msdyn_timeoffcalendar msdyn_timeEntry
msdyn_timeentry_Annotations annotation objectid_msdyn_timeentry
msdyn_timeentry_AsyncOperations asyncoperation regardingobjectid_msdyn_timeentry
msdyn_timeentry_BulkDeleteFailures bulkdeletefailure regardingobjectid_msdyn_timeentry
msdyn_timeentry_MailboxTrackingFolders mailboxtrackingfolder regardingobjectid_msdyn_timeentry
msdyn_timeentry_PrincipalObjectAttributeAccesses principalobjectattributeaccess objectid_msdyn_timeentry
msdyn_timeentry_ProcessSession processsession regardingobjectid_msdyn_timeentry
msdyn_timeentry_SyncErrors syncerror regardingobjectid_msdyn_timeentry


The following operations can be used with the msdyn_timeentry entity type.

Name Binding
GrantAccess Not Bound
IsValidStateTransition Not Bound
ModifyAccess Not Bound
RetrievePrincipalAccess Not Bound
RetrieveSharedPrincipalsAndAccess Not Bound
RevokeAccess Not Bound


The following solutions include the msdyn_timeentry entity type.

Name Description
Project Service Automation Microsoft Dynamics 365 for Project Service Automation is an end-to-end solution that helps sales and delivery teams engage customers and deliver billable projects on time and within budget. Project Service gives you the tools you need to: Estimate, quote, and contract work; Plan and assign resources; Enable team collaboration; Capture time, expense, and progress data for real-time insights and accurate invoicing.

See also