msdyn_iotdevicecommand EntityType
Applies To: Dynamics 365 (online)
Description: Represents an outgoing message to a device connected to an IoT hub.
Entity Set path:[organization URI]/api/data/v8.2/msdyn_iotdevicecommands
Base Type: crmbaseentity EntityType
Display Name: IoT Device Command
Primary Key: msdyn_iotdevicecommandid
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_commandstatus |
Edm.Int32 |
Description: Describes the status of the command. If this stays at "In Progress" for a long time, verify the IoT endpoint configuration. Default Options: 192350000 : In Progress Display Name: Command Status |
msdyn_commandstatusreason |
Edm.String |
Description: A reason field that explains the command status. Display Name: Command Status Reason |
msdyn_deviceid |
Edm.String |
Description: The ID of the IoT device to send the message to. Display Name: Device ID |
msdyn_iotdevicecommandid |
Edm.Guid |
Description: Unique identifier for entity instances Display Name: IoT Device Command |
msdyn_message |
Edm.String |
Description: Message to send to the IoT device. E.g.: A Json string. Display Name: Message |
msdyn_name |
Edm.String |
Description: The name of the custom entity. Display Name: Name |
msdyn_sendtoallconnecteddevices |
Edm.Boolean |
Description: Yes, if a copy of the command should be sent to all registered devices connected under the parent entity of the selected device. No, if this command needs to be sent only to the selected device. Default Options: 1 : Yes Display Name: Send To All Connected Devices |
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 Command Default Options: 0 : Active Display Name: Status |
statuscode |
Edm.Int32 |
Description: Reason for the status of the IoT Device Command Default Options: 1 : Active 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_device_value |
msdyn_Device |
IoT device to send the message to. |
_msdyn_parentalert_value |
msdyn_ParentAlert |
Reference to a parent alert in response to which the message is being sent. |
_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 |
lk_msdyn_iotdevicecommand_createdby |
|
createdonbehalfbyname |
lk_msdyn_iotdevicecommand_createdonbehalfby |
|
modifiedbyname |
lk_msdyn_iotdevicecommand_modifiedby |
|
modifiedonbehalfbyname |
lk_msdyn_iotdevicecommand_modifiedonbehalfby |
|
msdyn_Device |
msdyn_msdyn_iotdevice_msdyn_iotdevicecommand_Device |
|
msdyn_ParentAlert |
msdyn_msdyn_iotalert_msdyn_iotdevicecommand_ParentAlert |
|
ownerid |
owner_msdyn_iotdevicecommand |
|
owningbusinessunit |
business_unit_msdyn_iotdevicecommand |
|
owningteam |
team_msdyn_iotdevicecommand |
|
owninguser |
user_msdyn_iotdevicecommand |
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_iotdevicecommand_Annotations |
objectid_msdyn_iotdevicecommand |
|
msdyn_iotdevicecommand_AsyncOperations |
regardingobjectid_msdyn_iotdevicecommand |
|
msdyn_iotdevicecommand_BulkDeleteFailures |
regardingobjectid_msdyn_iotdevicecommand |
|
msdyn_iotdevicecommand_connections1 |
record1id_msdyn_iotdevicecommand |
|
msdyn_iotdevicecommand_connections2 |
record2id_msdyn_iotdevicecommand |
|
msdyn_iotdevicecommand_DuplicateBaseRecord |
baserecordid_msdyn_iotdevicecommand |
|
msdyn_iotdevicecommand_DuplicateMatchingRecord |
duplicaterecordid_msdyn_iotdevicecommand |
|
msdyn_iotdevicecommand_SyncErrors |
regardingobjectid_msdyn_iotdevicecommand |
|
msdyn_msdyn_iotdevicecommand_msdyn_iotdevice_LastCommandSent |
msdyn_LastCommandSent |
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