msdyn_timeoffrequest EntityType

Specify time resource time off request.

Entity Set Path
[organization URI]/api/data/v9.0/msdyn_timeoffrequests
Base Type
Display Name
Time Off Request
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

Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options.

Display Name: Created On

Read Only
importsequencenumber Edm.Int32

Shows the sequence number of the import that created this record.

Display Name: Import Sequence Number

modifiedon Edm.DateTimeOffset

Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options.

Display Name: Modified On

Read Only
msdyn_duration Edm.Int32

Display Name: Duration (Deprecated)

msdyn_endtime Edm.DateTimeOffset

Enter the end time of the time off request.

Display Name: End Time

msdyn_name Edm.String

Enter the name of the custom entity.

Display Name: Name

msdyn_starttime Edm.DateTimeOffset

Enter the start time of the time off request

Display Name: Start Time

msdyn_timeoffrequestid Edm.Guid

Shows the entity instances.

Display Name: Time Off Request

overriddencreatedon Edm.DateTimeOffset

Shows the date and time that the record was migrated.

Display Name: Record Created On

statecode Edm.Int32

Status of the Time Off Request

Display Name: Status

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

Reason for the status of the Time Off Request

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

Shows the 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

Shows who created the record on behalf of another user.

_modifiedby_value modifiedby

Unique identifier of the user who modified the record.

_modifiedonbehalfby_value modifiedonbehalfby

Shows who last updated the record on behalf of another user.

_msdyn_approvedby_value msdyn_approvedby

Unique identifier for User associated with Time Off Request.

_msdyn_resource_value msdyn_resource

Unique identifier for Resource associated with Time Off Request

_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_timeoffrequest_createdby
createdonbehalfby systemuser lk_msdyn_timeoffrequest_createdonbehalfby
modifiedby systemuser lk_msdyn_timeoffrequest_modifiedby
modifiedonbehalfby systemuser lk_msdyn_timeoffrequest_modifiedonbehalfby
msdyn_approvedby systemuser msdyn_systemuser_msdyn_timeoffrequest_Approvedby
msdyn_resource bookableresource msdyn_bookableresource_msdyn_timeoffrequest_Resource
ownerid principal owner_msdyn_timeoffrequest
owningbusinessunit businessunit business_unit_msdyn_timeoffrequest
owningteam team team_msdyn_timeoffrequest
owninguser systemuser user_msdyn_timeoffrequest

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_timeoffrequest_ActivityPointers activitypointer regardingobjectid_msdyn_timeoffrequest
msdyn_timeoffrequest_Annotations annotation objectid_msdyn_timeoffrequest
msdyn_timeoffrequest_Appointments appointment regardingobjectid_msdyn_timeoffrequest_appointment
msdyn_timeoffrequest_AsyncOperations asyncoperation regardingobjectid_msdyn_timeoffrequest
msdyn_timeoffrequest_BulkDeleteFailures bulkdeletefailure regardingobjectid_msdyn_timeoffrequest
msdyn_timeoffrequest_connections1 connection record1id_msdyn_timeoffrequest
msdyn_timeoffrequest_connections2 connection record2id_msdyn_timeoffrequest
msdyn_timeoffrequest_DuplicateBaseRecord duplicaterecord baserecordid_msdyn_timeoffrequest
msdyn_timeoffrequest_DuplicateMatchingRecord duplicaterecord duplicaterecordid_msdyn_timeoffrequest
msdyn_timeoffrequest_Emails email regardingobjectid_msdyn_timeoffrequest_email
msdyn_timeoffrequest_Faxes fax regardingobjectid_msdyn_timeoffrequest_fax
msdyn_timeoffrequest_Letters letter regardingobjectid_msdyn_timeoffrequest_letter
msdyn_timeoffrequest_MailboxTrackingFolders mailboxtrackingfolder regardingobjectid_msdyn_timeoffrequest
msdyn_timeoffrequest_msdyn_approvals msdyn_approval regardingobjectid_msdyn_timeoffrequest_msdyn_approval
msdyn_timeoffrequest_msdyn_bookingalerts msdyn_bookingalert regardingobjectid_msdyn_timeoffrequest_msdyn_bookingalert
msdyn_timeoffrequest_PhoneCalls phonecall regardingobjectid_msdyn_timeoffrequest_phonecall
msdyn_timeoffrequest_PrincipalObjectAttributeAccesses principalobjectattributeaccess objectid_msdyn_timeoffrequest
msdyn_timeoffrequest_ProcessSession processsession regardingobjectid_msdyn_timeoffrequest
msdyn_timeoffrequest_RecurringAppointmentMasters recurringappointmentmaster regardingobjectid_msdyn_timeoffrequest_recurringappointmentmaster
msdyn_timeoffrequest_ServiceAppointments serviceappointment regardingobjectid_msdyn_timeoffrequest_serviceappointment
msdyn_timeoffrequest_SocialActivities socialactivity regardingobjectid_msdyn_timeoffrequest_socialactivity
msdyn_timeoffrequest_SyncErrors syncerror regardingobjectid_msdyn_timeoffrequest
msdyn_timeoffrequest_Tasks task regardingobjectid_msdyn_timeoffrequest_task


The following operations can be used with the msdyn_timeoffrequest 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_timeoffrequest entity type.

Name Description
Field Service Microsoft Dynamics 365 for Field Service allows organizations of any size to deliver intelligent, world class field service, managing all aspects of the end-to-end field service management cycle. Features include scheduling, mobile, asset management, inventory control, customer notifications, and resource utilization controls that help maximize efficiency and minimize costs.

See also