Schedule / create Skype for a business meeting

I am working on a C # / console application that will schedule appointments in Skype for Business and cannot find a clear answer to what is possible and what is the correct / sdk approach for this.

The application should:

  • Create a lync / skype for a business meeting in the future with one host who can get around the lobby.
  • Get the URL to join this meeting for use in the invitation email to other participants (outside the organization).

This will work on an instance of Office 365 for Skype for Business. I found dizzying subject information here in various SDKs that may / may not apply:

Everyone seems to indicate that they are not compatible with Office 365, although did someone create a similar application or deal with this before it could give some advice?

+6
source share
2 answers

You can create a meeting using the Skype for Business Custom API (UCWA) , which is now available for Skype for Business Online (Office 365).

In particular, you need to make a POST request to the resource "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 do a musical!", "subject":"holiday party", "attendees":["sip: Chris@contoso.com ","sip: Alex@contoso.com "], "leaders":[] } 

In response, you will get "joinURL", which you can give to the participants:

 HTTP/1.1 200 OK [...] { "accessLevel":"SameEnterprise", "entryExitAnnouncement":"Disabled", "attendees":["sip: Chris@contoso.com ","sip: Alex@contoso.com "], "automaticLeaderAssignment":"Disabled", "description":"hey guys let 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" } 

Please note that the meeting does not have a scheduled time associated with it. It can be used at any time. Of course, you can put the URL on the calendar (for example, Outlook does it), but Skype for Business does not know about it.

Full details of the query "myOnlineMeetings" are here .

+5
source

sched.lync.com

You need to rebuild the form request. This is the only way at this time. We are trying to make a connection right now using java.

-1
source

Source: https://habr.com/ru/post/988472/


All Articles