POST Conversation/SendJetBotReply
Send JetBotReply in conversation..
Request Information
URI Parameters
None.
Body Parameters
JetBotReplyName | Description | Type | Additional information |
---|---|---|---|
ConversationId |
ConvresationId to send a reply. |
string |
None. |
Messages |
Message Data to send. |
Collection of Object |
None. |
IntentId |
(Optional) IntentId that returned on Jetlink NLU API. |
string |
None. |
KeepFlowState |
(Optional) send with true if you want to keep current state of flow (maybe used for validation error handling). |
boolean |
None. |
EndFlow |
(Optional) send with true if you want to keep current state of flow (maybe used for validation error handling). |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ConversationId": "sample string 1", "Messages": [ {}, {} ], "IntentId": "sample string 2", "KeepFlowState": true, "EndFlow": true }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
StatusName | Description | Type | Additional information |
---|---|---|---|
Code |
Status code for the result |
integer |
None. |
ErrorType |
If there was an error. ErrorType will be defined here. |
string |
None. |
ErrorId |
If there was an error. ErrorId will be defined here. |
string |
None. |
ErrorDescription |
If there was an error. ErrorDescription will be written here. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 1, "ErrorType": "sample string 2", "ErrorId": "sample string 3", "ErrorDescription": "sample string 4" }