POST Conversation/SendJetBotReply

Send JetBotReply in conversation..

Request Information

URI Parameters

None.

Body Parameters

JetBotReply
NameDescriptionTypeAdditional 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.

Request Formats

application/json, text/json

Sample:
{
  "ConversationId": "sample string 1",
  "Messages": [
    {},
    {}
  ],
  "IntentId": "sample string 2",
  "KeepFlowState": true
}

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

Response Information

Resource Description

Status
NameDescriptionTypeAdditional 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"
}