POST api/KDCA/ResponseById
Request Information
URI Parameters
None.
Body Parameters
ResponseBackName | Description | Type | Additional information |
---|---|---|---|
idResponse | integer |
None. |
|
idIntent | integer |
None. |
|
idDictionary | integer |
None. |
|
response | string |
None. |
|
method | string |
None. |
|
contentType | string |
None. |
|
process | string |
None. |
|
parameters | string |
None. |
|
parametersList | Collection of ParameterBack |
None. |
|
responseHelp | string |
None. |
|
responseError | string |
None. |
|
language | string |
None. |
|
languageId | integer |
None. |
|
type | string |
None. |
|
payload | string |
None. |
|
chatGPT | integer |
None. |
|
promptTitle | string |
None. |
|
multiselect | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "idResponse": 1, "idIntent": 2, "idDictionary": 3, "response": "sample string 4", "method": "sample string 5", "contentType": "sample string 6", "process": "sample string 7", "parameters": "sample string 8", "parametersList": [ { "idResponse": 1, "code": "sample string 2", "name": "sample string 3" }, { "idResponse": 1, "code": "sample string 2", "name": "sample string 3" } ], "responseHelp": "sample string 9", "responseError": "sample string 10", "language": "sample string 11", "languageId": 12, "type": "sample string 13", "payload": "sample string 14", "chatGPT": 15, "promptTitle": "sample string 16", "multiselect": 17 }
application/xml, text/xml
Sample:
<ResponseBack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KDCA.Model"> <chatGPT>15</chatGPT> <contentType>sample string 6</contentType> <idDictionary>3</idDictionary> <idIntent>2</idIntent> <idResponse>1</idResponse> <language>sample string 11</language> <languageId>12</languageId> <method>sample string 5</method> <multiselect>17</multiselect> <parameters>sample string 8</parameters> <parametersList> <ParameterBack> <code>sample string 2</code> <idResponse>1</idResponse> <name>sample string 3</name> </ParameterBack> <ParameterBack> <code>sample string 2</code> <idResponse>1</idResponse> <name>sample string 3</name> </ParameterBack> </parametersList> <payload>sample string 14</payload> <process>sample string 7</process> <promptTitle>sample string 16</promptTitle> <response>sample string 4</response> <responseError>sample string 10</responseError> <responseHelp>sample string 9</responseHelp> <type>sample string 13</type> </ResponseBack>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |