CreateAssetForEndpoint discovers the data tags in a connected asset and generates a WoT Thing Description file. It takes an asset endpoint to the asset on the network as input. In addition, the provided asset name will be assigned to the asset.

Signature

CreateAssetForEndpoint(

[in] 0:String AssetName

[in] 0:String AssetEndpoint

[out] 0:NodeId AssetId);

Table 10 – CreateAssetForEndpoint Method Arguments

Argument

Description

AssetName

The name to be assigned to the asset.

AssetEndpoint

The endpoint to the asset on the network.

AssetId

The NodeId of the WoTAsset Object, if call was successful.

Method Result Codes

Result Code Symbolic Id

Description