Get the list of device templates in an application with basic ODATA support (maxpagesize, filter, orderby), [more details](https://aka.ms/iotcentralodatasupport).

Changed on
get/deviceTemplates

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

Query parameters

api-versionstring required

The version of the API being called.

filterstring

An expression on the resource type that selects the resources to be returned.

maxpagesizeinteger

The maximum number of resources to return from one response.

orderbystring

An expression that specify the order of the returned resources.

Response

Success

nextLinkstring

URL to get the next page of device templates.

Changes

    • info

      added the new optional query request parameter filter

    • info

      added the new optional query request parameter maxpagesize

    • info

      added the new optional query request parameter orderby