Sensor Insights Notification Groups

Create a notification group

POST
/dm/v1/notificationGroups

Authorization

thingspace_oauth VZ-M2M-Token
AuthorizationBearer <token>

This is the ThingSpace token, from Credentials and Tokens is used

In: header

VZ-M2M-Token<token>

M2M Session Token (How to generate an M2M session token?)

In: header

Request Body

application/json

Create a notification group

Create a notification group

accountname?string

The numeric account name, which must include leading zeros

group*
userids?array<string>

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/dm/v1/notificationGroups" \  -H "Content-Type: application/json" \  -d '{    "accountname": "0000123456-00001",    "group": {      "description": "a short description",      "groupemail": "email@domain.com",      "name": "User defined name of the record"    },    "userids": [      "ee70a869-eeee-ffff-gggg-07c14c31f96e",      "131501ff-eeee-ffff-gggg-647d19179a12"    ]  }'
{  "createdon": "2023-10-02T15:46:34.562Z",  "description": "a short description",  "foreignid": "c1f178d3-eeee-ffff-gggg-0d6b7ae6022a",  "groupemail": "email@domain.com",  "id": "string",  "lastupdated": "2023-10-02T15:46:34.562Z",  "name": "name of the record",  "users": [    {      "email": "email@domain.com",      "firstname": "First name",      "lastname": "Last name or Surname",      "mdn": "908-555-1234",      "customdata": {        "property1": null,        "property2": null      }    }  ],  "version": "1.0",  "versionid": "337bd2e8-eeee-ffff-gggg-5207992fd395"}