service EntityType

Activity that represents work done to satisfy a customer's need.

Entity Set Path
[organization URI]/api/data/v9.0/services
Base Type
crmbaseentity
Display Name
Service
Primary Key
serviceid
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
anchoroffset Edm.Int32

Used in conjunction with granularity to describes when services can be performed in relation to midnight on a given day.

Display Name: Anchor Offset

calendarid Edm.Guid

Unique identifier of the calendar.

Display Name: Calendar

createdon Edm.DateTimeOffset

Date and time when the service was created.

Display Name: Created On

Read Only
description Edm.String

Description of activity that represents work done to satisfy a customer's need.

Display Name: Description

duration Edm.Int32

Duration of the service.

Display Name: Duration

granularity Edm.String

Describes how often the service is performed.

Display Name: Granularity

importsequencenumber Edm.Int32

Sequence number of the import that created this record.

Display Name: Import Sequence Number

initialstatuscode Edm.Int32

Initial status reason for the service activity.

Display Name: Initial Status Reason

Default Options
Value Label
1 Requested
2 Tentative
3 Pending
4 Reserved
6 In Progress
7 Arrived
8 Completed
9 Canceled
10 No Show
isschedulable Edm.Boolean

Information about whether the service can be scheduled.

Display Name: Status

Default Options
Value Label
1 Active
0 Inactive
isvisible Edm.Boolean

Information about whether the service is visible to users.

Display Name: Is Visible

Default Options
Value Label
1 Yes
0 No
modifiedon Edm.DateTimeOffset

Date and time when the service was last modified.

Display Name: Modified On

Read Only
name Edm.String

Name of the service.

Display Name: Name

overriddencreatedon Edm.DateTimeOffset

Date and time that the record was migrated.

Display Name: Record Created On

serviceid Edm.Guid

Unique identifier of the associated service.

Display Name: Service

showresources Edm.Boolean

For internal use only.

Display Name: Show Resources

Default Options
Value Label
1 Yes
0 No
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 service.

_createdonbehalfby_value createdonbehalfby

Unique identifier of the delegate user who created the service.

_modifiedby_value modifiedby

Unique identifier of the user who last modified the service.

_modifiedonbehalfby_value modifiedonbehalfby

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

_organizationid_value organizationid

Unique identifier for the organization

_resourcespecid_value resourcespecid

Unique identifier of the resource specification with which the service is associated.

_strategyid_value strategyid

Value that is taken from PluginTypeId in the Plugin Type record for the scheduling strategy. This is the ID of the scheduling strategy plug-in associated with the service.

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
calendarid_calendar calendar calendar_services
createdby systemuser lk_service_createdby
createdonbehalfby systemuser lk_service_createdonbehalfby
modifiedby systemuser lk_service_modifiedby
modifiedonbehalfby systemuser lk_service_modifiedonbehalfby
organizationid organization organization_services
resourcespecid resourcespec resource_spec_services
strategyid plugintype plugin_type_service

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
msdyn_approval_service_serviceid msdyn_approval serviceid_msdyn_approval
msdyn_bookingalert_service_serviceid msdyn_bookingalert serviceid_msdyn_bookingalert
service_accounts account preferredserviceid
service_activity_pointers activitypointer serviceid
Service_Annotation annotation objectid_service
service_appointments appointment serviceid_appointment
Service_AsyncOperations asyncoperation regardingobjectid_service
Service_BulkDeleteFailures bulkdeletefailure regardingobjectid_service
service_calendar_rules calendarrule serviceid
service_contacts contact preferredserviceid
Service_DuplicateBaseRecord duplicaterecord baserecordid_service
Service_DuplicateMatchingRecord duplicaterecord duplicaterecordid_service
service_emails email serviceid_email
service_faxes fax serviceid_fax
service_incidentresolutions incidentresolution serviceid_incidentresolution
service_letters letter serviceid_letter
service_MailboxTrackingFolders mailboxtrackingfolder regardingobjectid_service
service_opportunityclose opportunityclose serviceid_opportunityclose
service_orderclose orderclose serviceid_orderclose
service_phonecalls phonecall serviceid_phonecall
service_PrincipalObjectAttributeAccesses principalobjectattributeaccess objectid_service
Service_ProcessSessions processsession regardingobjectid_service
service_quoteclose quoteclose serviceid_quoteclose
service_recurringappointmentmasters recurringappointmentmaster serviceid_recurringappointmentmaster
service_service_appointments serviceappointment serviceid_serviceappointment
service_socialactivities socialactivity serviceid_socialactivity
Service_SyncErrors syncerror regardingobjectid_service_syncerror
service_tasks task serviceid_task

Operations

The following operations can be used with the service entity type.

Name Binding
RetrieveByResourcesService Not Bound

Solutions

The following solutions include the service entity type.

Name Description
Service Dynamics 365 workload for service.

See also