POST api/chatbot/session/toggle

Get Chatbot Session Toggle (Start or End Message)

Request Information

URI Parameters

None.

Body Parameters

NameDescriptionTypeAdditional information
userMessage

User Message

string

None.

contentSet

0 - default, 1 - content set

integer

None.

SessionId

Session Id

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userMessage": "sample string 1",
  "contentSet": 2,
  "sessionId": "sample string 3"
}

Response Information

NameDescriptionTypeAdditional information
SessionId

Session ID

string

None.

MessageId

Message ID

string

None.

Message

Message

string

None.

Recommendations

Recommendations List

Collection of Recommendation

None.

Response Formats

application/json, text/json

Sample:
{
  "sessionId": "sample string 1",
  "messageId": "sample string 2",
  "message": "sample string 3",
  "recommendations": [
    {
      "dealId": 1,
      "supplierId": 2,
      "discountId": 3
    },
    {
      "dealId": 1,
      "supplierId": 2,
      "discountId": 3
    }
  ]
}