UpdateCustomAudio.wr

04-24-2017

This method updates an existing customizer message part and returns confirmed or error.

Parameters

  • Number : audioid - Unique ID of the custom audio part to update.
  • String : audiotype - TEXTTOSPEECH, PERSONALIZED, LIBRARY, SAYDATE, SAYTIME, SAYMONEY, SAYCHARACTERS
  • String : datafield - Column to find the data to speak if AudioType is SAYsomething or TEXTTOSPEECH
  • String : script - The full text of what the voice will say if AudioType is TEXTTOSPEECH
  • String : speakerc - Speaker ID if using AudioType PERSONALIZED
  • String : step - HUMAN, MACHINE or Poll Question ID Number
  • String : title - Arbitrary name of this custom audio part.
  • String : ulwfile - Ulw audio file name if AudioType is LIBRARY
  • String : voice - Julie, Paul, Kate, Bridget, or Violeta

Useage

Example Request

POST /updateCustomAudio.wr HTTP/1.1
Host: api.voicebroadcasting.com
Content-Type: application/x-www-form-urlencoded

sidtoken=000000000000000000000000000&audioid=823&audiotype=TEXTTOSPEECH
&clientid=0&datafield=&nameofset=V107714&part=1&script=Hi!&speakerc=&step=HUMAN&title=Static%20Text&ulwfile=&voice=JULIE

Example Response

{"audioid":823,"part":1,"response":"confirmed"}