POST api/KDCA/PromptResponseById
Request Information
URI Parameters
None.
Body Parameters
PromptBackName | 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. |
|
promptTitle | string |
None. |
|
promptVisible | integer |
None. |
|
promptIndepent | integer |
None. |
|
promptIndepentDefault | string |
None. |
|
promptIndepentDefaultEjecutar | integer |
None. |
|
promptOptions | integer |
None. |
|
promptOptionsDefault | string |
None. |
|
promptOptionsDefaultEjecutar | integer |
None. |
|
optionsList | Collection of PromptOptionBack |
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", "promptTitle": "sample string 15", "promptVisible": 16, "promptIndepent": 17, "promptIndepentDefault": "sample string 18", "promptIndepentDefaultEjecutar": 19, "promptOptions": 20, "promptOptionsDefault": "sample string 21", "promptOptionsDefaultEjecutar": 22, "optionsList": [ { "idResponse": 1, "payloadOption": "sample string 2", "payloadDestiny": "sample string 3", "ejecutar": 4 }, { "idResponse": 1, "payloadOption": "sample string 2", "payloadDestiny": "sample string 3", "ejecutar": 4 } ] }
application/xml, text/xml
Sample:
<PromptBack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KDCA.Model"> <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> <optionsList> <PromptOptionBack> <ejecutar>4</ejecutar> <idResponse>1</idResponse> <payloadDestiny>sample string 3</payloadDestiny> <payloadOption>sample string 2</payloadOption> </PromptOptionBack> <PromptOptionBack> <ejecutar>4</ejecutar> <idResponse>1</idResponse> <payloadDestiny>sample string 3</payloadDestiny> <payloadOption>sample string 2</payloadOption> </PromptOptionBack> </optionsList> <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> <promptIndepent>17</promptIndepent> <promptIndepentDefault>sample string 18</promptIndepentDefault> <promptIndepentDefaultEjecutar>19</promptIndepentDefaultEjecutar> <promptOptions>20</promptOptions> <promptOptionsDefault>sample string 21</promptOptionsDefault> <promptOptionsDefaultEjecutar>22</promptOptionsDefaultEjecutar> <promptTitle>sample string 15</promptTitle> <promptVisible>16</promptVisible> <response>sample string 4</response> <responseError>sample string 10</responseError> <responseHelp>sample string 9</responseHelp> <type>sample string 13</type> </PromptBack>
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. |