Discover templating point groups
Groups the points of the devices you select, and reports for each group whether it is already templated and whether its enum values are mapped. Use the groups to build a templating plan. Nothing is changed.
Number points) or enum values (for Bool and Str points). Points in one group can take the same ontology field, so you map one field to the whole group. Only real points are grouped. Virtual and metadata points are left out.
Each group has a groupKey that the server derives from those values. Send it in the match of a mapping when you apply a plan.
The body selects the devices with deviceIds (1 to 2,000) and can filter the groups:
templateStatuses:NOT_TEMPLATEDorTEMPLATED.kinds:Number,Bool, orStr.enumStatuses:N_A,UNMAPPED,PARTIALLY_MAPPED, orMAPPED.N_Ameans the group has no enum to map, as withNumberpoints.
q parameter keeps only groups whose connector name contains the text.
currentFields lists the fields already applied to the group’s points, with a point count for each. Remove it from fields if you do not need it, because it costs extra work on the server.
Authorizations
Paste an access token from Create an access token. Tokens expire, so request a new one if you receive 401.
Path Parameters
Building identifier from List buildings.
Query Parameters
Sort ascending. name sorts by connector name.
Sort descending. name sorts by connector name.
Comma-separated fields to return for each group. One or more of groupKey, name, kind, writable, unitSymbol, pointEnum, pointsCount, templateStatus, enumStatus, and currentFields. The default is every field. An unknown name returns 400.
Maximum number of groups to return, from 1 to 200. The default is 50.
1 <= x <= 200Page number to return. The first page is 1.
x >= 1Return only groups whose connector name contains this text.
Body
Explicit device ids to scope this discovery to.
1 - 2000 elements255[^\p{C}\p{Z}]{1,128}Filter by template status(es).
10TEMPLATE_STATUS_UNSPECIFIED, NOT_TEMPLATED, PARTIAL, TEMPLATED Filter by point kind(s), as stored: Number, Bool or Str.
3Number|Str|BoolFilter by enum-mapping status(es).
10ENUM_STATUS_UNSPECIFIED, N_A, UNMAPPED, PARTIALLY_MAPPED, MAPPED 
