NewCustomAudio.wr

04-24-2017

This method creates a new customizer message part group and returns the customid.

Parameters

  • String : audiotype - TEXTTOSPEECH, PERSONALIZED, LIBRARY, SAYDATE, SAYTIME, SAYMONEY, SAYCHARACTERS, SAY
  • String : datafield - Column to find the data to speak if AudioType is SAYsomething or TEXTTOSPEECH
  • String : nameofset - Nameofset of your calloutset record.
  • 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, BOTH 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 /newCustomAudio.wr HTTP/1.1
Host: api.voicebroadcasting.com
Content-Type: application/x-www-form-urlencoded

sidtoken=000000000000000000000000000&audiotype=TEXTTOSPEECH&datafield=&nameofset=V107714&script=Hi!
&speakerc=&step=HUMAN&title=Static%20Text&ulwfile=&voice=JULIE

Example Response

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