POST api/AIbot/EditBotSettings
Request Information
URI Parameters
None.
Body Parameters
EditBotSettingsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| BotSettingsId | integer |
None. |
|
| UserId | integer |
None. |
|
| BotEnabled | boolean |
None. |
|
| AutoRefundEnabled | boolean |
None. |
|
| AutoRefundLimit | decimal number |
None. |
|
| BotNotificationEnabled | boolean |
None. |
|
| OperatorEmailAddress | string |
None. |
|
| OperatorWhatsAppNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"BotSettingsId": 1,
"UserId": 2,
"BotEnabled": true,
"AutoRefundEnabled": true,
"AutoRefundLimit": 5.0,
"BotNotificationEnabled": true,
"OperatorEmailAddress": "sample string 7",
"OperatorWhatsAppNumber": "sample string 8"
}
text/html
Sample:
{"BotSettingsId":1,"UserId":2,"BotEnabled":true,"AutoRefundEnabled":true,"AutoRefundLimit":5.0,"BotNotificationEnabled":true,"OperatorEmailAddress":"sample string 7","OperatorWhatsAppNumber":"sample string 8"}
application/xml, text/xml
Sample:
<EditBotSettingsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Msa.Online.OrderbobApi.Models.AIBot"> <AutoRefundEnabled>true</AutoRefundEnabled> <AutoRefundLimit>5</AutoRefundLimit> <BotEnabled>true</BotEnabled> <BotNotificationEnabled>true</BotNotificationEnabled> <BotSettingsId>1</BotSettingsId> <OperatorEmailAddress>sample string 7</OperatorEmailAddress> <OperatorWhatsAppNumber>sample string 8</OperatorWhatsAppNumber> <UserId>2</UserId> </EditBotSettingsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |