FaxMessages APIs
-
Create New Fax Message
Description: Creates a new fax message using a minimum set of optionsUsage:
POST api/Messages/Fax/Create/Simple
Parameter Type Source Description FaxObject SimpleFax FromBody SimpleFax object Returns:
the new Fax_Message
Examples:
<!-- Intent: Create a new Fax message using a minimal set of options POST to the following url http://api.v4.swiftreach.com/api/Messages/Fax/Create/Simple --> <SimpleFax> <Name>My Simple Fax</Name> <Description>this is an example of a simple fax message</Description> <CallerID>2012361344</CallerID> <Content>This is a simple fax message.</Content> </SimpleFax> <!-- example return value --> <Message_Profile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="Fax_Message"> <VoiceCode>123456</VoiceCode> <Name>My Simple Fax</Name> <Description>this is an example of a simple fax message</Description> <CallerID>2012361344</CallerID> <CapacityLimit>0</CapacityLimit> <RingSeconds>60</RingSeconds> <CongestionAttempts>3</CongestionAttempts> <AutoRetries>1</AutoRetries> <AutoRetriesInterval>3</AutoRetriesInterval> <EnableWaterfall>false</EnableWaterfall> <EnableAnsweringMachineDetection>false</EnableAnsweringMachineDetection> <VoiceType>fax_message</VoiceType> <Body> <FAX_TEXT_SOURCE xsi:type="FAX_TEXT_SOURCE_TEXT"> <Text>This is a simple fax message.</Text> <TextType>fax_text_source_text</TextType> </FAX_TEXT_SOURCE> </Body> </Message_Profile>