Asset Management - Asset Notifications - Developer Documentation - Developer Documentation
Skip to content

Asset Notifications

Notification for aspect type create or update or delete:

  • When aspect types are created or updated or deleted in system, user will receive notification.
  • The notication message will contain information like id of the aspect type, resource, action, tenant and timestamp. The tenant and topicId will be provided as part of header for the message.

Sample message notification when aspect types are created or updated or deleted:

{
  "header": {
    "topic": "mdsp.core.assetmanagement.v1.pubsub.aspecttype.ext.notification",
    "tenantContext": [
      "siemens"
    ]
  },
  "aspectType": {
    "id": "siemens.aspectType",
    "resource": "ASPECT_TYPE",
    "action": "CREATE",
    "tenant": "siemens",
    "timestamp": "2022-02-08T06:24:35.629Z"
  }
}

Notification for asset type create or update or delete:

  • When asset types are created or updated or deleted in system, user will receive notification.
  • The notication message will contain information like id of the asset type, resource, action, tenant and timestamp. The tenant and topicId will be provided as part of header for the message.

Sample message notification when asset types are created or updated or deleted:

{
  "header": {
    "topic": "mdsp.core.assetmanagement.v1.pubsub.assettype.ext.notification",
    "tenantContext": [
      "siemens"
    ]
  },
  "assetType": {
    "id": "siemens.assetType",
    "resource": "ASSET_TYPE",
    "action": "UPDATE",
    "tenant": "siemens",
    "timestamp": "2022-02-08T06:24:35.629Z"
  }
}

Notification for asset create or update or delete:

  • When assets are created or updated or deleted in system, user will receive notification.
  • The notication message will contain information like id of the asset, resource, action, tenant and timestamp. The tenant and topicId will be provided as part of header for the message.

Sample message notification when assets are created or updated or deleted:

{
  "header": {
    "topic": "mdsp.core.assetmanagement.v1.pubsub.asset.ext.notification",
    "tenantContext": [
      "siemens"
    ]
  },
  "asset": {
    "id": "4ed7e69d1f6747dcb96dafec7a844488",
    "resource": "ASSET",
    "action": "DELETE",
    "tenant": "siemens",
    "timestamp": "2022-02-08T06:24:35.629Z"
  }
}

Except where otherwise noted, content on this site is licensed under the Development License Agreement.


Last update: July 20, 2023