Skip to content

Create/Update notification group notification group

Request

Update existing notification group link, create a new one otherwise.

Security
api_key
Bodyapplication/jsonrequired

A link between two notification groups.

childIdstring, (uuid)required
idstring or null, (uuid)
organisationIdstring, (uuid)required
parentIdstring, (uuid)required
statestring
Enum:"active""deleted"
curl -i -X PUT \
  https://coreapi.hoxton.ai/_mock/v1/notification-group-notification-groups \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "childId": "da54978f-5a21-4efd-948e-3959f61b037a",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",
    "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",
    "state": "active"
  }'

Responses

OK.

Bodyapplication/json
childIdstring, (uuid)required
deletedAtstring or null, (date-time)read-only
idstring or null, (uuid)
organisationIdstring, (uuid)required
parentIdstring, (uuid)required
statestring
Enum:"active""deleted"
Response
{ "childId": "da54978f-5a21-4efd-948e-3959f61b037a", "deletedAt": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98", "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43", "state": "active" }