POST api/Bot/Say
Request Information
URI Parameters
None.
Body Parameters
BotInputName | Description | Type | Additional information |
---|---|---|---|
text | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "text": "sample string 1" }
application/xml, text/xml
Sample:
<BotController.BotInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBT.Api"> <text>sample string 1</text> </BotController.BotInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BotReplyName | Description | Type | Additional information |
---|---|---|---|
ReplyText | string |
None. |
|
ReplyType | ReplyType |
None. |
Response Formats
application/json, text/json
Sample:
{ "ReplyText": "sample string 1", "ReplyType": 0 }
application/xml, text/xml
Sample:
<BotController.BotReply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBT.Api"> <ReplyText>sample string 1</ReplyText> <ReplyType>Speech</ReplyType> </BotController.BotReply>