共用方式為


resource EntityType

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

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

Base Type: crmbaseentity EntityType

Display Name: Resource

Primary Key: resourceid

Primary Name Attribute: name

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 not writable.

Name Type Details

_businessunitid_value

Edm.Guid

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

Computed property

Read-only property

_organizationid_value

Edm.Guid

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

Computed property

Read-only property

_siteid_value

Edm.Guid

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

Computed property

Read-only property

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

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced.

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

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

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.

請參閱

其他資源

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 CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.