VoiceMessages APIs
-
Upload Audio File
Description: Uploads the audio fragment content. Audio may be in the format of vox, ulaw, wav, mp3. The audio file should be sent in the HTTP POST body using a content-type of application x-www-form-urlencoded.Usage:
POST api/Messages/Voice/UploadAudio/{VoiceCode}/{FragmentCode}/{AudioFormat}
Parameter Type Source Description VoiceCode Int32 FromUri The code that uniquely identifies the voice profile that an audio fragment is associated with. FragmentCode Int32 FromUri The code that uniquely identifies the audio fragment to upload. AudioFormat String FromUri Supported values are: vox, ulaw, wav, mp3 Returns:
Returns 0 on success
Examples:
//-- Currently no examples for XML --//