您可以使用Skype for Business User API (UCWA)(現在是available for Skype for Business Online(Office 365))創建會議。
具體來說,你需要做一個POST請求到「myOnlineMeetings」資源:
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":[]
}
在響應中,你會得到一個「joinURL」,你可以給參與者:
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"
}
請注意,會議沒有與其關聯的預定時間。它可以隨時使用。您當然可以將URL放在日曆約會中(例如,Outlook會這樣做),但Skype for Business不知道。
有關「myOnlineMeetings」請求的詳細信息是here。
能否請您解釋一下,如何撥打電話以獲得「Skype會議廣播」中安排的所有會議。我想在Office 365網站中顯示它。 –