POST api/Speak/GetDTO

Request Information

URI Parameters

None.

Body Parameters

SpeakRequestDTO
NameDescriptionTypeAdditional information
UserName

string

None.

Id

globally unique identifier

None.

Text

string

None.

SpeechRate

integer

None.

Origin

string

None.

ReadingLevel

ReadingLevel

None.

SpeakReason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Id": "63a554b3-55f4-42aa-b5cb-ea060443d162",
  "Text": "sample string 3",
  "SpeechRate": 4,
  "Origin": "sample string 5",
  "ReadingLevel": 0,
  "SpeakReason": "sample string 6"
}

application/xml, text/xml

Sample:
<SpeakRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dictus.PandaServer.DTO">
  <Id>63a554b3-55f4-42aa-b5cb-ea060443d162</Id>
  <Origin>sample string 5</Origin>
  <ReadingLevel>Squirrel</ReadingLevel>
  <SpeakReason>sample string 6</SpeakReason>
  <SpeechRate>4</SpeechRate>
  <Text>sample string 3</Text>
  <UserName>sample string 1</UserName>
</SpeakRequestDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SpeakRespondDTO
NameDescriptionTypeAdditional information
Audio

string

None.

Id

globally unique identifier

None.

SampleRate

integer

None.

BitsPerSample

integer

None.

Channels

integer

None.

Markers

Collection of AudioMarkerDTO

None.

VoiceName

string

None.

RequestId

globally unique identifier

None.

RequestText

string

None.

RequestSpeechRate

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Audio": "sample string 1",
  "Id": "3882a575-1465-484f-b69e-e395d1b656e6",
  "SampleRate": 3,
  "BitsPerSample": 4,
  "Channels": 5,
  "Markers": [
    {
      "PositionInText": 1,
      "MillisecondsInAudio": 2
    },
    {
      "PositionInText": 1,
      "MillisecondsInAudio": 2
    }
  ],
  "VoiceName": "sample string 6",
  "RequestId": "70c588d6-2998-4b38-9d63-e84f269adc25",
  "RequestText": "sample string 8",
  "RequestSpeechRate": 9
}

application/xml, text/xml

Sample:
<SpeakRespondDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dictus.PandaServer.DTO">
  <Audio>sample string 1</Audio>
  <BitsPerSample>4</BitsPerSample>
  <Channels>5</Channels>
  <Id>3882a575-1465-484f-b69e-e395d1b656e6</Id>
  <Markers>
    <AudioMarkerDTO>
      <MillisecondsInAudio>2</MillisecondsInAudio>
      <PositionInText>1</PositionInText>
    </AudioMarkerDTO>
    <AudioMarkerDTO>
      <MillisecondsInAudio>2</MillisecondsInAudio>
      <PositionInText>1</PositionInText>
    </AudioMarkerDTO>
  </Markers>
  <RequestId>70c588d6-2998-4b38-9d63-e84f269adc25</RequestId>
  <RequestSpeechRate>9</RequestSpeechRate>
  <RequestText>sample string 8</RequestText>
  <SampleRate>3</SampleRate>
  <VoiceName>sample string 6</VoiceName>
</SpeakRespondDTO>