POST api/chatbot
Get Chatbot
Request Information
URI Parameters
None.
Body Parameters
Name | Description | Type | Additional 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
Name | Description | Type | Additional information |
---|---|---|---|
SessionId |
Session ID |
string |
None. |
MessageId |
Message ID |
string |
None. |
Message |
Message |
string |
None. |
EndMessage |
End 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", "endMessage": "sample string 4", "recommendations": [ { "dealId": 1, "supplierId": 2, "discountId": 3 }, { "dealId": 1, "supplierId": 2, "discountId": 3 } ] }