POST api/CreateCompanySpeechToTextSetting

Request Information

URI Parameters

None.

Body Parameters

CompanySpeechToTextSettingVm
NameDescriptionTypeAdditional information
Id

integer

None.

IsEnabled

boolean

None.

Provider

string

None.

Endpoint

string

None.

ApiKey

string

None.

AIProvider

string

None.

AIEndpoint

string

None.

AIApiKey

string

None.

IsAutoAIEnabled

boolean

None.

MinCallDurationSeconds

integer

None.

AIPrompt

string

None.

IsIncomingCallEnabled

boolean

None.

IsOutgoingCallEnabled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IsEnabled": true,
  "Provider": "sample string 2",
  "Endpoint": "sample string 3",
  "ApiKey": "sample string 4",
  "AIProvider": "sample string 5",
  "AIEndpoint": "sample string 6",
  "AIApiKey": "sample string 7",
  "IsAutoAIEnabled": true,
  "MinCallDurationSeconds": 1,
  "AIPrompt": "sample string 9",
  "IsIncomingCallEnabled": true,
  "IsOutgoingCallEnabled": true
}

application/xml, text/xml

Sample:
<CompanySpeechToTextSettingVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.SuperAdminModels">
  <AIApiKey>sample string 7</AIApiKey>
  <AIEndpoint>sample string 6</AIEndpoint>
  <AIPrompt>sample string 9</AIPrompt>
  <AIProvider>sample string 5</AIProvider>
  <ApiKey>sample string 4</ApiKey>
  <Endpoint>sample string 3</Endpoint>
  <Id>1</Id>
  <IsAutoAIEnabled>true</IsAutoAIEnabled>
  <IsEnabled>true</IsEnabled>
  <IsIncomingCallEnabled>true</IsIncomingCallEnabled>
  <IsOutgoingCallEnabled>true</IsOutgoingCallEnabled>
  <MinCallDurationSeconds>1</MinCallDurationSeconds>
  <Provider>sample string 2</Provider>
</CompanySpeechToTextSettingVm>

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 'CompanySpeechToTextSettingVm'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Description

string

None.

Data

Object

None.

Count

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Description": "sample string 3",
  "Data": {},
  "Count": 5
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models">
  <Count>5</Count>
  <Data />
  <Description>sample string 3</Description>
  <Message>sample string 2</Message>
  <Success>true</Success>
</Response>