以编程方式安排/创建Skype for Business会议

问题描述 投票:6回答:2

我正在开发一个C#/控制台应用程序,它将安排Skype for Business会议,并且无法找到可能的正确方法和使用的正确方法/ sdk的明确答案。

该应用程序需要:

  1. 使用可以绕过大厅的单个演示者,在将来的日期为商务会议创建lync / skype
  2. 检索加入该会议的URL,以便在向其他参与者(组织外部)发送电子邮件邀请时使用

这将在Skype for Business的Office 365实例上运行。我在各种SDK中找到了关于这个主题的令人眼花缭乱的信息,可能/可能不适用:

所有似乎都表明它们与office 365不兼容,但有没有人建立类似的应用程序或处理此之前可以提供一些建议?

c# .net skype-for-business skypedeveloper
2个回答
5
投票

您可以使用Skype for Business User API (UCWA)创建会议,available for Skype for Business Online现在是POST https://lyncweb.contoso.com/ucwa/oauth/v1/applications/103...740/onlineMeetings/myOnlineMeetings HTTP/1.1 Accept: application/json Content-Type: application/json Authorization: Bearer cwt=AAEB...buHc [...] { "attendanceAnnouncementsStatus":"Disabled", "description":"hey guys let's do a musical!", "subject":"holiday party", "attendees":["sip:[email protected]","sip:[email protected]"], "leaders":[] } (Office 365)。

具体来说,您需要向“myOnlineMeetings”资源发出POST请求:

HTTP/1.1 200 OK
[...]

{
  "accessLevel":"SameEnterprise",
  "entryExitAnnouncement":"Disabled",
  "attendees":["sip:[email protected]","sip:[email protected]"],
  "automaticLeaderAssignment":"Disabled",
  "description":"hey guys let's do a musical!",
  "expirationTime":"\/Date(136...000)\/",
  "leaders":[],
  "onlineMeetingId":"DED...367",
  "onlineMeetingUri":"sip:[email protected];gruu;opaque=app:conf:focus:id:DED...367",
  "onlineMeetingRel":"myOnlineMeetings",
  "organizerUri":"sip:[email protected]",
  "phoneUserAdmission":"Disabled",
  "lobbyBypassForPhoneUsers":"Disabled",
  "subject":"holiday party",
  "joinUrl":"https://meet.contoso.com/dana/DED...367","56de...4c83":"please pass this in a PUT request",
  "_links":{
    "self":{"href":"/ucwa/oauth/v1/applications/103...740/onlineMeetings/myOnlineMeetings/DEDX9367"},
    "onlineMeetingExtensions":{"href":"/ucwa/oauth/v1/applications/103...740/onlineMeetings/myOnlineMeetings/DED...367/extensions"}
  },
  "rel":"myOnlineMeeting",
  "etag":"891...351"
}

在回复中,您将获得一个可以给参与者的“joinURL”:

here

请注意,会议没有与之关联的计划时间。它可以随时使用。您当然可以将URL放在日历约会中(例如Outlook执行此操作),但Skype for Business不了解它。

关于“myOnlineMeetings”请求的完整详细信息是qazxswpoi。


-1
投票

刹车灯.李咏怒斥.com

您必须重建表单请求。这是目前唯一的方法。我们现在尝试使用java进行通信。

© www.soinside.com 2019 - 2024. All rights reserved.