Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
    "actions": [
        {
            "type": "<sync type>",
			"asset": <the full asset response object>
            "integrationState": <integration state as json string>,
            "assetStateHash": <hash of the saved integration state>,
            "assetId": <asset id>
        }
    ],
    "configuration": <the configuration object provided when registering the endpoint>
    "tenantId": <tenant id>,
  

where the parameters are described as follows

...

Parameter

Description

type

The sync type. Can be

  • sync

  • deleteddelete

where sync covers both create and update. If the state is not null then the asset is tracked and hence the sync can be considered an update

asset

This is the full asset response object. See example in API documentation DC 5.10 Getting assets by Id

integrationState

This is a state managed by the integration. See description below

assetStateHash

This is a hash of the above state

assetId

The assetId of the asset being synced

...