site EntityType

 

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

Description: Location or branch office where an organization does business. An organization can have multiple sites.

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

Base Type: crmbaseentity EntityType

Display Name: Site

Primary Key: siteid

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

address1_addressid

Edm.Guid

Description: Unique identifier for address 1.

Display Name: Address 1: ID

address1_addresstypecode

Edm.Int32

Description: Type of address for address 1, such as billing, shipping, or primary address.

Default Options:

1 : Default Value

Display Name: Address 1: Address Type

address1_city

Edm.String

Description: City name for address 1.

Display Name: City

address1_country

Edm.String

Description: Country/region name for address 1.

Display Name: Country/Region

address1_county

Edm.String

Description: County name for address 1.

Display Name: Address 1: County

address1_fax

Edm.String

Description: Fax number for address 1.

Display Name: Fax

address1_latitude

Edm.Double

Description: Latitude for address 1.

Display Name: Address 1: Latitude

address1_line1

Edm.String

Description: First line for entering address 1 information.

Display Name: Street 1

address1_line2

Edm.String

Description: Second line for entering address 1 information.

Display Name: Street 2

address1_line3

Edm.String

Description: Third line for entering address 1 information.

Display Name: Street 3

address1_longitude

Edm.Double

Description: Longitude for address 1.

Display Name: Address 1: Longitude

address1_name

Edm.String

Description: Name to enter for address 1.

Display Name: Address 1: Name

address1_postalcode

Edm.String

Description: ZIP Code or postal code for address 1.

Display Name: ZIP/Postal Code

address1_postofficebox

Edm.String

Description: Post office box number for address 1.

Display Name: Address 1: Post Office Box

address1_shippingmethodcode

Edm.Int32

Description: Method of shipment for address 1.

Default Options:

1 : Default Value

Display Name: Address 1: Shipping Method

address1_stateorprovince

Edm.String

Description: State or province for address 1.

Display Name: State/Province

address1_telephone1

Edm.String

Description: First telephone number associated with address 1.

Display Name: Main Phone

address1_telephone2

Edm.String

Description: Second telephone number associated with address 1.

Display Name: Other Phone

address1_telephone3

Edm.String

Description: Third telephone number associated with address 1.

Display Name: Address 1: Telephone 3

address1_upszone

Edm.String

Description: United Parcel Service (UPS) zone for address 1.

Display Name: Address 1: UPS Zone

address1_utcoffset

Edm.Int32

Description: UTC offset for address 1. This is the difference between local time and standard Coordinated Universal Time.

Display Name: Address 1: UTC Offset

address2_addressid

Edm.Guid

Description: Unique identifier for address 2.

Display Name: Address 2: ID

address2_addresstypecode

Edm.Int32

Description: Type of address for address 2, such as billing, shipping, or primary address.

Default Options:

1 : Default Value

Display Name: Address 2: Address Type

address2_city

Edm.String

Description: City name for address 2.

Display Name: Address 2: City

address2_country

Edm.String

Description: Country/region name for address 2.

Display Name: Address 2: Country/Region

address2_county

Edm.String

Description: County name for address 2.

Display Name: Address 2: County

address2_fax

Edm.String

Description: Fax number for address 2.

Display Name: Address 2: Fax

address2_latitude

Edm.Double

Description: Latitude for address 2.

Display Name: Address 2: Latitude

address2_line1

Edm.String

Description: First line for entering address 2 information.

Display Name: Address 2: Street 1

address2_line2

Edm.String

Description: Second line for entering address 2 information.

Display Name: Address 2: Street 2

address2_line3

Edm.String

Description: Third line for entering address 2 information.

Display Name: Address 2: Street 3

address2_longitude

Edm.Double

Description: Longitude for address 2.

Display Name: Address 2: Longitude

address2_name

Edm.String

Description: Name to enter for address 2.

Display Name: Address 2: Name

address2_postalcode

Edm.String

Description: ZIP Code or postal code for address 2.

Display Name: Address 2: ZIP/Postal Code

address2_postofficebox

Edm.String

Description: Post office box number for address 2.

Display Name: Address 2: Post Office Box

address2_shippingmethodcode

Edm.Int32

Description: Method of shipment for address 2.

Default Options:

1 : Default Value

Display Name: Address 2: Shipping Method

address2_stateorprovince

Edm.String

Description: State or province for address 2.

Display Name: Address 2: State/Province

address2_telephone1

Edm.String

Description: First telephone number associated with address 2.

Display Name: Address 2: Telephone 1

address2_telephone2

Edm.String

Description: Second telephone number associated with address 2.

Display Name: Address 2: Telephone 2

address2_telephone3

Edm.String

Description: Third telephone number associated with address 2.

Display Name: Address 2: Telephone 3

address2_upszone

Edm.String

Description: United Parcel Service (UPS) zone for address 2.

Display Name: Address 2: UPS Zone

address2_utcoffset

Edm.Int32

Description: UTC offset for address 2. This is the difference between local time and standard Coordinated Universal Time.

Display Name: Address 2: UTC Offset

createdon

Edm.DateTimeOffset

Description: Date and time when the site was created.

Display Name: Created On

Read-only property

emailaddress

Edm.String

Description: Email address for the site.

Display Name: Email

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 site was last modified.

Display Name: Modified On

Read-only property

name

Edm.String

Description: Name of the site.

Display Name: Name

organizationid

Edm.Guid

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

Display Name: Organization

Read-only property

overriddencreatedon

Edm.DateTimeOffset

Description: Date and time that the record was migrated.

Display Name: Record Created On

siteid

Edm.Guid

Description: Unique identifier of the site.

Display Name: Site

timezonecode

Edm.Int32

Description: Local time zone for the site.

Display Name: Time Zone

versionnumber

Edm.Int64

Description: Version number of the site.

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

_createdonbehalfby_value

createdonbehalfby

Unique identifier of the delegate user who created the site.

_modifiedby_value

modifiedby

Unique identifier of the user who last modified the site.

_modifiedonbehalfby_value

modifiedonbehalfby

Unique identifier of the delegate user who last modified the site.

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_sitebase_createdby

createdonbehalfby

systemuser EntityType

lk_site_createdonbehalfby

modifiedby

systemuser EntityType

lk_sitebase_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_site_modifiedonbehalfby

organizationid_organization

organization EntityType

organization_sites

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

Site_AsyncOperations

asyncoperation EntityType

regardingobjectid_site

Site_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_site

site_equipment

equipment EntityType

siteid

site_resources

resource EntityType

siteid

site_service_appointments

serviceappointment EntityType

siteid

Site_SyncErrors

syncerror EntityType

regardingobjectid_site_syncerror

site_system_users

systemuser EntityType

siteid

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