Поделиться через


entitlementtemplate EntityType

 

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

Description: Contains predefined customer support terms that can be used to created entitlements for customers.

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

Base Type: crmbaseentity EntityType

Display Name: Entitlement Template

Primary Key: entitlementtemplateid

Primary Name Attribute: name

Properties

Lookup Properties

Single-valued navigation properties

Collection-valued navigation properties

Properties

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

Name

Type

Details

allocationtypecode

Edm.Int32

Description: Select whether the entitlement allocation is based on number of cases or number of hours.

Default Options:

0 : Number of cases
1 : Number of hours

Display Name: Allocation Type

createdon

Edm.DateTimeOffset

Description: Date and time when the entitlement was created.

Display Name: Created On

Read-only property

decreaseremainingon

Edm.Int32

Description: Information about whether to decrease the remaining terms when the case is created or when it is resolved

Default Options:

0 : Case Resolution
1 : Case Creation

Display Name: Decrease Remaining On

description

Edm.String

Description: Type additional information to describe the account, such as an excerpt from the company's website.

Display Name: Description

enddate

Edm.DateTimeOffset

Description: Enter the date and time when the entitlement ends.

Display Name: End Date

entitlementtemplateid

Edm.Guid

Description: Unique identifier for entity instances

Display Name: Entitlement Template

exchangerate

Edm.Decimal

Description: Exchange rate for the currency associated with the contact with respect to the base currency.

Display Name: Exchange Rate

Read-only property

importsequencenumber

Edm.Int32

Description: Unique identifier of the data import or data migration that created this record.

Display Name: Import Sequence Number

kbaccesslevel

Edm.Int32

Description: Select the access someone will have to the knowledge base on the portal.

Default Options:

0 : Standard
1 : Premium
2 : None

Display Name: KB Access Level

modifiedon

Edm.DateTimeOffset

Description: Date and time when the record was modified.

Display Name: Modified On

Read-only property

name

Edm.String

Description: Type a descriptive name for the entitlement template.

Display Name: Entitlement Template Name

overriddencreatedon

Edm.DateTimeOffset

Description: Date and time that the record was migrated.

Display Name: Record Created On

restrictcasecreation

Edm.Boolean

Description: Tells whether case creation is restricted based on entitlement terms.

Default Options:

1 : Yes
0 : No

Display Name: Restrict By Entitlement Terms

startdate

Edm.DateTimeOffset

Description: Enter the date and time when the entitlement begins.

Display Name: Start Date

timezoneruleversionnumber

Edm.Int32

Description: For internal use only.

Display Name: Time Zone Rule Version Number

totalterms

Edm.Decimal

Description: Type the total number of entitlement terms.

Display Name: Total Terms

utcconversiontimezonecode

Edm.Int32

Description: Time zone code that was in use when the record was created.

Display Name: UTC Conversion Time Zone Code

versionnumber

Edm.Int64

Description: Version number of the entitlement template item.

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

_createdby_value

createdby

Unique identifier of the user who created the record.

_createdonbehalfby_value

createdonbehalfby

Unique identifier of the delegate user who created the record.

_modifiedby_value

modifiedby

Unique identifier of the user who modified the record.

_modifiedonbehalfby_value

modifiedonbehalfby

Unique identifier of the delegate user who modified the record.

_organizationid_value

organizationid

Unique identifier of the organization associated with the entitlement template.

_slaid_value

slaid

Choose the service level agreement (SLA) associated with the entitlement.

_transactioncurrencyid_value

transactioncurrencyid

Unique identifier of the currency associated with the contact.

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 EntityType

lk_entitlementtemplate_createdby

createdonbehalfby

systemuser EntityType

lk_entitlementtemplate_createdonbehalfby

modifiedby

systemuser EntityType

lk_entitlementtemplate_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_entitlementtemplate_modifiedonbehalfby

organizationid

organization EntityType

entitlementtemplate_organization

slaid

sla EntityType

sla_entitlementtemplate

transactioncurrencyid

transactioncurrency EntityType

TransactionCurrency_entitlementtemplate

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

entitlementtemplate_ActivityPointers

activitypointer EntityType

regardingobjectid_entitlementtemplate

entitlementtemplate_Annotations

annotation EntityType

objectid_entitlementtemplate

entitlementtemplate_Appointments

appointment EntityType

regardingobjectid_entitlementtemplate_appointment

entitlementtemplate_AsyncOperations

asyncoperation EntityType

regardingobjectid_entitlementtemplate

entitlementtemplate_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_entitlementtemplate

entitlementtemplate_DuplicateBaseRecord

duplicaterecord EntityType

baserecordid_entitlementtemplate

entitlementtemplate_DuplicateMatchingRecord

duplicaterecord EntityType

duplicaterecordid_entitlementtemplate

entitlementtemplate_Emails

email EntityType

regardingobjectid_entitlementtemplate_email

entitlementtemplate_entitlementchannel_entitlementtemplateid

entitlementtemplatechannel EntityType

entitlementtemplateid

entitlementtemplate_Faxes

fax EntityType

regardingobjectid_entitlementtemplate_fax

entitlementtemplate_Letters

letter EntityType

regardingobjectid_entitlementtemplate_letter

entitlementtemplate_PhoneCalls

phonecall EntityType

regardingobjectid_entitlementtemplate_phonecall

entitlementtemplate_RecurringAppointmentMasters

recurringappointmentmaster EntityType

regardingobjectid_entitlementtemplate_recurringappointmentmaster

entitlementtemplate_ServiceAppointments

serviceappointment EntityType

regardingobjectid_entitlementtemplate_serviceappointment

entitlementtemplate_SocialActivities

socialactivity EntityType

regardingobjectid_entitlementtemplate_socialactivity

EntitlementTemplate_SyncErrors

syncerror EntityType

regardingobjectid_entitlementtemplate_syncerror

entitlementtemplate_Tasks

task EntityType

regardingobjectid_entitlementtemplate_task

entitlementtemplateid_RelationShip

entitlement EntityType

entitlementtemplateid

product_entitlementtemplate_association

product EntityType

product_entitlementtemplate_association

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