TextMessages APIs
-
Get SMS Message Profile
Description: Returns the SMS_Message object for the given smscodeUsage:
GET api/Messages/Text/{SMSCode}
Parameter Type Source Description SMSCode Int32 FromUri The unique numerical code identifying the sms message to return Returns:
Returns SMS_Message for the given smscode.
Examples:
<!-- Intent: retrieve the profile for sms message with smscode of 100000 GET to the following url http://api.v4.swiftreach.com/api/Messages/Text/100000 --> <!-- No XML input is required --> <!-- example return value --> <SMS_Message> <ChangeStamp>2012-09-17T11:38:54.94</ChangeStamp> <ChangedByUser>sample</ChangedByUser> <Body> <SMS_Content> <Body> <SMS_TEXT_SOURCE i:type="SMS_TEXT_SOURCE_TEXT"> <TextType>sms_text_source_text</TextType> <Text>this is a test of the sms messaging</Text> </SMS_TEXT_SOURCE> </Body> <SpokenLanguage>English</SpokenLanguage> <Subject>foobar</Subject> </SMS_Content> </Body> <CreateStamp>2012-09-17T11:21:55.647</CreateStamp> <CreatedByUser>sample</CreatedByUser> <DefaultSpokenLanguage>English</DefaultSpokenLanguage> <DeleteLocked>true</DeleteLocked> <Description>this is just a test</Description> <SMSCode>100000</SMSCode> <FromAddress>nick@swiftreach.com</FromAddress> <FromName>Swift911V4</FromName> <LastUsed>2012-12-21T08:44:18.38</LastUsed> <Name>Test SMS</Name> <Visibility>Visible</Visibility> </SMS_Message>