Get a device template by ID

get/deviceTemplates/{deviceTemplateId}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Path parameters

deviceTemplateIdstring required

Unique Digital Twin Model Identifier of the device template.

Query parameters

api-versionstring required

The version of the API being called.

Response

Success

@idstring

Unique ID of the device template.

@typestring[] required

The JSON-LD types of this device template.

etagstring

ETag used to prevent conflict in device template updates.

displayNamestring

Display name of the device template.

descriptionstring

Detailed description of the device template.

capabilityModelobject required

The capability model utilized by this device template.

Changes

No recorded changes to this operation across all 8 revisions of this API.