calendarrule EntityType

Description: Defines free/busy times for a service and for resources or resource groups, such as working, non-working, vacation, and blocked.

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

Base Type: crmbaseentity EntityType

Display Name: Calendar Rule

Primary Key: calendarruleid

Primary Name Attribute: name

Properties

Single-valued navigation properties

The calendarrule entity type has no collection-valued navigation properties.

Properties

Properties represent fields of data stored in the entity. Some properties are not writable.

Name Type Details

_calendarid_value

Edm.Guid

Description: Unique identifier of the calendar with which the calendar rule is associated.

Computed property

Read-only property

_createdby_value

Edm.Guid

Description: Unique identifier of the user who created the calendar rule.

Computed property

Read-only property

_createdonbehalfby_value

Edm.Guid

Description: Unique identifier of the delegate user who created the calendarrule.

Computed property

Read-only property

_innercalendarid_value

Edm.Guid

Description: Unique identifier of the inner calendar for non-leaf calendar rules.

Computed property

Read-only property

_modifiedby_value

Edm.Guid

Description: Unique identifier of the user who last modified the calendar rule.

Computed property

Read-only property

_modifiedonbehalfby_value

Edm.Guid

Description: Unique identifier of the delegate user who last modified the calendarrule.

Computed property

Read-only property

_serviceid_value

Edm.Guid

Description: Unique identifier of the service with which the calendar rule is associated.

Computed property

Read-only property

businessunitid

Edm.Guid

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

Display Name: Business Unit

Read-only property

calendarruleid

Edm.Guid

Description: Unique identifier of the calendar rule.

Display Name: Calendar Rule

createdon

Edm.DateTimeOffset

Description: Date and time when the calendar rule was created.

Display Name: Created On

Read-only property

description

Edm.String

Description: Defines free/busy times for a service and for resources or resource groups, such as working, non-working, vacation, and blocked.

Display Name: Description

duration

Edm.Int32

Description: Duration of the calendar rule in minutes.

Display Name: Duration

effectiveintervalend

Edm.DateTimeOffset

Description: Effective interval end of the calendar rule.

Display Name: Effective Interval End

effectiveintervalstart

Edm.DateTimeOffset

Description: Effective interval start of the calendar rule.

Display Name: Effective Interval Start

effort

Edm.Double

Description: Effort available for a resource during the time described by the calendar rule.

Display Name: Effort

endtime

Edm.DateTimeOffset

Description: For internal use only.

Display Name: End

extentcode

Edm.Int32

Description: Extent of the calendar rule.

Display Name: Extent Code

groupdesignator

Edm.String

Description: Unique identifier of the group.

Display Name: Group Designator

ismodified

Edm.Boolean

Description: For internal use only.

Default Options:

1 : Yes
0 : No

Display Name: Is Modified

isselected

Edm.Boolean

Description: Flag used in vary-by-day calendar rules.

Default Options:

1 : Yes
0 : No

Display Name: Is Selected

issimple

Edm.Boolean

Description: Flag used in vary-by-day calendar rules.

Default Options:

1 : Yes
0 : No

Display Name: Is Simple

isvaried

Edm.Boolean

Description: Flag used in leaf nonrecurring rules.

Default Options:

1 : Yes
0 : No

Display Name: Is Varied

modifiedon

Edm.DateTimeOffset

Description: Date and time when the calendar rule was last modified.

Display Name: Modified On

Read-only property

name

Edm.String

Description: Name of the calendar rule.

Display Name: Name

offset

Edm.Int32

Description: Start offset for leaf nonrecurring rules.

Display Name: Offset

organizationid

Edm.Guid

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

Display Name: Organization

Read-only property

pattern

Edm.String

Description: Pattern of the rule recurrence.

Display Name: Recurrence Pattern

rank

Edm.Int32

Description: Rank of the calendar rule.

Display Name: Rank

starttime

Edm.DateTimeOffset

Description: Start time for the rule.

Display Name: Start

subcode

Edm.Int32

Description: Sub-type of calendar rule.

Display Name: Sub Code

timecode

Edm.Int32

Description: Type of calendar rule such as working hours, break, holiday, or time off.

Display Name: Type

timezonecode

Edm.Int32

Description: Local time zone for the calendar rule.

Display Name: Time Zone

versionnumber

Edm.Int64

Description:

Read-only property

Single-valued navigation properties

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

Name Type Partner

calendarid

calendar EntityType

calendar_calendar_rules

createdby

systemuser EntityType

lk_calendarrule_createdby

createdonbehalfby

systemuser EntityType

lk_calendarrule_createdonbehalfby

innercalendarid

calendar EntityType

inner_calendar_calendar_rules

modifiedby

systemuser EntityType

lk_calendarrule_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_calendarrule_modifiedonbehalfby

serviceid

service EntityType

service_calendar_rules

另请参阅

其他资源

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.