Udostępnij za pośrednictwem


msdyn_iotdevice EntityType

 

Applies To: Dynamics 365 (online)

Description: Represents a connected device that can registered with an IoT hub.

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

Base Type: crmbaseentity EntityType

Display Name: IoT Device

Primary Key: msdyn_iotdeviceid

Primary Name Attribute: msdyn_name

Properties

Lookup Properties

Single-valued navigation properties

Collection-valued navigation properties

Properties

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

Name

Type

Details

createdon

Edm.DateTimeOffset

Description: Date and time when the record was created.

Display Name: Created On

Read-only property

importsequencenumber

Edm.Int32

Description: Sequence number of the import that created this record.

Display Name: Import Sequence Number

modifiedon

Edm.DateTimeOffset

Description: Date and time when the record was modified.

Display Name: Modified On

Read-only property

msdyn_deviceid

Edm.String

Description: Device ID used to register with IoT hub.

Display Name: Device ID

msdyn_iotdeviceid

Edm.Guid

Description: Unique identifier for entity instances

Display Name: IoT Device

msdyn_lastcommandsenttime

Edm.DateTimeOffset

Description:

Display Name: Last Command Sent Time

msdyn_name

Edm.String

Description: The name of the custom entity.

Display Name: Name

msdyn_registrationmessage

Edm.String

Description: A message field that explains the IoT Registration Status.

Display Name: Registration Message

msdyn_registrationstatus

Edm.Int32

Description: A status field that denotes whether the device is registered with the IoT hub.

Default Options:

192350000 : Unknown
192350001 : Unregistered
192350002 : In Progress
192350003 : Registered
192350004 : Error

Display Name: Registration Status

msdyn_timezone

Edm.Int32

Description: The device's time zone.

Display Name: Time Zone

overriddencreatedon

Edm.DateTimeOffset

Description: Date and time that the record was migrated.

Display Name: Record Created On

statecode

Edm.Int32

Description: Status of the IoT Device

Default Options:

0 : Active
1 : Inactive

Display Name: Status

statuscode

Edm.Int32

Description: Reason for the status of the IoT Device

Default Options:

1 : Active
2 : Inactive

Display Name: Status Reason

timezoneruleversionnumber

Edm.Int32

Description: For internal use only.

Display Name: Time Zone Rule Version Number

utcconversiontimezonecode

Edm.Int32

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

Display Name: UTC Conversion Time Zone Code

versionnumber

Edm.Int64

Description: Version Number

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

createdbyname

Unique identifier of the user who created the record.

_createdonbehalfby_value

createdonbehalfbyname

Unique identifier of the delegate user who created the record.

_modifiedby_value

modifiedbyname

Unique identifier of the user who modified the record.

_modifiedonbehalfby_value

modifiedonbehalfbyname

Unique identifier of the delegate user who modified the record.

_msdyn_account_value

msdyn_Account

Parent customer of this device

_msdyn_category_value

msdyn_Category

The device category that this IoT device belongs to.

_msdyn_lastcommandsent_value

msdyn_LastCommandSent

_ownerid_value

ownerid

Owner Id

_owningbusinessunit_value

owningbusinessunit

Unique identifier for the business unit that owns the record

_owningteam_value

owningteam

Unique identifier for the team that owns the record.

_owninguser_value

owninguser

Unique identifier for the user that owns the record.

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

createdbyname

systemuser EntityType

lk_msdyn_iotdevice_createdby

createdonbehalfbyname

systemuser EntityType

lk_msdyn_iotdevice_createdonbehalfby

modifiedbyname

systemuser EntityType

lk_msdyn_iotdevice_modifiedby

modifiedonbehalfbyname

systemuser EntityType

lk_msdyn_iotdevice_modifiedonbehalfby

msdyn_Account

account EntityType

msdyn_account_msdyn_iotdevice_Account

msdyn_Category

msdyn_iotdevicecategory EntityType

msdyn_msdyn_iotdevicecategory_msdyn_iotdevice_Category

msdyn_LastCommandSent

msdyn_iotdevicecommand EntityType

msdyn_msdyn_iotdevicecommand_msdyn_iotdevice_LastCommandSent

ownerid

principal EntityType

owner_msdyn_iotdevice

owningbusinessunit

businessunit EntityType

business_unit_msdyn_iotdevice

owningteam

team EntityType

team_msdyn_iotdevice

owninguser

systemuser EntityType

user_msdyn_iotdevice

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_iotdevice_Annotations

annotation EntityType

objectid_msdyn_iotdevice

msdyn_iotdevice_AsyncOperations

asyncoperation EntityType

regardingobjectid_msdyn_iotdevice

msdyn_iotdevice_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_msdyn_iotdevice

msdyn_iotdevice_connections1

connection EntityType

record1id_msdyn_iotdevice

msdyn_iotdevice_connections2

connection EntityType

record2id_msdyn_iotdevice

msdyn_iotdevice_DuplicateBaseRecord

duplicaterecord EntityType

baserecordid_msdyn_iotdevice

msdyn_iotdevice_DuplicateMatchingRecord

duplicaterecord EntityType

duplicaterecordid_msdyn_iotdevice

msdyn_iotdevice_SyncErrors

syncerror EntityType

regardingobjectid_msdyn_iotdevice

msdyn_msdyn_iotdevice_msdyn_iotalert_Device

msdyn_iotalert EntityType

msdyn_Device

msdyn_msdyn_iotdevice_msdyn_iotdevicecommand_Device

msdyn_iotdevicecommand EntityType

msdyn_Device

msdyn_msdyn_iotdevice_msdyn_iotdeviceregistrationhistory_Device

msdyn_iotdevicecommand EntityType

msdyn_Device

See Also

IoT Connector EntityType Reference
IoT Connector Action Reference
IoT Connector ComplexType Reference
IoT Connector changes to system entities

Microsoft Dynamics 365

© 2017 Microsoft. All rights reserved. Copyright