FaxMessages APIs
-
FAX_TEXT_SOURCE[] to String Helper Function
Description: Retrieves the text content for the given fax content object arrayUsage:
POST api/Messages/Fax/Helpers/FaxContentObjectArrayToText
Parameter Type Source Description ContentObject FAX_TEXT_SOURCE[] FromBody The FAX_TEXT_SOURCE object array that contains the current content Returns:
Returns a string containing the textual content of the message including auto-fields if used.
Examples:
<!-- Intent: return the text content of the array of fax text source objects POST to the following url http://api.v4.swiftreach.com/api/Messages/Fax/Helpers/FaxContentObjectArrayToText --> <ArrayOfFAX_TEXT_SOURCE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <FAX_TEXT_SOURCE xsi:type="FAX_TEXT_SOURCE_TEXT"> <Text>this is the body of my message.</Text> <TextType>fax_text_source_text</TextType> </FAX_TEXT_SOURCE> </ArrayOfFAX_TEXT_SOURCE> <!-- Example Return Value --> <string>this is the body of my message.</string>