POST api/v1/user/{userId}/notificationSettings

Create a new notification option for the current user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

globally unique identifier

Required

Body Parameters

CreateNotificationRequest
NameDescriptionTypeAdditional information
Name

string

None.

NotifyOnAction

Action to notify on.

NotifyOnActionDto

None.

Enabled

boolean

None.

StatusPostNotificationFilter

Options for notifications watching status posts from users or devices.

StatusPostNotificationFilterDto

None.

AlertNotificationFilter

Options for notifications watching alerts.

AlertNotificationFilterDto

None.

MeasurementOutOfRangeFilter

Options for notifications for measurement out of range (working/acceptable).

MeasurementOutOfRangeFilterDto

None.

ExportCreatedFilter

Options for notifications for an export having been created (the export of measurements request has completed).

ExportCreatedNotificationFilterDto

None.

UserNotReportingFilter

Options for notifications for user not reporting events.

UserNotReportingNotificationFilterDto

None.

UserReportingFilter

Options for notification for user reporting events

UserReportingNotificationFilterDto

None.

DeviceRegisteredFilter

DeviceRegisteredNotificationFilterDto

None.

DeviceDeletedFilter

DeviceDeletedNotificationFilterDto

None.

MemberRegisteredFilter

MemberRegisteredNotificationFilterDto

None.

MemberDeletedFilter

MemberDeletedNotificationFilterDto

None.

UsersFilter

Filter based on users (member/devices)

UsersFilterDto

None.

TagFilter

TagFilterDto

None.

SendEmailAction

Send an email for notification (to my registered email address).

SendEmailActionDto

None.

SendSmsAction

Send an SMS for notification (to my registered phone).

SendSmsActionDto

None.

SendMqttMessage

Send a message to a MQTT topic though the built in Tinamous MQTT Broker

SendMqttMessageActionDto

None.

PostStatusMessage

Post a status message to the timeline

PostStatusMessageActionDto

None.

RaiseAlert

Raise an alert

RaiseAlertActionDto

None.

SendToParticle

Send a invoke method request to particle.io to action a method on a Photon or Electron

SendToParticleActionDto

None.

SendLifxCommand

Send a command to LIFX to action a change in lighting.

LifxLightCommandActionDto

None.

PostTweet

Send a tweet

PostTweetActionDto

None.

RetriggerSettings

How re-triggering should be handled.

RetriggerSettingsDto

None.

Request Formats

application/json, text/json, application/senml+json

Sample:
{
  "Name": "sample string 1",
  "NotifyOnAction": 0,
  "Enabled": true,
  "StatusPostNotificationFilter": {
    "AllPosts": true,
    "ContainsText": "sample string 2",
    "ExactMatch": true,
    "Enabled": true
  },
  "AlertNotificationFilter": {
    "MyAlertsOnly": true,
    "OnWarning": true,
    "OnError": true,
    "OnCritical": true,
    "ActionRequired": true,
    "Enabled": true
  },
  "MeasurementOutOfRangeFilter": {
    "FieldTag": "sample string 1",
    "FieldName": "sample string 2",
    "IsAboveWorkingRange": true,
    "IsBelowWorkingRange": true,
    "IsAboveErrorRange": true,
    "IsBelowErrorRange": true,
    "TriggerAfterCount": 7,
    "Enabled": true
  },
  "ExportCreatedFilter": {
    "AllExports": true,
    "ExportId": "8acb7da0-2360-41a3-9a3b-43a1e983248f",
    "ByTag": "sample string 2",
    "Enabled": true
  },
  "UserNotReportingFilter": {
    "Enabled": true
  },
  "UserReportingFilter": {
    "Enabled": true
  },
  "LocationChangedFilter": {
    "Enabled": true
  },
  "DeviceRegisteredFilter": {
    "Enabled": true
  },
  "DeviceDeletedFilter": {
    "Enabled": true
  },
  "MemberRegisteredFilter": {
    "Enabled": true
  },
  "MemberDeletedFilter": {
    "Enabled": true
  },
  "UsersFilter": {
    "UserIds": [
      "be9dcc53-e5f2-4e32-93da-724047cecd5d",
      "0f3d3fc4-35bb-48fc-bbba-eedb264aa861"
    ],
    "Tag": "sample string 1",
    "NotTaggedWith": "sample string 2",
    "IncludeMembers": true,
    "IncludeDevices": true,
    "IncludeBots": true,
    "JustMyDevices": true
  },
  "TagFilter": {
    "Tag": "sample string 1",
    "NotTaggedWith": "sample string 2"
  },
  "SendEmailAction": {
    "Subject": "sample string 1",
    "MessageHtml": "sample string 2",
    "Enabled": true
  },
  "SendSmsAction": {
    "Message": "sample string 1",
    "Enabled": true
  },
  "SendVoiceMessage": {
    "Message": "sample string 1",
    "Enabled": true
  },
  "SendWebHook": {
    "HttpMethod": "sample string 1",
    "Url": "sample string 2",
    "Body": "sample string 3",
    "AuthHeader": "sample string 4",
    "ExtraHeader1": "sample string 5",
    "ExtraHeader2": "sample string 6",
    "ExtraHeaders": [
      "sample string 1",
      "sample string 2"
    ],
    "Enabled": true
  },
  "SendAwsSns": {
    "Topic": "sample string 1",
    "Enabled": true
  },
  "SendMqttMessage": {
    "Topic": "sample string 1",
    "Message": "sample string 2",
    "MessageBytes": "QEA=",
    "QosLevel": 64,
    "Retain": true,
    "Enabled": true
  },
  "PostStatusMessage": {
    "Message": "sample string 1",
    "Tags": [
      "sample string 1",
      "sample string 2"
    ],
    "Enabled": true
  },
  "RaiseAlert": {
    "Message": "sample string 1",
    "AlertLevel": "Warning",
    "Tags": [
      "sample string 1",
      "sample string 2"
    ],
    "ToAll": true,
    "AssignToUserId": "d1d8697a-b4f1-4d59-9b75-d8b3afce8d0b",
    "ActionRequired": true,
    "Enabled": true
  },
  "SendToParticle": {
    "DeviceId": "420e19a4-a6b8-4822-8cf2-96060e103716",
    "MethodName": "sample string 2",
    "Args": [
      "sample string 1",
      "sample string 2"
    ],
    "Enabled": true
  },
  "SendLifxCommand": {
    "Action": "sample string 1",
    "LifxBotUserId": "e72df18d-1f32-49ed-b12b-9b6654dac70d",
    "TogglePowerSettings": {
      "Selector": "sample string 1",
      "Duration": 2
    },
    "SetStateSettings": {
      "Selector": "sample string 1",
      "Power": true,
      "Duration": 3,
      "Color": "sample string 4",
      "Brightness": 1.1
    },
    "PulseEffectSettings": {
      "Selector": "sample string 1",
      "FromColor": "sample string 2",
      "PowerOn": true,
      "Peak": 1.1,
      "Period": 1.1,
      "Cycles": 1,
      "Color": "sample string 3"
    },
    "BreatheEffectSettings": {},
    "ActivateSceneRequestSettings": {
      "Id": "a4cec235-085b-4b27-9f56-a2fe70a999d5",
      "Duration": 2
    },
    "Enabled": true
  },
  "SendIftttEvent": {
    "Url": "sample string 1",
    "EventName": "sample string 2",
    "Value1": "sample string 3",
    "Value2": "sample string 4",
    "Value3": "sample string 5",
    "Tags": [
      "sample string 1",
      "sample string 2"
    ],
    "ServiceKey": "sample string 6",
    "Enabled": true
  },
  "PostTweet": {
    "BotId": "f33b544b-4d71-4063-83e8-7cf93173b802",
    "Message": "sample string 2",
    "IncludeLocation": true,
    "IncludeMedia": true,
    "Enabled": true
  },
  "SendSlackMessage": {
    "Url": "sample string 1",
    "Channel": "sample string 2",
    "Message": "sample string 3",
    "Enabled": true
  },
  "RetriggerSettings": {
    "Option": 0,
    "AutoResetEnabled": true,
    "AutoResetAfterMinutes": 2.1,
    "AutoResetAfter": "00:00:00.1234567"
  }
}

application/xml, text/xml

Sample:
<CreateNotificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings">
  <AlertNotificationFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:ActionRequired>true</d2p1:ActionRequired>
    <d2p1:MyAlertsOnly>true</d2p1:MyAlertsOnly>
    <d2p1:OnCritical>true</d2p1:OnCritical>
    <d2p1:OnError>true</d2p1:OnError>
    <d2p1:OnWarning>true</d2p1:OnWarning>
  </AlertNotificationFilter>
  <DeviceDeletedFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Membership.Device">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </DeviceDeletedFilter>
  <DeviceRegisteredFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Membership.Device">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </DeviceRegisteredFilter>
  <Enabled>true</Enabled>
  <ExportCreatedFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Measurements">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
    <d2p1:AllExports>true</d2p1:AllExports>
    <d2p1:ByTag>sample string 2</d2p1:ByTag>
    <d2p1:ExportId>8acb7da0-2360-41a3-9a3b-43a1e983248f</d2p1:ExportId>
  </ExportCreatedFilter>
  <LocationChangedFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Location">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </LocationChangedFilter>
  <MeasurementOutOfRangeFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Measurements">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
    <d2p1:FieldName>sample string 2</d2p1:FieldName>
    <d2p1:FieldTag>sample string 1</d2p1:FieldTag>
    <d2p1:IsAboveErrorRange>true</d2p1:IsAboveErrorRange>
    <d2p1:IsAboveWorkingRange>true</d2p1:IsAboveWorkingRange>
    <d2p1:IsBelowErrorRange>true</d2p1:IsBelowErrorRange>
    <d2p1:IsBelowWorkingRange>true</d2p1:IsBelowWorkingRange>
    <d2p1:TriggerAfterCount>7</d2p1:TriggerAfterCount>
  </MeasurementOutOfRangeFilter>
  <MemberDeletedFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Membership.Member">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </MemberDeletedFilter>
  <MemberRegisteredFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Membership.Member">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </MemberRegisteredFilter>
  <Name>sample string 1</Name>
  <NotifyOnAction>StatusMessagePosted</NotifyOnAction>
  <PostStatusMessage xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Message>sample string 1</d2p1:Message>
    <d2p1:Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:Tags>
  </PostStatusMessage>
  <PostTweet xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:BotId>f33b544b-4d71-4063-83e8-7cf93173b802</d2p1:BotId>
    <d2p1:IncludeLocation>true</d2p1:IncludeLocation>
    <d2p1:IncludeMedia>true</d2p1:IncludeMedia>
    <d2p1:Message>sample string 2</d2p1:Message>
  </PostTweet>
  <RaiseAlert xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:ActionRequired>true</d2p1:ActionRequired>
    <d2p1:AlertLevel>Warning</d2p1:AlertLevel>
    <d2p1:AssignToUserId>d1d8697a-b4f1-4d59-9b75-d8b3afce8d0b</d2p1:AssignToUserId>
    <d2p1:Message>sample string 1</d2p1:Message>
    <d2p1:Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:Tags>
    <d2p1:ToAll>true</d2p1:ToAll>
  </RaiseAlert>
  <RetriggerSettings xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">
    <d2p1:AutoResetAfter>PT0.1234567S</d2p1:AutoResetAfter>
    <d2p1:AutoResetAfterMinutes>2.1</d2p1:AutoResetAfterMinutes>
    <d2p1:AutoResetEnabled>true</d2p1:AutoResetEnabled>
    <d2p1:Option>EveryTime</d2p1:Option>
  </RetriggerSettings>
  <SendAwsSns xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Topic>sample string 1</d2p1:Topic>
  </SendAwsSns>
  <SendEmailAction xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:MessageHtml>sample string 2</d2p1:MessageHtml>
    <d2p1:Subject>sample string 1</d2p1:Subject>
  </SendEmailAction>
  <SendIftttEvent xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:EventName>sample string 2</d2p1:EventName>
    <d2p1:ServiceKey>sample string 6</d2p1:ServiceKey>
    <d2p1:Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:Tags>
    <d2p1:Url>sample string 1</d2p1:Url>
    <d2p1:Value1>sample string 3</d2p1:Value1>
    <d2p1:Value2>sample string 4</d2p1:Value2>
    <d2p1:Value3>sample string 5</d2p1:Value3>
  </SendIftttEvent>
  <SendLifxCommand xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Action>sample string 1</d2p1:Action>
    <d2p1:ActivateSceneRequestSettings xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions.LifxSettings">
      <d3p1:Duration>2</d3p1:Duration>
      <d3p1:Id>a4cec235-085b-4b27-9f56-a2fe70a999d5</d3p1:Id>
    </d2p1:ActivateSceneRequestSettings>
    <d2p1:BreatheEffectSettings xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions.LifxSettings" />
    <d2p1:LifxBotUserId>e72df18d-1f32-49ed-b12b-9b6654dac70d</d2p1:LifxBotUserId>
    <d2p1:PulseEffectSettings xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions.LifxSettings">
      <d3p1:Color>sample string 3</d3p1:Color>
      <d3p1:Cycles>1</d3p1:Cycles>
      <d3p1:FromColor>sample string 2</d3p1:FromColor>
      <d3p1:Peak>1.1</d3p1:Peak>
      <d3p1:Period>1.1</d3p1:Period>
      <d3p1:PowerOn>true</d3p1:PowerOn>
      <d3p1:Selector>sample string 1</d3p1:Selector>
    </d2p1:PulseEffectSettings>
    <d2p1:SetStateSettings xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions.LifxSettings">
      <d3p1:Brightness>1.1</d3p1:Brightness>
      <d3p1:Color>sample string 4</d3p1:Color>
      <d3p1:Duration>3</d3p1:Duration>
      <d3p1:Power>true</d3p1:Power>
      <d3p1:Selector>sample string 1</d3p1:Selector>
    </d2p1:SetStateSettings>
    <d2p1:TogglePowerSettings xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions.LifxSettings">
      <d3p1:Duration>2</d3p1:Duration>
      <d3p1:Selector>sample string 1</d3p1:Selector>
    </d2p1:TogglePowerSettings>
  </SendLifxCommand>
  <SendMqttMessage xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Message>sample string 2</d2p1:Message>
    <d2p1:MessageBytes>QEA=</d2p1:MessageBytes>
    <d2p1:QosLevel>64</d2p1:QosLevel>
    <d2p1:Retain>true</d2p1:Retain>
    <d2p1:Topic>sample string 1</d2p1:Topic>
  </SendMqttMessage>
  <SendSlackMessage xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Channel>sample string 2</d2p1:Channel>
    <d2p1:Message>sample string 3</d2p1:Message>
    <d2p1:Url>sample string 1</d2p1:Url>
  </SendSlackMessage>
  <SendSmsAction xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Message>sample string 1</d2p1:Message>
  </SendSmsAction>
  <SendToParticle xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Args xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:Args>
    <d2p1:DeviceId>420e19a4-a6b8-4822-8cf2-96060e103716</d2p1:DeviceId>
    <d2p1:MethodName>sample string 2</d2p1:MethodName>
  </SendToParticle>
  <SendVoiceMessage xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Message>sample string 1</d2p1:Message>
  </SendVoiceMessage>
  <SendWebHook xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:AuthHeader>sample string 4</d2p1:AuthHeader>
    <d2p1:Body>sample string 3</d2p1:Body>
    <d2p1:ExtraHeader1>sample string 5</d2p1:ExtraHeader1>
    <d2p1:ExtraHeader2>sample string 6</d2p1:ExtraHeader2>
    <d2p1:ExtraHeaders xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:ExtraHeaders>
    <d2p1:HttpMethod>sample string 1</d2p1:HttpMethod>
    <d2p1:Url>sample string 2</d2p1:Url>
  </SendWebHook>
  <StatusPostNotificationFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.StatusPosts">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
    <d2p1:AllPosts>true</d2p1:AllPosts>
    <d2p1:ContainsText>sample string 2</d2p1:ContainsText>
    <d2p1:ExactMatch>true</d2p1:ExactMatch>
  </StatusPostNotificationFilter>
  <TagFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">
    <d2p1:NotTaggedWith>sample string 2</d2p1:NotTaggedWith>
    <d2p1:Tag>sample string 1</d2p1:Tag>
  </TagFilter>
  <UserNotReportingFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Membership">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </UserNotReportingFilter>
  <UserReportingFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Membership">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </UserReportingFilter>
  <UsersFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">
    <d2p1:IncludeBots>true</d2p1:IncludeBots>
    <d2p1:IncludeDevices>true</d2p1:IncludeDevices>
    <d2p1:IncludeMembers>true</d2p1:IncludeMembers>
    <d2p1:JustMyDevices>true</d2p1:JustMyDevices>
    <d2p1:NotTaggedWith>sample string 2</d2p1:NotTaggedWith>
    <d2p1:Tag>sample string 1</d2p1:Tag>
    <d2p1:UserIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>be9dcc53-e5f2-4e32-93da-724047cecd5d</d3p1:guid>
      <d3p1:guid>0f3d3fc4-35bb-48fc-bbba-eedb264aa861</d3p1:guid>
    </d2p1:UserIds>
  </UsersFilter>
</CreateNotificationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NotificationSettingsDto
NameDescriptionTypeAdditional information
Id

Unique Id of these settings.

globally unique identifier

None.

Name

Friendly name for this notification

string

None.

NotifyOnAction

Action to notify on.

NotifyOnActionDto

None.

Enabled

If the notification is enabled (running)

boolean

None.

Suspended

If the notification is suspended due to rate limiting.

boolean

None.

Links

Collection of LinkDto

None.

Actions

Actions that can be taken on this notification (not to be confused with actions that are triggered)

Collection of LinkDto

None.

StatusPostNotificationFilter

Options for notifications watching users or devices.

StatusPostNotificationFilterDto

None.

AlertNotificationFilter

Options for notifications watching alerts.

AlertNotificationFilterDto

None.

UserReportingNotificationFilter

UserReportingNotificationFilterDto

None.

UserNotReportingNotificationFilter

UserNotReportingNotificationFilterDto

None.

MeasurementOutOfRangeFilter

MeasurementOutOfRangeFilterDto

None.

ExportCreatedNotificationFilter

ExportCreatedNotificationFilterDto

None.

DeviceRegisteredNotificationFilter

A new device has been registered

DeviceRegisteredNotificationFilterDto

None.

DeviceDeletedNotificationFilter

Device deleted

DeviceDeletedNotificationFilterDto

None.

MemberRegisteredNotificationFilter

a new member has been registered

MemberRegisteredNotificationFilterDto

None.

MemberDeletedNotificationFilter

A member has been deleted

MemberDeletedNotificationFilterDto

None.

BatteryLowNotificationFilter

A devices battery is low

BatteryLowNotificationFilterDto

None.

BatteryCriticalNotificationFilter

A devices battery is critically low

BatteryCriticalNotificationFilterDto

None.

LocationChangedFilter

The location has changed for a device/user

LocationChangedNotificationFilterDto

None.

UsersFilter

UsersFilterDto

None.

TagFilter

TagFilterDto

None.

SendEmailAction

Send an email for notification

SendEmailActionDto

None.

SendSmsAction

Send an email for notification

SendSmsActionDto

None.

SendMqttMessageAction

Send a message to MQTT connected clients

SendMqttMessageActionDto

None.

PostStatusMessageAction

Post a status message to the timeline when the notificaiton is triggered.

PostStatusMessageActionDto

None.

RaiseAlertAction

Raise an alert when the notification is triggered

RaiseAlertActionDto

None.

SendToParticleAction

Send message to Particle.io to call a method on a particle device (Core, Photon, etc.)

SendToParticleActionDto

None.

SendLifxLightCommand

Send a command to LIFX to action a change in lighting.

LifxLightCommandActionDto

None.

PostTweet

Send a tweet

PostTweetActionDto

None.

Triggered

If this notification is in the triggered state for one or more devices.

boolean

None.

RetriggerSettings

How the notification re-triggers.

RetriggerSettingsDto

None.

TriggerResetsAt

When the trigger is expected to automatically reset.

date

None.

TriggeredAt

When this was triggered. This is the earliest trigger if their is more than one (e.g. many devices)

date

None.

Response Formats

application/json, text/json, application/senml+json

Sample:
{
  "Id": "3f1ad88b-defe-4f9c-b738-80dd1dea3ec2",
  "Name": "sample string 2",
  "NotifyOnAction": "StatusMessagePosted",
  "Enabled": true,
  "Suspended": true,
  "Links": [
    {
      "Href": "sample string 1",
      "Rel": "sample string 2",
      "Action": "sample string 3"
    },
    {
      "Href": "sample string 1",
      "Rel": "sample string 2",
      "Action": "sample string 3"
    }
  ],
  "Actions": [
    {
      "Href": "sample string 1",
      "Rel": "sample string 2",
      "Action": "sample string 3"
    },
    {
      "Href": "sample string 1",
      "Rel": "sample string 2",
      "Action": "sample string 3"
    }
  ],
  "StatusPostNotificationFilter": {
    "AllPosts": true,
    "ContainsText": "sample string 2",
    "ExactMatch": true,
    "Enabled": true
  },
  "AlertNotificationFilter": {
    "MyAlertsOnly": true,
    "OnWarning": true,
    "OnError": true,
    "OnCritical": true,
    "ActionRequired": true,
    "Enabled": true
  },
  "UserReportingNotificationFilter": {
    "Enabled": true
  },
  "UserNotReportingNotificationFilter": {
    "Enabled": true
  },
  "MeasurementOutOfRangeFilter": {
    "FieldTag": "sample string 1",
    "FieldName": "sample string 2",
    "IsAboveWorkingRange": true,
    "IsBelowWorkingRange": true,
    "IsAboveErrorRange": true,
    "IsBelowErrorRange": true,
    "TriggerAfterCount": 7,
    "Enabled": true
  },
  "ExportCreatedNotificationFilter": {
    "AllExports": true,
    "ExportId": "060603fb-2676-4f4a-8c5a-b6e7fde3f49b",
    "ByTag": "sample string 2",
    "Enabled": true
  },
  "DeviceRegisteredNotificationFilter": {
    "Enabled": true
  },
  "DeviceDeletedNotificationFilter": {
    "Enabled": true
  },
  "MemberRegisteredNotificationFilter": {
    "Enabled": true
  },
  "MemberDeletedNotificationFilter": {
    "Enabled": true
  },
  "BatteryLowNotificationFilter": {
    "Enabled": true
  },
  "BatteryCriticalNotificationFilter": {
    "Enabled": true
  },
  "LocationChangedFilter": {
    "Enabled": true
  },
  "UsersFilter": {
    "UserIds": [
      "03d80dd5-7c99-4b89-867d-99ee2a0eed9f",
      "e505a7a3-9521-485b-aafb-119f7faf1e04"
    ],
    "Tag": "sample string 1",
    "NotTaggedWith": "sample string 2",
    "IncludeMembers": true,
    "IncludeDevices": true,
    "IncludeBots": true,
    "JustMyDevices": true
  },
  "TagFilter": {
    "Tag": "sample string 1",
    "NotTaggedWith": "sample string 2"
  },
  "SendEmailAction": {
    "Subject": "sample string 1",
    "MessageHtml": "sample string 2",
    "Enabled": true
  },
  "SendSmsAction": {
    "Message": "sample string 1",
    "Enabled": true
  },
  "SendVoiceMessageAction": {
    "Message": "sample string 1",
    "Enabled": true
  },
  "SendWebHookAction": {
    "HttpMethod": "sample string 1",
    "Url": "sample string 2",
    "Body": "sample string 3",
    "AuthHeader": "sample string 4",
    "ExtraHeader1": "sample string 5",
    "ExtraHeader2": "sample string 6",
    "ExtraHeaders": [
      "sample string 1",
      "sample string 2"
    ],
    "Enabled": true
  },
  "SendAwsSnsMessageAction": {
    "Topic": "sample string 1",
    "Enabled": true
  },
  "SendMqttMessageAction": {
    "Topic": "sample string 1",
    "Message": "sample string 2",
    "MessageBytes": "QEA=",
    "QosLevel": 64,
    "Retain": true,
    "Enabled": true
  },
  "PostStatusMessageAction": {
    "Message": "sample string 1",
    "Tags": [
      "sample string 1",
      "sample string 2"
    ],
    "Enabled": true
  },
  "RaiseAlertAction": {
    "Message": "sample string 1",
    "AlertLevel": "Warning",
    "Tags": [
      "sample string 1",
      "sample string 2"
    ],
    "ToAll": true,
    "AssignToUserId": "51a26a1a-ada9-4ccf-a95b-582a0373c240",
    "ActionRequired": true,
    "Enabled": true
  },
  "SendToParticleAction": {
    "DeviceId": "a7ed5215-2ba6-4616-b752-520428a3e9bb",
    "MethodName": "sample string 2",
    "Args": [
      "sample string 1",
      "sample string 2"
    ],
    "Enabled": true
  },
  "SendLifxLightCommand": {
    "Action": "sample string 1",
    "LifxBotUserId": "d2fef0cc-c847-4c51-adbe-f04f195408f3",
    "TogglePowerSettings": {
      "Selector": "sample string 1",
      "Duration": 2
    },
    "SetStateSettings": {
      "Selector": "sample string 1",
      "Power": true,
      "Duration": 3,
      "Color": "sample string 4",
      "Brightness": 1.1
    },
    "PulseEffectSettings": {
      "Selector": "sample string 1",
      "FromColor": "sample string 2",
      "PowerOn": true,
      "Peak": 1.1,
      "Period": 1.1,
      "Cycles": 1,
      "Color": "sample string 3"
    },
    "BreatheEffectSettings": {},
    "ActivateSceneRequestSettings": {
      "Id": "bb714833-8174-40ae-ad52-b8703194d6e7",
      "Duration": 2
    },
    "Enabled": true
  },
  "SendIftttEvent": {
    "Url": "sample string 1",
    "EventName": "sample string 2",
    "Value1": "sample string 3",
    "Value2": "sample string 4",
    "Value3": "sample string 5",
    "Tags": [
      "sample string 1",
      "sample string 2"
    ],
    "ServiceKey": "sample string 6",
    "Enabled": true
  },
  "PostTweet": {
    "BotId": "721fd83e-9f00-4621-bfb6-b246c12835b5",
    "Message": "sample string 2",
    "IncludeLocation": true,
    "IncludeMedia": true,
    "Enabled": true
  },
  "SendSlackMessage": {
    "Url": "sample string 1",
    "Channel": "sample string 2",
    "Message": "sample string 3",
    "Enabled": true
  },
  "Triggered": true,
  "RetriggerSettings": {
    "Option": 0,
    "AutoResetEnabled": true,
    "AutoResetAfterMinutes": 2.1,
    "AutoResetAfter": "00:00:00.1234567"
  },
  "TriggerResetsAt": "2024-12-03T08:20:21.9241793+00:00",
  "TriggeredAt": "2024-12-03T08:20:21.9241793+00:00"
}

application/xml, text/xml

Sample:
<NotificationSettingsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings">
  <Actions xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">
    <d2p1:LinkViewModel>
      <d2p1:Action>sample string 3</d2p1:Action>
      <d2p1:Href>sample string 1</d2p1:Href>
      <d2p1:Rel>sample string 2</d2p1:Rel>
    </d2p1:LinkViewModel>
    <d2p1:LinkViewModel>
      <d2p1:Action>sample string 3</d2p1:Action>
      <d2p1:Href>sample string 1</d2p1:Href>
      <d2p1:Rel>sample string 2</d2p1:Rel>
    </d2p1:LinkViewModel>
  </Actions>
  <AlertNotificationFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:ActionRequired>true</d2p1:ActionRequired>
    <d2p1:MyAlertsOnly>true</d2p1:MyAlertsOnly>
    <d2p1:OnCritical>true</d2p1:OnCritical>
    <d2p1:OnError>true</d2p1:OnError>
    <d2p1:OnWarning>true</d2p1:OnWarning>
  </AlertNotificationFilter>
  <BatteryCriticalNotificationFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Membership.Device">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </BatteryCriticalNotificationFilter>
  <BatteryLowNotificationFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Membership.Device">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </BatteryLowNotificationFilter>
  <DeviceDeletedNotificationFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Membership.Device">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </DeviceDeletedNotificationFilter>
  <DeviceRegisteredNotificationFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Membership.Device">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </DeviceRegisteredNotificationFilter>
  <Enabled>true</Enabled>
  <ExportCreatedNotificationFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Measurements">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
    <d2p1:AllExports>true</d2p1:AllExports>
    <d2p1:ByTag>sample string 2</d2p1:ByTag>
    <d2p1:ExportId>060603fb-2676-4f4a-8c5a-b6e7fde3f49b</d2p1:ExportId>
  </ExportCreatedNotificationFilter>
  <Id>3f1ad88b-defe-4f9c-b738-80dd1dea3ec2</Id>
  <Links xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared">
    <d2p1:LinkViewModel>
      <d2p1:Action>sample string 3</d2p1:Action>
      <d2p1:Href>sample string 1</d2p1:Href>
      <d2p1:Rel>sample string 2</d2p1:Rel>
    </d2p1:LinkViewModel>
    <d2p1:LinkViewModel>
      <d2p1:Action>sample string 3</d2p1:Action>
      <d2p1:Href>sample string 1</d2p1:Href>
      <d2p1:Rel>sample string 2</d2p1:Rel>
    </d2p1:LinkViewModel>
  </Links>
  <LocationChangedFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Location">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </LocationChangedFilter>
  <MeasurementOutOfRangeFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Measurements">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
    <d2p1:FieldName>sample string 2</d2p1:FieldName>
    <d2p1:FieldTag>sample string 1</d2p1:FieldTag>
    <d2p1:IsAboveErrorRange>true</d2p1:IsAboveErrorRange>
    <d2p1:IsAboveWorkingRange>true</d2p1:IsAboveWorkingRange>
    <d2p1:IsBelowErrorRange>true</d2p1:IsBelowErrorRange>
    <d2p1:IsBelowWorkingRange>true</d2p1:IsBelowWorkingRange>
    <d2p1:TriggerAfterCount>7</d2p1:TriggerAfterCount>
  </MeasurementOutOfRangeFilter>
  <MemberDeletedNotificationFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Membership.Member">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </MemberDeletedNotificationFilter>
  <MemberRegisteredNotificationFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Membership.Member">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </MemberRegisteredNotificationFilter>
  <Name>sample string 2</Name>
  <NotifyOnAction>StatusMessagePosted</NotifyOnAction>
  <PostStatusMessageAction xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Message>sample string 1</d2p1:Message>
    <d2p1:Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:Tags>
  </PostStatusMessageAction>
  <PostTweet xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:BotId>721fd83e-9f00-4621-bfb6-b246c12835b5</d2p1:BotId>
    <d2p1:IncludeLocation>true</d2p1:IncludeLocation>
    <d2p1:IncludeMedia>true</d2p1:IncludeMedia>
    <d2p1:Message>sample string 2</d2p1:Message>
  </PostTweet>
  <RaiseAlertAction xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:ActionRequired>true</d2p1:ActionRequired>
    <d2p1:AlertLevel>Warning</d2p1:AlertLevel>
    <d2p1:AssignToUserId>51a26a1a-ada9-4ccf-a95b-582a0373c240</d2p1:AssignToUserId>
    <d2p1:Message>sample string 1</d2p1:Message>
    <d2p1:Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:Tags>
    <d2p1:ToAll>true</d2p1:ToAll>
  </RaiseAlertAction>
  <RetriggerSettings xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">
    <d2p1:AutoResetAfter>PT0.1234567S</d2p1:AutoResetAfter>
    <d2p1:AutoResetAfterMinutes>2.1</d2p1:AutoResetAfterMinutes>
    <d2p1:AutoResetEnabled>true</d2p1:AutoResetEnabled>
    <d2p1:Option>EveryTime</d2p1:Option>
  </RetriggerSettings>
  <SendAwsSnsMessageAction xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Topic>sample string 1</d2p1:Topic>
  </SendAwsSnsMessageAction>
  <SendEmailAction xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:MessageHtml>sample string 2</d2p1:MessageHtml>
    <d2p1:Subject>sample string 1</d2p1:Subject>
  </SendEmailAction>
  <SendIftttEvent xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:EventName>sample string 2</d2p1:EventName>
    <d2p1:ServiceKey>sample string 6</d2p1:ServiceKey>
    <d2p1:Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:Tags>
    <d2p1:Url>sample string 1</d2p1:Url>
    <d2p1:Value1>sample string 3</d2p1:Value1>
    <d2p1:Value2>sample string 4</d2p1:Value2>
    <d2p1:Value3>sample string 5</d2p1:Value3>
  </SendIftttEvent>
  <SendLifxLightCommand xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Action>sample string 1</d2p1:Action>
    <d2p1:ActivateSceneRequestSettings xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions.LifxSettings">
      <d3p1:Duration>2</d3p1:Duration>
      <d3p1:Id>bb714833-8174-40ae-ad52-b8703194d6e7</d3p1:Id>
    </d2p1:ActivateSceneRequestSettings>
    <d2p1:BreatheEffectSettings xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions.LifxSettings" />
    <d2p1:LifxBotUserId>d2fef0cc-c847-4c51-adbe-f04f195408f3</d2p1:LifxBotUserId>
    <d2p1:PulseEffectSettings xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions.LifxSettings">
      <d3p1:Color>sample string 3</d3p1:Color>
      <d3p1:Cycles>1</d3p1:Cycles>
      <d3p1:FromColor>sample string 2</d3p1:FromColor>
      <d3p1:Peak>1.1</d3p1:Peak>
      <d3p1:Period>1.1</d3p1:Period>
      <d3p1:PowerOn>true</d3p1:PowerOn>
      <d3p1:Selector>sample string 1</d3p1:Selector>
    </d2p1:PulseEffectSettings>
    <d2p1:SetStateSettings xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions.LifxSettings">
      <d3p1:Brightness>1.1</d3p1:Brightness>
      <d3p1:Color>sample string 4</d3p1:Color>
      <d3p1:Duration>3</d3p1:Duration>
      <d3p1:Power>true</d3p1:Power>
      <d3p1:Selector>sample string 1</d3p1:Selector>
    </d2p1:SetStateSettings>
    <d2p1:TogglePowerSettings xmlns:d3p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions.LifxSettings">
      <d3p1:Duration>2</d3p1:Duration>
      <d3p1:Selector>sample string 1</d3p1:Selector>
    </d2p1:TogglePowerSettings>
  </SendLifxLightCommand>
  <SendMqttMessageAction xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Message>sample string 2</d2p1:Message>
    <d2p1:MessageBytes>QEA=</d2p1:MessageBytes>
    <d2p1:QosLevel>64</d2p1:QosLevel>
    <d2p1:Retain>true</d2p1:Retain>
    <d2p1:Topic>sample string 1</d2p1:Topic>
  </SendMqttMessageAction>
  <SendSlackMessage xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Channel>sample string 2</d2p1:Channel>
    <d2p1:Message>sample string 3</d2p1:Message>
    <d2p1:Url>sample string 1</d2p1:Url>
  </SendSlackMessage>
  <SendSmsAction xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Message>sample string 1</d2p1:Message>
  </SendSmsAction>
  <SendToParticleAction xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Args xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:Args>
    <d2p1:DeviceId>a7ed5215-2ba6-4616-b752-520428a3e9bb</d2p1:DeviceId>
    <d2p1:MethodName>sample string 2</d2p1:MethodName>
  </SendToParticleAction>
  <SendVoiceMessageAction xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Message>sample string 1</d2p1:Message>
  </SendVoiceMessageAction>
  <SendWebHookAction xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Actions">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:AuthHeader>sample string 4</d2p1:AuthHeader>
    <d2p1:Body>sample string 3</d2p1:Body>
    <d2p1:ExtraHeader1>sample string 5</d2p1:ExtraHeader1>
    <d2p1:ExtraHeader2>sample string 6</d2p1:ExtraHeader2>
    <d2p1:ExtraHeaders xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:ExtraHeaders>
    <d2p1:HttpMethod>sample string 1</d2p1:HttpMethod>
    <d2p1:Url>sample string 2</d2p1:Url>
  </SendWebHookAction>
  <StatusPostNotificationFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.StatusPosts">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
    <d2p1:AllPosts>true</d2p1:AllPosts>
    <d2p1:ContainsText>sample string 2</d2p1:ContainsText>
    <d2p1:ExactMatch>true</d2p1:ExactMatch>
  </StatusPostNotificationFilter>
  <Suspended>true</Suspended>
  <TagFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">
    <d2p1:NotTaggedWith>sample string 2</d2p1:NotTaggedWith>
    <d2p1:Tag>sample string 1</d2p1:Tag>
  </TagFilter>
  <TriggerResetsAt>2024-12-03T08:20:21.9241793+00:00</TriggerResetsAt>
  <Triggered>true</Triggered>
  <TriggeredAt>2024-12-03T08:20:21.9241793+00:00</TriggeredAt>
  <UserNotReportingNotificationFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Membership">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </UserNotReportingNotificationFilter>
  <UserReportingNotificationFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters.Membership">
    <Enabled xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">true</Enabled>
  </UserReportingNotificationFilter>
  <UsersFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.UserNotificationSettings.Filters">
    <d2p1:IncludeBots>true</d2p1:IncludeBots>
    <d2p1:IncludeDevices>true</d2p1:IncludeDevices>
    <d2p1:IncludeMembers>true</d2p1:IncludeMembers>
    <d2p1:JustMyDevices>true</d2p1:JustMyDevices>
    <d2p1:NotTaggedWith>sample string 2</d2p1:NotTaggedWith>
    <d2p1:Tag>sample string 1</d2p1:Tag>
    <d2p1:UserIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>03d80dd5-7c99-4b89-867d-99ee2a0eed9f</d3p1:guid>
      <d3p1:guid>e505a7a3-9521-485b-aafb-119f7faf1e04</d3p1:guid>
    </d2p1:UserIds>
  </UsersFilter>
</NotificationSettingsDto>