SMSTrigger APIs
-
List SMS Alert Triggers
Description: Returns a list of SMSTrigger objectsUsage:
GET api/Alerts/Triggers/Text/List
Returns:
List of SMSTrigger objects
Examples:
<!-- Intent: retrieve a list of existing Text Alert Triggers GET to the following url http://api.v4.swiftreach.com/api/Alerts/Triggers/Text/List --> <!-- No XML input is required --> <!-- example return values --> <ArrayOfSMSTrigger xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.V4.DataWrappers"> <SMSTrigger> <CreateStamp>2013-06-28T17:00:06.003</CreateStamp> <CreatedByUser>sample</CreatedByUser> <ChangeStamp>2013-06-28T19:35:41.453</ChangeStamp> <ChangedByUser>sample</ChangedByUser> <TriggerCode>100227</TriggerCode> <InboundSMSPhone>2012583529</InboundSMSPhone> <AlertName>Lock Down</AlertName> <Description>There is a lockdown</Description> <IsActive>true</IsActive> <ReplyMessage>The lock down sequence has been activated!</ReplyMessage> <RequireAuthentication>true</RequireAuthentication> <AccessList>668927</AccessList> <RequirePincode>false</RequirePincode> <RequireCommand>true</RequireCommand> <Command>lockdown</Command> <RequireKeyword>false</RequireKeyword> <Keyword i:nil="true" /> <ContactList>668927</ContactList> <CapAction i:nil="true" /> <EmailAction i:type="EmailActionAuto"> <Type>AutoGenerate</Type> <FromAddress>nick@swiftreach.com</FromAddress> <FromName>Swift911V4</FromName> </EmailAction> <FacebookAction i:nil="true" /> <FaxAction i:nil="true" /> <HotlineAction i:type="HotlineActionAuto"> <HotlinePhone>2012583529</HotlinePhone> <Type>AutoGenerate</Type> </HotlineAction> <PagerAction i:nil="true" /> <RssAction i:nil="true" /> <SMSAction i:type="SMSActionAuto"> <Type>AutoGenerate</Type> <FromName>S911V4</FromName> </SMSAction> <ScenarioAction i:nil="true" /> <TwitterAction i:nil="true" /> <VoiceAction i:type="VoiceActionPredefined"> <Type>Predefined</Type> <VoiceCode>665847</VoiceCode> </VoiceAction> </SMSTrigger> <SMSTrigger> <CreateStamp>2013-06-28T14:08:10.71</CreateStamp> <CreatedByUser>sample</CreatedByUser> <ChangeStamp>2013-07-01T15:08:55.173</ChangeStamp> <ChangedByUser>sample</ChangedByUser> <TriggerCode>100217</TriggerCode> <InboundSMSPhone>2012583529</InboundSMSPhone> <AlertName>My Test SMS Feed</AlertName> <Description>this is a test</Description> <IsActive>true</IsActive> <ReplyMessage>Thank You!</ReplyMessage> <RequireAuthentication>false</RequireAuthentication> <AccessList>0</AccessList> <RequirePincode>false</RequirePincode> <RequireCommand>false</RequireCommand> <Command i:nil="true" /> <RequireKeyword>false</RequireKeyword> <Keyword i:nil="true" /> <ContactList>667987</ContactList> <CapAction i:nil="true" /> <EmailAction i:type="EmailActionAuto"> <Type>AutoGenerate</Type> <FromAddress>someone@swiftreach.com</FromAddress> <FromName>Swift911V4</FromName> </EmailAction> <FacebookAction i:nil="true" /> <FaxAction i:nil="true" /> <HotlineAction i:nil="true" /> <PagerAction i:nil="true" /> <RssAction i:nil="true" /> <SMSAction i:nil="true" /> <ScenarioAction i:nil="true" /> <TwitterAction i:nil="true" /> <VoiceAction i:nil="true" /> </SMSTrigger> </ArrayOfSMSTrigger>