POST api/voice/session

Request Information

URI Parameters

None.

Body Parameters

VoiceSessionRequest
NameDescriptionTypeAdditional information
language

string

None.

trainerID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "language": "sample string 1",
  "trainerID": 2
}

text/html, multipart/form-data

Sample:
{"language":"sample string 1","trainerID":2}

application/xml, text/xml

Sample:
<VoiceSessionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIO_API_VS2019">
  <language>sample string 1</language>
  <trainerID>2</trainerID>
</VoiceSessionRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VoiceSessionRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, multipart/form-data, application/xml, text/xml

Sample:

Sample not available.