Resource table/entity reference (Microsoft Dynamics 365)

User or facility/equipment that can be scheduled for a service.

Messages

The following table lists the messages for the Resource table. Messages represent operations that can be performed on the table. They may also be events.

Name
Is Event?
Web API Operation SDK for .NET
Associate
Event: True
Associate records Associate records
Create
Event: False
POST /resources
See Create
Create records
CreateMultiple
Event: True
CreateMultiple CreateMultipleRequest
Delete
Event: False
DELETE /resources(resourceid)
See Delete
Delete records
Disassociate
Event: True
Disassociate records Disassociate records
Retrieve
Event: False
GET /resources(resourceid)
See Retrieve
Retrieve records
RetrieveByGroupResource
Event: False
RetrieveByGroupResource function RetrieveByGroupResourceRequest
RetrieveMultiple
Event: False
GET /resources
See Query data
Query data
Update
Event: False
PATCH /resources(resourceid)
See Update
Update records
UpdateMultiple
Event: True
UpdateMultiple UpdateMultipleRequest
Upsert
Event: False
PATCH /resources(resourceid)
See Upsert a table row
UpsertRequest
UpsertMultiple
Event: False
UpsertMultiple UpsertMultipleRequest

Properties

The following table lists selected properties for the Resource table.

Property Value
DisplayName Resource
DisplayCollectionName Resources
SchemaName Resource
CollectionSchemaName Resources
EntitySetName resources
LogicalName resource
LogicalCollectionName resources
PrimaryIdAttribute resourceid
PrimaryNameAttribute name
TableType Standard
OwnershipType BusinessOwned

Writable columns/attributes

These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.

BusinessUnitId

Property Value
Description Business Unit Id
DisplayName Business Unit Id
IsValidForForm False
IsValidForRead True
LogicalName businessunitid
RequiredLevel SystemRequired
Type Lookup
Targets businessunit

CalendarId

Property Value
Description Unique identifier of the calendar for the resource.
DisplayName Calendar
IsValidForForm False
IsValidForRead True
LogicalName calendarid
RequiredLevel None
Type Uniqueidentifier

DisplayInServiceViews

Property Value
Description For internal use only.
DisplayName Display in Service Views
IsValidForForm False
IsValidForRead True
LogicalName displayinserviceviews
RequiredLevel None
Type Boolean
GlobalChoiceName resource_displayinserviceviews
DefaultValue False
True Label Yes
False Label No

EntityImage

Property Value
Description Shows the default image for the record.
DisplayName Entity Image
IsValidForForm False
IsValidForRead True
LogicalName entityimage
RequiredLevel None
Type Image
CanStoreFullImage False
IsPrimaryImage True
MaxHeight 144
MaxSizeInKB 10240
MaxWidth 144

ImportSequenceNumber

Property Value
Description Sequence number of the import that created this record.
DisplayName Import Sequence Number
IsValidForForm False
IsValidForRead True
LogicalName importsequencenumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -2147483648

IsDisabled

Property Value
Description Information about whether the resource is enabled.
DisplayName Is Disabled
IsValidForForm False
IsValidForRead True
LogicalName isdisabled
RequiredLevel None
Type Boolean
GlobalChoiceName resource_isdisabled
DefaultValue False
True Label Yes
False Label No

Name

Property Value
Description Name of the resource.
DisplayName Name
IsValidForForm False
IsValidForRead True
LogicalName name
RequiredLevel ApplicationRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 160

ObjectTypeCode

Property Value
Description Type of entity with which the resource is associated.
DisplayName Object Type
IsValidForForm False
IsValidForRead True
LogicalName objecttypecode
RequiredLevel SystemRequired
Type EntityName

OrganizationId

Property Value
Description Unique identifier of the organization with which the resource is associated.
DisplayName Organization
IsValidForForm False
IsValidForRead True
LogicalName organizationid
RequiredLevel SystemRequired
Type Lookup
Targets organization

OverriddenCreatedOn

Property Value
Description Date and time that the record was migrated.
DisplayName Record Created On
IsValidForForm False
IsValidForRead True
LogicalName overriddencreatedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateOnly
ImeMode Inactive
SourceTypeMask 0

ResourceId

Property Value
Description Unique identifier of the resource.
DisplayName Resource
IsValidForForm False
IsValidForRead True
LogicalName resourceid
RequiredLevel SystemRequired
Type Uniqueidentifier

SiteId

Property Value
Description Unique identifier of the site at which the resource is located.
DisplayName Site
IsValidForForm False
IsValidForRead True
LogicalName siteid
RequiredLevel None
Type Lookup
Targets site

TimeZoneRuleVersionNumber

Property Value
Description For internal use only.
DisplayName Time Zone Rule Version Number
IsValidForForm False
IsValidForRead True
LogicalName timezoneruleversionnumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

UTCConversionTimeZoneCode

Property Value
Description Time zone code that was in use when the record was created.
DisplayName UTC Conversion Time Zone Code
IsValidForForm False
IsValidForRead True
LogicalName utcconversiontimezonecode
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

Read-only columns/attributes

These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.

EntityImage_Timestamp

Property Value
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName entityimage_timestamp
RequiredLevel None
Type BigInt
MaxValue 9223372036854775807
MinValue -9223372036854775808

EntityImage_URL

Property Value
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName entityimage_url
RequiredLevel None
Type String
Format Url
FormatName Url
ImeMode Disabled
IsLocalizable False
MaxLength 200

EntityImageId

Property Value
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName entityimageid
RequiredLevel None
Type Uniqueidentifier

VersionNumber

Property Value
Description Version Number
DisplayName Version Number
IsValidForForm False
IsValidForRead True
LogicalName versionnumber
RequiredLevel None
Type BigInt
MaxValue 9223372036854775807
MinValue -9223372036854775808

Many-to-One relationships

These relationships are many-to-one. Listed by SchemaName.

business_unit_resources

One-To-Many Relationship: businessunit business_unit_resources

Property Value
ReferencedEntity businessunit
ReferencedAttribute businessunitid
ReferencingAttribute businessunitid
ReferencingEntityNavigationPropertyName businessunitid
IsHierarchical
CascadeConfiguration Archive: Restrict
Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

equipment_resources

One-To-Many Relationship: equipment equipment_resources

Property Value
ReferencedEntity equipment
ReferencedAttribute equipmentid
ReferencingAttribute resourceid
ReferencingEntityNavigationPropertyName resourceid_equipment
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

organization_resources

One-To-Many Relationship: organization organization_resources

Property Value
ReferencedEntity organization
ReferencedAttribute organizationid
ReferencingAttribute organizationid
ReferencingEntityNavigationPropertyName organizationid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

resourcespec_resources

One-To-Many Relationship: resourcespec resourcespec_resources

Property Value
ReferencedEntity resourcespec
ReferencedAttribute resourcespecid
ReferencingAttribute resourceid
ReferencingEntityNavigationPropertyName resourceid_resourcespec
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

site_resources

One-To-Many Relationship: site site_resources

Property Value
ReferencedEntity site
ReferencedAttribute siteid
ReferencingAttribute siteid
ReferencingEntityNavigationPropertyName siteid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: RemoveLink
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

systemuser_resources

One-To-Many Relationship: systemuser systemuser_resources

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute resourceid
ReferencingEntityNavigationPropertyName resourceid_systemuser
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

One-to-Many relationships

These relationships are one-to-many. Listed by SchemaName.

Resource_AsyncOperations

Many-To-One Relationship: asyncoperation Resource_AsyncOperations

Property Value
ReferencingEntity asyncoperation
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName Resource_AsyncOperations
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

Resource_BulkDeleteFailures

Many-To-One Relationship: bulkdeletefailure Resource_BulkDeleteFailures

Property Value
ReferencingEntity bulkdeletefailure
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName Resource_BulkDeleteFailures
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

resource_MailboxTrackingFolders

Many-To-One Relationship: mailboxtrackingfolder resource_MailboxTrackingFolders

Property Value
ReferencingEntity mailboxtrackingfolder
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName resource_MailboxTrackingFolders
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

resource_PrincipalObjectAttributeAccesses

Many-To-One Relationship: principalobjectattributeaccess resource_PrincipalObjectAttributeAccesses

Property Value
ReferencingEntity principalobjectattributeaccess
ReferencingAttribute objectid
ReferencedEntityNavigationPropertyName resource_PrincipalObjectAttributeAccesses
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

Resource_SyncErrors

Many-To-One Relationship: syncerror Resource_SyncErrors

Property Value
ReferencingEntity syncerror
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName Resource_SyncErrors
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

See also

Dataverse table/entity reference
Dataverse Web API Reference