teamtemplate EntityType

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

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

Base Type: crmbaseentity EntityType

Display Name: Team template

Primary Key: teamtemplateid

Primary Name Attribute: teamtemplatename

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

Name Type Details

_createdby_value

Edm.Guid

Description: Unique identifier of the user who created the team template.

Computed property

Read-only property

_createdonbehalfby_value

Edm.Guid

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

Computed property

Read-only property

_modifiedby_value

Edm.Guid

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

Computed property

Read-only property

_modifiedonbehalfby_value

Edm.Guid

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

Computed property

Read-only property

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

Single-valued navigation properties

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

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_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.

另请参阅

其他资源

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.