This document describes how to create an internal app and use the APIs provided by the Smart meeting room to create, update, query, and delete meeting room groups.
Expected result
The meeting room group result is shown below:
Process overview
Prerequisite: Complete the App creation and configuration process.
Step 1: Obtain the App credential, including the client ID and Client Secret.
Step 2: Request API permissions for the Smart meeting room APIs.
Step 3: Obtain the App access credential by following Obtain the access token of an internal app. When calling APIs, the access token is used to authenticate the caller.
Step 4: Call the meeting room APIs:
- Call the Server API Create meeting room groups and obtain the
result field from the response, which is the meeting room group ID.
- Use the meeting room group ID to call the Server API Update meeting room groups to update the meeting room group information.
- Call the Server API Query meeting room groups list to retrieve the list of meeting room groups.
- Use the meeting room group ID to call the Server API Query meeting room group to retrieve detailed information about a single meeting room group.
- Use the meeting room group ID to call the Server API Delete a meeting room group to delete the meeting room group.
Prerequisite
Complete the App creation and configuration process.
Step 1: Obtain the App credential
- Select the target App and go to the App details page. Click Basic Information > Credentials and Basic Information.
- Obtain the client ID and Client Secret.
Step 2: Add API permissions
Click Development Configuration > Manage permissions. In the permission search box, enter VideoConference.Conference.Write and VideoConference.Conference.Read respectively, and request the permissions.
Step 3: Obtain the App access token
For differences between Server API versions, see the legacy API vs. new API comparison. The following APIs all use Server APIs. For SDK downloads, see the server-side SDK download page.
Use the client ID and Client Secret obtained in Step 1 to obtain the App access token by following Obtain the access token of an internal app.
Step 4: Call the meeting room group APIs
-
Call the Server API Create meeting room groups and obtain the
result field from the response, which is the meeting room group ID.
-
Use the meeting room group ID to call the Server API Update meeting room groups to update the meeting room group information.
-
Call the Server API Query meeting room groups list to retrieve the list of meeting room groups.
-
Use the meeting room group ID to call the Server API Query meeting room group to retrieve detailed information about a single meeting room group.
-
Use the meeting room group ID to call the Server API Delete a meeting room group to delete the meeting room group.
Note
A meeting room group cannot be deleted if it contains any meeting rooms.