GET api/chatbotHistory/{session_id}

Get Chatbot History by Session ID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
session_id

string

Required

Body Parameters

None.

Response Information

NameDescriptionTypeAdditional information
MessageId

ID

string

None.

MessageType

Message Type

string

None.

MessageContent

Message Content

string

None.

SessionId

Session ID

string

None.

CreatedAt

Created At

string

None.

Recommendations

Recommendations

Collection of Recommendation

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "messageId": "sample string 1",
    "messageType": "sample string 2",
    "messageContent": "sample string 3",
    "sessionId": "sample string 4",
    "createdAt": "sample string 5",
    "recommendations": [
      {
        "dealId": 1,
        "supplierId": 2,
        "discountId": 3
      },
      {
        "dealId": 1,
        "supplierId": 2,
        "discountId": 3
      }
    ]
  },
  {
    "messageId": "sample string 1",
    "messageType": "sample string 2",
    "messageContent": "sample string 3",
    "sessionId": "sample string 4",
    "createdAt": "sample string 5",
    "recommendations": [
      {
        "dealId": 1,
        "supplierId": 2,
        "discountId": 3
      },
      {
        "dealId": 1,
        "supplierId": 2,
        "discountId": 3
      }
    ]
  }
]