我正在研究一个C#/控制台应用程序,该应用程序将安排Skype for Business会议,但无法找到可能的正确方法和使用的正确方法/ sdk的明确答案。
应用程序需要:
这将在Skype for Business的office 365实例上运行。我在各种SDK中找到了关于这个主题的令人眼花缭乱的信息,可能/可能不适用:
所有似乎都表明它们与Office 365不兼容,但有没有人建立过类似的应用程序或在此之前解决这个问题可以提供一些建议?
答案 0 :(得分:5)
您可以使用Skype for Business User API (UCWA)创建会议,现在是available for Skype for Business Online(Office 365)。
具体来说,您需要向" myOnlineMeetings"发出POST请求。资源:
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:Chris@contoso.com","sip:Alex@contoso.com"],
"leaders":[]
}
在回复中,您将获得一个" joinURL"你可以给参与者:
HTTP/1.1 200 OK
[...]
{
"accessLevel":"SameEnterprise",
"entryExitAnnouncement":"Disabled",
"attendees":["sip:Chris@contoso.com","sip:Alex@contoso.com"],
"automaticLeaderAssignment":"Disabled",
"description":"hey guys let's do a musical!",
"expirationTime":"\/Date(136...000)\/",
"leaders":[],
"onlineMeetingId":"DED...367",
"onlineMeetingUri":"sip:Dana@contoso.com;gruu;opaque=app:conf:focus:id:DED...367",
"onlineMeetingRel":"myOnlineMeetings",
"organizerUri":"sip:Dana@contoso.com",
"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"
}
请注意,会议没有与之关联的预定时间。它可以随时使用。您当然可以将URL放在日历约会中(例如Outlook执行此操作),但Skype for Business并不了解它。
关于" myOnlineMeetings"的详细信息;请求是here。
答案 1 :(得分:-1)
sched.lync.com
您必须重建表单请求。这是目前唯一的方法。 我们现在尝试使用java进行通信。