service EntityType
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
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 Display Name: Initial Status Reason |
isschedulable |
Edm.Boolean |
Description: Information about whether the service can be scheduled. Default Options: 1 : Active Display Name: Status |
isvisible |
Edm.Boolean |
Description: Information about whether the service is visible to users. Default Options: 1 : Yes 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 Display Name: Show Resources |
versionnumber |
Edm.Int64 |
Description: Version number of the service. 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 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
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_services |
|
createdby |
lk_service_createdby |
|
createdonbehalfby |
lk_service_createdonbehalfby |
|
modifiedby |
lk_service_modifiedby |
|
modifiedonbehalfby |
lk_service_modifiedonbehalfby |
|
organizationid |
organization_services |
|
resourcespecid |
resource_spec_services |
|
strategyid |
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 |
---|---|---|
service_accounts |
preferredserviceid |
|
service_activity_pointers |
serviceid |
|
Service_Annotation |
objectid_service |
|
service_appointments |
serviceid_appointment |
|
Service_AsyncOperations |
regardingobjectid_service |
|
Service_BulkDeleteFailures |
regardingobjectid_service |
|
service_calendar_rules |
serviceid |
|
service_contacts |
preferredserviceid |
|
Service_DuplicateBaseRecord |
baserecordid_service |
|
Service_DuplicateMatchingRecord |
duplicaterecordid_service |
|
service_emails |
serviceid_email |
|
service_faxes |
serviceid_fax |
|
service_incidentresolutions |
serviceid_incidentresolution |
|
service_letters |
serviceid_letter |
|
service_opportunityclose |
serviceid_opportunityclose |
|
service_orderclose |
serviceid_orderclose |
|
service_phonecalls |
serviceid_phonecall |
|
service_quoteclose |
serviceid_quoteclose |
|
service_recurringappointmentmasters |
serviceid_recurringappointmentmaster |
|
service_service_appointments |
serviceid_serviceappointment |
|
service_socialactivities |
serviceid_socialactivity |
|
Service_SyncErrors |
regardingobjectid_service_syncerror |
|
service_tasks |
serviceid_task |
Operations using the service entity type.
The following operations use the service entity type in a parameter or return type.
Name |
How used |
Description |
---|---|---|
ReturnType |
Retrieve the collection of services that are related to the specified set of resources. |
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