territory EntityType

Description: Territory represents sales regions.

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

Base Type: crmbaseentity EntityType

Display Name: Territory

Primary Key: territoryid

Primary Name Attribute: name

Properties

Single-valued navigation properties

Collection-valued navigation properties

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

Computed property

Read-only property

_createdonbehalfby_value

Edm.Guid

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

Computed property

Read-only property

_managerid_value

Edm.Guid

Description: Unique identifier of the manager of the territory.

Computed property

Read-only property

_modifiedby_value

Edm.Guid

Description: Unique identifier of the user who last modified the territory.

Computed property

Read-only property

_modifiedonbehalfby_value

Edm.Guid

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

Computed property

Read-only property

_organizationid_value

Edm.Guid

Description: Unique identifier of the organization associated with the territory.

Computed property

Read-only property

_transactioncurrencyid_value

Edm.Guid

Description: Unique identifier of the currency associated with the territory.

Computed property

Read-only property

createdon

Edm.DateTimeOffset

Description: Date and time when the territory was created.

Display Name: Created On

Read-only property

description

Edm.String

Description: Description of the territory.

Display Name: Description

entityimage

Edm.Binary

Description: The default image for the entity.

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

exchangerate

Edm.Decimal

Description: Exchange rate for the currency associated with the territory 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

modifiedon

Edm.DateTimeOffset

Description: Date and time when the territory was last modified.

Display Name: Modified On

Read-only property

name

Edm.String

Description: Name of the territory.

Display Name: Territory Name

overriddencreatedon

Edm.DateTimeOffset

Description: Date and time that the record was migrated.

Display Name: Record Created On

territoryid

Edm.Guid

Description: Unique identifier of the territory.

Display Name: Territory

versionnumber

Edm.Int64

Description: Version number of the territory.

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

createdby

systemuser EntityType

lk_territorybase_createdby

createdonbehalfby

systemuser EntityType

lk_territory_createdonbehalfby

managerid

systemuser EntityType

system_user_territories

modifiedby

systemuser EntityType

lk_territorybase_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_territory_modifiedonbehalfby

organizationid

organization EntityType

organization_territories

transactioncurrencyid

transactioncurrency EntityType

TransactionCurrency_Territory

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

territory_accounts

account EntityType

territoryid

Territory_AsyncOperations

asyncoperation EntityType

regardingobjectid_territory

Territory_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_territory

territory_connections1

connection EntityType

record1id_territory

territory_connections2

connection EntityType

record2id_territory

Territory_DuplicateBaseRecord

duplicaterecord EntityType

baserecordid_territory

Territory_DuplicateMatchingRecord

duplicaterecord EntityType

duplicaterecordid_territory

territory_system_users

systemuser EntityType

territoryid

Consulte também

Outros recursos

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.