POST api/phone/Voice

Request Information

URI Parameters

None.

Body Parameters

VoiceInfo
NameDescriptionTypeAdditional information
ToNumber

string

None.

FromNumber

string

None.

VoiceName

string

None.

Text

string

None.

Key

string

None.

EventUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "toNumber": "sample string 1",
  "fromNumber": "sample string 2",
  "voiceName": "sample string 3",
  "text": "sample string 4",
  "key": "sample string 5",
  "eventUrl": "sample string 6"
}

application/xml, text/xml

Sample:
<VoiceInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Week4Band.Models">
  <EventUrl>sample string 6</EventUrl>
  <FromNumber>sample string 2</FromNumber>
  <Key>sample string 5</Key>
  <Text>sample string 4</Text>
  <ToNumber>sample string 1</ToNumber>
  <VoiceName>sample string 3</VoiceName>
</VoiceInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.