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