在Sharepoint Online中,有任何工作流程可以发送短信/短信。 [英] In Sharepoint Online is there is any workflow to send SMS/Text Messages.

查看:77
本文介绍了在Sharepoint Online中,有任何工作流程可以发送短信/短信。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

请帮助我任何人让我知道  是否有任何工作流程可以发送短信/短信。

Please help me any one let me know  is there is any workflow to send SMS/Text Messages.

谢谢,

Sowjanya。

推荐答案

嗨Sowjanya

Hi Sowjanya

请检查以下内容


SMS API提供程序的关键要求是,如果要在SharePoint工作流中工作,则必须返回JSON格式。

The key requirement from an SMS API provider is that they must return JSON format if it is to work in SharePoint workflows.


我如何使用的摘要clicksend.com使它工作。


概述



  1. 创建    工作流程并在SharePoint设计器中打开

  2. 使用clicksend v2 http     API。   I
    未成功使用v3     REST API,因为我似乎无法通过JSON中的电话号码和消息传递    ;  格式。
  1. Create a      workflow and open it in SharePoint designer
  2. Use the clicksend v2 http      API.  I was unsuccessful with the v3      REST API as I could not seem to pass the phone number and message in JSON      format.



我列出了两种与SP工作流程一起使用的方法。 



  1. (首选)    在标题中验证并POST电话号码(TO)和MES​​SAGE


  1. https://api-mapper.clicksend.com/rest/v2/send.json?method=http


< li style ="border:none;字体重量:继承;字体风格:继承; FONT-FAMILY:继承;保证金:0像素;概要:0像素;填充:0像素;列表样式类型:十进制; vertical-align:middle">
(不是首选)在    标题中进行身份验证,并将TO和MESSAGE添加到网址



  1. https://api-mapper.clicksend.com/rest/v2/send.json?method=http&to=272901795&message=Hello    注意:
    此方法不太可取,因为它需要 
    URL编码   phone
          number and message。
  1. https://api-mapper.clicksend.com/rest/v2/send.json?method=http&to=272901795&message=Hello  NOTE: This method is less preferable as       it requires URL-encoded phone       number and message.




API:  https://clicksendhttpapiv2.docs.apiary.io/#


将返回SharePoint所需的JSON的API的基本URI变体

The base URI variant of the API that will return JSON which SharePoint requires


https://api-mapper.clicksend.com/rest/v2/send.json


此URI适用于从浏览器进行测试:   (这有效但暴露密码)。

This URI that works for testing from the browser:  (This works but exposes the password).


https://api-mapper.clicksend.com/http/v2/send.php?method=http&username=niwaonline&key=XXyourpasswordXX&to=+61111111&message=hello


SharePoint Workflow详细信息:


工作流程看起来像这样,将在下面进一步解释。

The workflow will end up looking like this and will be explained further below.





  1. 建立一个    字典,包含以下三个项目:



授权:字符串:基本base64password

Authorization: string: Basic base64password


接受:string:application / json; odata = verbose

Accept: string: application/json;odata=verbose


Content-Type:application / json; odata = verbose

Content-Type: application/json;odata=verbose





  1. 建立一个包含电话号码(TO)和消息的   字典。   这个
    是您需要填写的:



to:string:+6411111

to: string: +6411111


message:String:你的消息在这里

message: String: your message here




工作流现在看起来像这样:

Workflow now looks like this:




  1. 使用包含TO和     您刚刚构建的MESSAGE的变量"Messages"来呼叫     http网络服务。




如红点所示,您可以为每个用于记录或控制的响应项创建一个新变量。

As indicated by the red dots you can create a new variable for each response item to use for logging or control.



  1. 将第一个字典变量的授权和其他项添加到    请求标题


  1. 突出显示      http呼叫并使用下拉箭头查找属性并设置。 








就是这样!   触发工作流程,您的短信将被发送。

That's it!  Trigger the workflow and your SMS will be sent.


这篇关于在Sharepoint Online中,有任何工作流程可以发送短信/短信。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆