service EntityType

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

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

Base Type: crmbaseentity EntityType

Display Name: Service

Primary Key: serviceid

Primary Name Attribute: name

Properties

Single-valued navigation properties

Collection-valued navigation properties

Properties

Properties represent fields of data stored in the entity. Some properties are not writable.

Name Type Details

_createdby_value

Edm.Guid

Description: Unique identifier of the user who created the service.

Computed property

Read-only property

_createdonbehalfby_value

Edm.Guid

Description: Unique identifier of the delegate user who created the service.

Computed property

Read-only property

_modifiedby_value

Edm.Guid

Description: Unique identifier of the user who last modified the service.

Computed property

Read-only property

_modifiedonbehalfby_value

Edm.Guid

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

Computed property

Read-only property

_organizationid_value

Edm.Guid

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

Computed property

Read-only property

_resourcespecid_value

Edm.Guid

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

Computed property

Read-only property

_strategyid_value

Edm.Guid

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

Computed property

Read-only property

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

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced.

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

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_tasks

task EntityType

serviceid_task

Siehe auch

Weitere Ressourcen

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 CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.