Share via


msdyn_iotalert EntityType

 

Applies To: Dynamics 365 (online)

Description: Represents a notable event sent from the associated IoT Hub.

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

Base Type: crmbaseentity EntityType

Display Name: IoT Alert

Primary Key: msdyn_iotalertid

Primary Name Attribute: msdyn_description

Properties

Lookup Properties

Single-valued navigation properties

Collection-valued navigation properties

Operations bound to msdyn_iotalert

Operations using the msdyn_iotalert entity type.

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_alertdata

Edm.String

Description: Data sent from the device about the alert.

Display Name: Alert Data

msdyn_alerttime

Edm.DateTimeOffset

Description: The time the alert was issued.

Display Name: Alert Time

msdyn_alerttoken

Edm.String

Description: The unique reference to the event id on the IoT hub.

Display Name: Alert Token

msdyn_alerttype

Edm.Int32

Description:

Default Options:

192350000 : Anomaly
192350001 : Info
192350002 : Preventive Maintenance
192350003 : Test

Display Name: Alert Type

msdyn_alerturl

Edm.String

Description: External URL to view more information about the iot alert.

Display Name: Alert URL

msdyn_description

Edm.String

Description: A description for the alert.

Display Name: Description

msdyn_deviceid

Edm.String

Description: The ID of the IoT device that sent the alert.

Display Name: Device ID

msdyn_iotalertid

Edm.Guid

Description: Unique identifier for entity instances

Display Name: IoT Alert

msdyn_parentalerttoken

Edm.String

Description: Reference to a previously created parent iot alert

Display Name: Parent Alert Token

overriddencreatedon

Edm.DateTimeOffset

Description: Date and time that the record was migrated.

Display Name: Record Created On

processid

Edm.Guid

Description: Contains the id of the process associated with the entity.

Display Name: Process Id

statecode

Edm.Int32

Description: Status of the IoT Alert

Default Options:

0 : Active
1 : Inactive

Display Name: Status

statuscode

Edm.Int32

Description: Reason for the status of the IoT Alert

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

traversedpath

Edm.String

Description: A comma separated list of string values representing the unique identifiers of stages in a Business Process Flow Instance in the order that they occur.

Display Name: Traversed Path

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

The IoT device for which this alert was raised.

_msdyn_parentalert_value

msdyn_ParentAlert

Reference to a parent alert. This field is inferred if Parent Alert Token is set.

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

_stageid_value

Contains the id of the stage where the entity is located.

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_iotalert_createdby

createdonbehalfbyname

systemuser EntityType

lk_msdyn_iotalert_createdonbehalfby

modifiedbyname

systemuser EntityType

lk_msdyn_iotalert_modifiedby

modifiedonbehalfbyname

systemuser EntityType

lk_msdyn_iotalert_modifiedonbehalfby

msdyn_Device

msdyn_iotdevice EntityType

msdyn_msdyn_iotdevice_msdyn_iotalert_Device

msdyn_ParentAlert

msdyn_iotalert EntityType

msdyn_iotalert_msdyn_iotalert

ownerid

principal EntityType

owner_msdyn_iotalert

owningbusinessunit

businessunit EntityType

business_unit_msdyn_iotalert

owningteam

team EntityType

team_msdyn_iotalert

owninguser

systemuser EntityType

user_msdyn_iotalert

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_iotalert_Annotations

annotation EntityType

objectid_msdyn_iotalert

msdyn_iotalert_AsyncOperations

asyncoperation EntityType

regardingobjectid_msdyn_iotalert

msdyn_iotalert_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_msdyn_iotalert

msdyn_iotalert_connections1

connection EntityType

record1id_msdyn_iotalert

msdyn_iotalert_connections2

connection EntityType

record2id_msdyn_iotalert

msdyn_iotalert_msdyn_iotalert

msdyn_iotalert EntityType

msdyn_ParentAlert

msdyn_iotalert_QueueItems

queueitem EntityType

objectid_msdyn_iotalert

msdyn_iotalert_SyncErrors

syncerror EntityType

regardingobjectid_msdyn_iotalert

msdyn_msdyn_iotalert_msdyn_iotdevicecommand_ParentAlert

msdyn_iotdevicecommand EntityType

msdyn_ParentAlert

Operations bound to msdyn_iotalert

The following operations are bound to the msdyn_iotalert entity type.

Name

Bound to

msdyn_ParentIoTAlerts Action

Entity

Operations using the msdyn_iotalert entity type.

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

Name

How used

Description

msdyn_ParentIoTAlerts Action

entity Parameter

Not Found

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