POST api/smarthome/businessdetails/send
Request Information
URI Parameters
None.
Body Parameters
SendBusinessDetailsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| member_id |
Required. Used to look up email and phone from SmartHomeMemberInterest. |
string |
None. |
| Channels |
Delivery channels: "email", "sms", or both. Defaults to both. |
Collection of string |
None. |
| BusinessDetails |
Full business details as a single string sent by the AI agent. Example: "Cosmo Cafeteria, 123 Main St Springfield IL, Phone: +15559876543, Rated 4.6 stars" |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"member_id": "sample string 1",
"Channels": [
"sample string 1",
"sample string 2"
],
"BusinessDetails": "sample string 2"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.