Sendmode (预览版)
连接到 Sendmode Business Messaging 帐户,并立即将短信发送到任何国家/地区。
此连接器在以下产品和区域中可用:
| 服务 | Class | 区域 |
|---|---|---|
| Copilot Studio | 高级 | 除以下各项外的所有 Power Automate 区域 : - 美国政府 (GCC) - 美国政府 (GCC High) - 由世纪互联运营的中国云 - 美国国防部(DoD) |
| 逻辑应用程序 | 标准 | 除以下各项外的所有 逻辑应用区域 : - Azure 政府区域 - Azure 中国区域 - 美国国防部(DoD) |
| Power Apps | 高级 | 除以下各项外的所有 Power Apps 区域 : - 美国政府 (GCC) - 美国政府 (GCC High) - 由世纪互联运营的中国云 - 美国国防部(DoD) |
| Power Automate | 高级 | 除以下各项外的所有 Power Automate 区域 : - 美国政府 (GCC) - 美国政府 (GCC High) - 由世纪互联运营的中国云 - 美国国防部(DoD) |
| 连接器元数据 | |
|---|---|
| 发布者 | SendMode |
正在创建连接
连接器支持以下身份验证类型:
| 默认 | 用于创建连接的参数。 | 所有区域 | 不可共享 |
违约
适用:所有区域
用于创建连接的参数。
这是不可共享的连接。 如果 Power App 与另一个用户共享,系统会提示其他用户显式创建新连接。
| Name | 类型 | Description | 必选 |
|---|---|---|---|
| API 密钥 | securestring | 此 API 的 API 密钥 | True |
限制
| 名称 | 调用 | 续订期 |
|---|---|---|
| 每个连接的 API 调用数 | 100 | 60 秒 |
操作
| 发送短信 |
向一个或多个收件人发送短信。 |
| 导入客户 |
将客户详细信息导入 SendMode 帐户。 |
| 检查信用额度 |
检查 SendMode 额度余额。 |
| 选择退出客户 |
从数据库选择退出客户号码。 |
发送短信
向一个或多个收件人发送短信。
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
标头内容类型
|
Content-Type | string |
Sendmode 要求将内容类型设置为应用程序 json。 |
|
|
senderid
|
senderid | string |
收件人设备上显示的发件人 ID。 |
|
|
messagetext
|
messagetext | True | string |
短信的内容。 |
|
customerid
|
customerid | string |
消息的引用 ID。 |
|
|
recipients
|
recipients | True | array of string |
recipients |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
状态
|
status | string |
命令状态 |
|
状态码
|
statusCode | integer |
命令状态代码 |
|
acceptedDateTime
|
acceptedDateTime | string |
Sendmode API 接受 DateTime 消息。 |
|
senderid
|
message.senderid | string |
收件人设备上显示的发件人 ID。 |
|
messagetext
|
message.messagetext | string |
短信的内容。 |
|
customerid
|
message.customerid | string |
消息的引用 ID。 |
|
scheduledate
|
message.scheduledate | string |
scheduledate |
|
recipients
|
message.recipients | array of string |
recipients |
导入客户
将客户详细信息导入 SendMode 帐户。
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
标头内容类型
|
Content-Type | string |
Sendmode 要求将内容类型设置为应用程序 json。 |
|
|
组
|
group | True | string |
要将客户添加到的组。 |
|
mobilenumber
|
mobilenumber | True | string |
客户电话号码。 |
|
firstname
|
firstname | string |
客户名字。 |
|
|
姓
|
surname | string |
客户姓氏。 |
|
|
address
|
address | string |
客户地址。 |
|
|
镇
|
town | string |
客户地址城镇。 |
|
|
县
|
county | string |
客户地址县。 |
|
|
电子邮件
|
string |
客户电子邮件地址。 |
||
|
custom1
|
custom1 | string |
客户自定义 1 字段。 |
|
|
custom2
|
custom2 | string |
客户自定义 2 字段。 |
|
|
businessname
|
businessname | string |
客户业务名称。 |
|
|
dateofbirth
|
dateofbirth | string |
客户出生日期,格式为 dd/mm/yyyy |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
状态
|
status | string |
命令状态 |
|
状态码
|
statusCode | integer |
命令状态代码 |
|
acceptedDateTime
|
acceptedDateTime | string |
Sendmdoe API 接受导入请求的 DateTime。 |
|
组
|
group | string |
要将客户添加到的组。 |
|
mobilenumber
|
importdata.mobilenumber | string |
mobilenumber |
|
firstname
|
importdata.firstname | string |
firstname |
|
姓
|
importdata.surname | string |
姓 |
|
address
|
importdata.address | string |
address |
|
镇
|
importdata.town | string |
镇 |
|
县
|
importdata.county | string |
县 |
|
电子邮件
|
importdata.email | string |
电子邮件 |
|
custom1
|
importdata.custom1 | string |
custom1 |
|
custom2
|
importdata.custom2 | string |
custom2 |
|
businessname
|
importdata.businessname | string |
businessname |
|
dateofbirth
|
importdata.dateofbirth | string |
dateofbirth |
检查信用额度
检查 SendMode 额度余额。
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
标头内容类型
|
Content-Type | string |
Sendmode 要求将内容类型设置为应用程序 json。 |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
状态
|
status | string |
命令状态 |
|
状态码
|
statusCode | integer |
命令状态代码 |
|
余额
|
balance | float |
信用余额 |
选择退出客户
从数据库选择退出客户号码。
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
标头内容类型
|
Content-Type | True | string |
Sendmode 要求将内容类型设置为应用程序 json。 |
|
mobilenumber
|
mobilenumber | True | string |
选择退出的移动号码人员。 |
|
optoutresponse
|
optoutresponse | string |
选择退出时由人员提交的 Reposonse。 |
|
|
returnedresponse
|
returnedresponse | string |
将自定义响应转发到下游应用程序时使用。 |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
状态
|
status | string |
命令状态 |
|
状态码
|
statusCode | integer |
命令状态代码 |
|
acceptedDateTime
|
acceptedDateTime | string |
Sendmode API 接受 DateTime 选择退出请求 |
|
mobilenumber
|
mobilenumber | string |
mobilenumber |
|
optoutreason
|
optoutreason | string |
选择退出的原因 |