site EntityType

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

Entity Set Path
[organization URI]/api/data/v9.0/sites
Base Type
crmbaseentity
Display Name
Site
Primary Key
siteid
Primary Key Attribute
name
Operations Supported
POST GET PATCH DELETE

Properties

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

Name Type Details
address1_addressid Edm.Guid

Unique identifier for address 1.

Display Name: Address 1: ID

address1_addresstypecode Edm.Int32

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

Display Name: Address 1: Address Type

Default Options
Value Label
1 Default Value
address1_city Edm.String

City name for address 1.

Display Name: City

address1_country Edm.String

Country/region name for address 1.

Display Name: Country/Region

address1_county Edm.String

County name for address 1.

Display Name: Address 1: County

address1_fax Edm.String

Fax number for address 1.

Display Name: Fax

address1_latitude Edm.Double

Latitude for address 1.

Display Name: Address 1: Latitude

address1_line1 Edm.String

First line for entering address 1 information.

Display Name: Street 1

address1_line2 Edm.String

Second line for entering address 1 information.

Display Name: Street 2

address1_line3 Edm.String

Third line for entering address 1 information.

Display Name: Street 3

address1_longitude Edm.Double

Longitude for address 1.

Display Name: Address 1: Longitude

address1_name Edm.String

Name to enter for address 1.

Display Name: Address 1: Name

address1_postalcode Edm.String

ZIP Code or postal code for address 1.

Display Name: ZIP/Postal Code

address1_postofficebox Edm.String

Post office box number for address 1.

Display Name: Address 1: Post Office Box

address1_shippingmethodcode Edm.Int32

Method of shipment for address 1.

Display Name: Address 1: Shipping Method

Default Options
Value Label
1 Default Value
address1_stateorprovince Edm.String

State or province for address 1.

Display Name: State/Province

address1_telephone1 Edm.String

First telephone number associated with address 1.

Display Name: Main Phone

address1_telephone2 Edm.String

Second telephone number associated with address 1.

Display Name: Other Phone

address1_telephone3 Edm.String

Third telephone number associated with address 1.

Display Name: Address 1: Telephone 3

address1_upszone Edm.String

United Parcel Service (UPS) zone for address 1.

Display Name: Address 1: UPS Zone

address1_utcoffset Edm.Int32

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

Unique identifier for address 2.

Display Name: Address 2: ID

address2_addresstypecode Edm.Int32

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

Display Name: Address 2: Address Type

Default Options
Value Label
1 Default Value
address2_city Edm.String

City name for address 2.

Display Name: Address 2: City

address2_country Edm.String

Country/region name for address 2.

Display Name: Address 2: Country/Region

address2_county Edm.String

County name for address 2.

Display Name: Address 2: County

address2_fax Edm.String

Fax number for address 2.

Display Name: Address 2: Fax

address2_latitude Edm.Double

Latitude for address 2.

Display Name: Address 2: Latitude

address2_line1 Edm.String

First line for entering address 2 information.

Display Name: Address 2: Street 1

address2_line2 Edm.String

Second line for entering address 2 information.

Display Name: Address 2: Street 2

address2_line3 Edm.String

Third line for entering address 2 information.

Display Name: Address 2: Street 3

address2_longitude Edm.Double

Longitude for address 2.

Display Name: Address 2: Longitude

address2_name Edm.String

Name to enter for address 2.

Display Name: Address 2: Name

address2_postalcode Edm.String

ZIP Code or postal code for address 2.

Display Name: Address 2: ZIP/Postal Code

address2_postofficebox Edm.String

Post office box number for address 2.

Display Name: Address 2: Post Office Box

address2_shippingmethodcode Edm.Int32

Method of shipment for address 2.

Display Name: Address 2: Shipping Method

Default Options
Value Label
1 Default Value
address2_stateorprovince Edm.String

State or province for address 2.

Display Name: Address 2: State/Province

address2_telephone1 Edm.String

First telephone number associated with address 2.

Display Name: Address 2: Telephone 1

address2_telephone2 Edm.String

Second telephone number associated with address 2.

Display Name: Address 2: Telephone 2

address2_telephone3 Edm.String

Third telephone number associated with address 2.

Display Name: Address 2: Telephone 3

address2_upszone Edm.String

United Parcel Service (UPS) zone for address 2.

Display Name: Address 2: UPS Zone

address2_utcoffset Edm.Int32

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

Date and time when the site was created.

Display Name: Created On

Read Only
emailaddress Edm.String

Email address for the site.

Display Name: Email

importsequencenumber Edm.Int32

Sequence number of the import that created this record.

Display Name: Import Sequence Number

modifiedon Edm.DateTimeOffset

Date and time when the site was last modified.

Display Name: Modified On

Read Only
name Edm.String

Name of the site.

Display Name: Name

overriddencreatedon Edm.DateTimeOffset

Date and time that the record was migrated.

Display Name: Record Created On

siteid Edm.Guid

Unique identifier of the site.

Display Name: Site

timezonecode Edm.Int32

Local time zone for the site.

Display Name: Time Zone

timezoneruleversionnumber Edm.Int32

For internal use only.

Display Name: Time Zone Rule Version Number

utcconversiontimezonecode Edm.Int32

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

Display Name: UTC Conversion Time Zone Code

versionnumber Edm.Int64

Version Number

Display Name: Version Number

Read Only

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.

_organizationid_value organizationid_organization

Unique identifier for the organization

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 lk_sitebase_createdby
createdonbehalfby systemuser lk_site_createdonbehalfby
modifiedby systemuser lk_sitebase_modifiedby
modifiedonbehalfby systemuser lk_site_modifiedonbehalfby
organizationid_organization organization 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_ActivityPointers activitypointer regardingobjectid_site
site_Appointments appointment regardingobjectid_site_appointment
Site_AsyncOperations asyncoperation regardingobjectid_site
Site_BulkDeleteFailures bulkdeletefailure regardingobjectid_site
site_Emails email regardingobjectid_site_email
site_equipment equipment siteid
site_Faxes fax regardingobjectid_site_fax
site_Letters letter regardingobjectid_site_letter
site_MailboxTrackingFolders mailboxtrackingfolder regardingobjectid_site
site_msdyn_approvals msdyn_approval regardingobjectid_site_msdyn_approval
site_msdyn_bookingalerts msdyn_bookingalert regardingobjectid_site_msdyn_bookingalert
site_OpportunityCloses opportunityclose regardingobjectid_site_opportunityclose
site_OrderCloses orderclose regardingobjectid_site_orderclose
site_PhoneCalls phonecall regardingobjectid_site_phonecall
site_PrincipalObjectAttributeAccesses principalobjectattributeaccess objectid_site
Site_ProcessSessions processsession regardingobjectid_site
site_QuoteCloses quoteclose regardingobjectid_site_quoteclose
site_RecurringAppointmentMasters recurringappointmentmaster regardingobjectid_site_recurringappointmentmaster
site_resources resource siteid
site_service_appointments serviceappointment siteid
site_ServiceAppointments serviceappointment regardingobjectid_site_serviceappointment
site_SocialActivities socialactivity regardingobjectid_site_socialactivity
Site_SyncErrors syncerror regardingobjectid_site_syncerror
site_system_users systemuser siteid
site_Tasks task regardingobjectid_site_task

Solutions

The following solutions include the site entity type.

Name Description
Service Dynamics 365 workload for service.

See also