Hi , Can you please provide me soap sample to send fax to multiple phone number's ?
Thanks
There are a number of ways to send Faxes to multiple destinations. The simplest approach is to just include multiple <Destination> tags in your XML, as follows:
<Destinations> <Fax> <Phone>18005551212</Phone> </Fax> <Fax> <Phone>18885551212</Phone> </Fax></Destinations>
Another approach is to use a TABLE, which is essentially including a CSV file within your input XML that references multiple destinations. This is specified as in the following example:
<ns2:Destinations> <ns2:Table> <ns2:Document> <ns2:DocType>text</ns2:DocType> <ns2:DocData format="base64">VFlQRSxBRERSDQpGQVgsMTg4ODU1NTEyMTINCkZBWCwxODAwNTU1MTIxMg== </ns2:DocData> </ns2:Document> </ns2:Table></ns2:Destinations>In the above sample, the base64 encoded portion decodes to this:
TYPE,ADDRFAX,18885551212FAX,18005551212