इसके माध्यम से साझा किया गया


resource EntityType

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

Entity Set path:[organization URI]/api/data/v8.2/resources

Base Type: crmbaseentity EntityType

Display Name: Resource

Primary Key: resourceid

Primary Name Attribute: name

Properties

Lookup Properties

Single-valued navigation properties

Collection-valued navigation properties

Operations bound to resource

Operations using the resource entity type.

Properties

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

Name

Type

Details

calendarid

Edm.Guid

Description: Unique identifier of the calendar for the resource.

Display Name: Calendar

displayinserviceviews

Edm.Boolean

Description: For internal use only.

Default Options:

1 : Yes
0 : No

Display Name: Display in Service Views

entityimage

Edm.Binary

Description: Shows the default image for the record.

Display Name: Entity Image

entityimage_timestamp

Edm.Int64

Description:

Read-only property

entityimage_url

Edm.String

Description:

Read-only property

entityimageid

Edm.Guid

Description: For internal use only.

Display Name: Entity Image Id

Read-only property

isdisabled

Edm.Boolean

Description: Information about whether the resource is enabled.

Default Options:

1 : Yes
0 : No

Display Name: Is Disabled

name

Edm.String

Description: Name of the resource.

Display Name: Name

objecttypecode

Edm.String

Description: Type of entity with which the resource is associated.

Display Name: Object Type

resourceid

Edm.Guid

Description: Unique identifier of the resource.

Display Name: Resource

versionnumber

Edm.Int64

Description: Version number of the resource.

Display Name: Version Number

Read-only property

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

_businessunitid_value

businessunitid

Unique identifier of the business unit with which the resource is associated.

_organizationid_value

organizationid

Unique identifier of the organization with which the resource is associated.

_siteid_value

siteid

Unique identifier of the site at which the resource is located.

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

businessunitid

businessunit EntityType

business_unit_resources

organizationid

organization EntityType

organization_resources

resourceid_equipment

equipment EntityType

equipment_resources

resourceid_resourcespec

resourcespec EntityType

resourcespec_resources

resourceid_systemuser

systemuser EntityType

systemuser_resources

siteid

site EntityType

site_resources

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

Resource_AsyncOperations

asyncoperation EntityType

regardingobjectid_resource

Resource_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_resource

Resource_SyncErrors

syncerror EntityType

regardingobjectid_resource_syncerror

Operations bound to resource

The following operations are bound to the resource entity type.

Name

Bound to

RetrieveByResourceResourceGroup Function

Entity

Operations using the resource entity type.

The following operations use the resource entity type in a parameter or return type.

Name

How used

Description

QueryMultipleSchedules Function

Resource Parameter

Searches multiple resources for available time block that matches the specified parameters.

RetrieveByGroupResource Function

ReturnType

Retrieves all resources that are related to the specified resource group

RetrieveByResourceResourceGroup Function

entity Parameter

Retrieves the resource groups (scheduling groups) that contain the specified resource.

RetrieveByResourcesService Function

Resource Parameter

Retrieve the collection of services that are related to the specified set of resources.

See Also

Use the Microsoft Dynamics 365 Web API
Web API Action Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright