service EntityType

Dynamics CRM 2016
 

Updated: November 29, 2016

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

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

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

Base Type: crmbaseentity EntityType

Display Name: Service

Primary Key: serviceid

Primary Name Attribute: name

Properties

Lookup Properties

Single-valued navigation properties

Collection-valued navigation properties

Operations using the service entity type.

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

Name

Type

Details

anchoroffset

Edm.Int32

Description: 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

Description: Unique identifier of the calendar.

Display Name: Calendar

createdon

Edm.DateTimeOffset

Description: Date and time when the service was created.

Display Name: Created On

Read-only property

description

Edm.String

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

Display Name: Description

duration

Edm.Int32

Description: Duration of the service.

Display Name: Duration

granularity

Edm.String

Description: Describes how often the service is performed.

Display Name: Granularity

importsequencenumber

Edm.Int32

Description: Unique identifier of the data import or data migration that created this record.

Display Name: Import Sequence Number

initialstatuscode

Edm.Int32

Description: Initial status reason for the service activity.

Default Options:

1 : Requested
2 : Tentative
3 : Pending
4 : Reserved
6 : In Progress
7 : Arrived
8 : Completed
9 : Canceled
10 : No Show

Display Name: Initial Status Reason

isschedulable

Edm.Boolean

Description: Information about whether the service can be scheduled.

Default Options:

1 : Active
0 : Inactive

Display Name: Status

isvisible

Edm.Boolean

Description: Information about whether the service is visible to users.

Default Options:

1 : Yes
0 : No

Display Name: Is Visible

modifiedon

Edm.DateTimeOffset

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

Display Name: Modified On

Read-only property

name

Edm.String

Description: Name of the service.

Display Name: Name

overriddencreatedon

Edm.DateTimeOffset

Description: Date and time that the record was migrated.

Display Name: Record Created On

serviceid

Edm.Guid

Description: Unique identifier of the associated service.

Display Name: Service

showresources

Edm.Boolean

Description: For internal use only.

Default Options:

1 : Yes
0 : No

Display Name: Show Resources

versionnumber

Edm.Int64

Description: Version number of the service.

Display Name: Version Number

Read-only property

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 of the organization with which the service is associated.

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

calendar_services

createdby

systemuser EntityType

lk_service_createdby

createdonbehalfby

systemuser EntityType

lk_service_createdonbehalfby

modifiedby

systemuser EntityType

lk_service_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_service_modifiedonbehalfby

organizationid

organization EntityType

organization_services

resourcespecid

resourcespec EntityType

resource_spec_services

strategyid

plugintype EntityType

plugin_type_service

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

service_accounts

account EntityType

preferredserviceid

service_activity_pointers

activitypointer EntityType

serviceid

Service_Annotation

annotation EntityType

objectid_service

service_appointments

appointment EntityType

serviceid_appointment

Service_AsyncOperations

asyncoperation EntityType

regardingobjectid_service

Service_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_service

service_calendar_rules

calendarrule EntityType

serviceid

service_contacts

contact EntityType

preferredserviceid

Service_DuplicateBaseRecord

duplicaterecord EntityType

baserecordid_service

Service_DuplicateMatchingRecord

duplicaterecord EntityType

duplicaterecordid_service

service_emails

email EntityType

serviceid_email

service_faxes

fax EntityType

serviceid_fax

service_incidentresolutions

incidentresolution EntityType

serviceid_incidentresolution

service_letters

letter EntityType

serviceid_letter

service_opportunityclose

opportunityclose EntityType

serviceid_opportunityclose

service_orderclose

orderclose EntityType

serviceid_orderclose

service_phonecalls

phonecall EntityType

serviceid_phonecall

service_quoteclose

quoteclose EntityType

serviceid_quoteclose

service_recurringappointmentmasters

recurringappointmentmaster EntityType

serviceid_recurringappointmentmaster

service_service_appointments

serviceappointment EntityType

serviceid_serviceappointment

service_socialactivities

socialactivity EntityType

serviceid_socialactivity

Service_SyncErrors

syncerror EntityType

regardingobjectid_service_syncerror

service_tasks

task EntityType

serviceid_task

The following operations use the service entity type in a parameter or return type.

Name

How used

Description

RetrieveByResourcesService Function

ReturnType

Retrieve the collection of services that are related to the specified set of resources.

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: