RecordSoundViaPhoneCall
Request the system to call you to record a sound file. The calling ID will be the value of SoundFileID
and the number will be 8000000000.
Syntax
RecordSoundViaPhoneCall(PhoneNumberToDial, SoundFileID, LicenseKey)
Request Parameters
Parameter Name | Description | Data Type | Required | Sample Value |
---|---|---|---|---|
PhoneNumberToDial |
The phone number the system should call to get a voice recording. To dial an extension, add "x" followed by the extension. |
String
|
True | 7575551234 |
SoundFileID |
The name you want for your file, for use in future retrieval. Must be lowercase and can contain only normal file characters. |
String
|
True | 0801SnowDay |
LicenseKey |
Your license key, which is required to invoke this web service. |
String
|
True | F01d89fd-5155-5455-5585-e84ab8de8591 |
Response
Returns: RecordSoundViaPhoneCallResponse
object
Code Samples
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<boolean xmlns="http://ws.esendex.us/NotifyWS/">boolean</boolean>
POST /NotifyWS/PhoneNotify.asmx HTTP/1.1
Host: ws.esendex.us
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<RecordSoundViaPhoneCall xmlns="http://ws.esendex.us/NotifyWS/">
<PhoneNumberToDial>string</PhoneNumberToDial>
<SoundFileID>string</SoundFileID>
<LicenseKey>string</LicenseKey>
</RecordSoundViaPhoneCall>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<RecordSoundViaPhoneCallResponse xmlns="http://ws.esendex.us/NotifyWS/">
<RecordSoundViaPhoneCallResult>boolean</RecordSoundViaPhoneCallResult>
</RecordSoundViaPhoneCallResponse>
</soap12:Body>
</soap12:Envelope>