GET api/v1/account/location/{locationId}/eventItem/{eventItemId}
Retrieves the Notification Lists associated with current user's TotalConnect account based on eventItemID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
locationId | integer |
Required |
|
eventItemId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetEventNotificationResult
EventNotificationResultName | Description | Type | Additional information |
---|---|---|---|
EventsResult | EventNotification |
None. |
|
ResultCode | integer |
None. |
|
ResultData | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "EventsResult": { "GroupID": "sample string 1", "CustomNotificationMessage": "sample string 2", "NotificationListID": 3, "ScheduleID": 4, "SecurityPanelStateCondition": 5, "NotificationTypeID": 6, "NotificationDelay": 7, "NotificationDeadLine": "sample string 8", "EventTypeID": 9, "EventItemID": 10, "EventModifierID": 11, "DeviceID": 12, "PartitionIDs": [ 1, 2 ], "IsEnabled": true, "IsIndividualFlow": true, "IsPushEnabled": true, "IsEmailEnabled": true, "IsSMSEnabled": true, "IsSilentEnabled": true, "FlashEventCardType": 19 }, "ResultCode": 1, "ResultData": "sample string 2" }
application/xml, text/xml
Sample:
<EventNotificationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2API.Resource.Models.ResultData"> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/TC2Utilities.RestApi">1</ResultCode> <ResultData xmlns="http://schemas.datacontract.org/2004/07/TC2Utilities.RestApi">sample string 2</ResultData> <EventsResult xmlns:d2p1="http://schemas.datacontract.org/2004/07/TC2Domain.EventNotificationConfiguration"> <d2p1:_x003C_IsSilentEnabled_x003E_k__BackingField>true</d2p1:_x003C_IsSilentEnabled_x003E_k__BackingField> <d2p1:deviceID>12</d2p1:deviceID> <d2p1:eventItemID>10</d2p1:eventItemID> <d2p1:eventModifierID>11</d2p1:eventModifierID> <d2p1:eventTypeID>9</d2p1:eventTypeID> <d2p1:flashEventCardType>19</d2p1:flashEventCardType> <d2p1:isEmailEnabled>true</d2p1:isEmailEnabled> <d2p1:isEnabled>true</d2p1:isEnabled> <d2p1:isIndividualFlow>true</d2p1:isIndividualFlow> <d2p1:isPushEnabled>true</d2p1:isPushEnabled> <d2p1:isSMSEnabled>true</d2p1:isSMSEnabled> <d2p1:partitionIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </d2p1:partitionIDs> <d2p1:CustomNotificationMessage>sample string 2</d2p1:CustomNotificationMessage> <d2p1:GroupID>sample string 1</d2p1:GroupID> <d2p1:NotificationDeadLine>sample string 8</d2p1:NotificationDeadLine> <d2p1:NotificationDelay>7</d2p1:NotificationDelay> <d2p1:NotificationListID>3</d2p1:NotificationListID> <d2p1:NotificationTypeID>6</d2p1:NotificationTypeID> <d2p1:ScheduleID>4</d2p1:ScheduleID> <d2p1:SecurityPanelStateCondition>5</d2p1:SecurityPanelStateCondition> </EventsResult> </EventNotificationResult>