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


teamtemplate EntityType

 

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

Description: Team template for an entity enabled for automatically created access teams.

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

Base Type: crmbaseentity EntityType

Display Name: Team template

Primary Key: teamtemplateid

Primary Name Attribute: teamtemplatename

Properties

Lookup Properties

Single-valued navigation properties

Collection-valued navigation properties

Operations using the teamtemplate entity type.

Properties

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

Name

Type

Details

createdon

Edm.DateTimeOffset

Description: Date and time when the team template was created.

Display Name: Created On

Read-only property

defaultaccessrightsmask

Edm.Int32

Description: Default access rights mask for the access teams associated with entity instances.

Display Name: Access Rights

description

Edm.String

Description: Type additional information that describes the team.

Display Name: Description

issystem

Edm.Boolean

Description: Information about whether this team template is user-defined or system-defined.

Default Options:

1 : Yes
0 : No

Display Name: Is System

Read-only property

modifiedon

Edm.DateTimeOffset

Description: Date and time when the team template was last modified.

Display Name: Modified On

Read-only property

objecttypecode

Edm.Int32

Description: Object type code of entity which is enabled for access teams

Display Name: Entity

teamtemplateid

Edm.Guid

Description: Unique identifier of the team template.

Display Name: Primary key for team template

teamtemplatename

Edm.String

Description: Type the name of the team template.

Display Name: Name

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 team template.

_createdonbehalfby_value

createdonbehalfby

Unique identifier of the delegate user who created the team template.

_modifiedby_value

modifiedby

Unique identifier of the user who last modified the team template.

_modifiedonbehalfby_value

modifiedonbehalfby

Unique identifier of the delegate user who modified the team template.

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_teamtemplate_createdby

createdonbehalfby

systemuser EntityType

lk_teamtemplate_createdonbehalfby

modifiedby

systemuser EntityType

lk_teamtemplate_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_teamtemplate_modifiedonbehalfby

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

TeamTemplate_SyncErrors

syncerror EntityType

regardingobjectid_teamtemplate_syncerror

teamtemplate_Teams

team EntityType

associatedteamtemplateid

Operations using the teamtemplate entity type.

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

Name

How used

Description

AddUserToRecordTeam Action

TeamTemplate Parameter

Adds a user to the auto created access team for the specified record.

RemoveUserFromRecordTeam Action

TeamTemplate Parameter

Removes a user from the auto created access team for the specified record.

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