Help Center/ Meeting/ Server API Reference/ Meeting Management/ APIs/ Modifying a Scheduled Meeting
Updated on 2024-01-19 GMT+08:00

Modifying a Scheduled Meeting

Description

This API is used to modify a scheduled meeting. After a meeting starts, it cannot be modified.

Debugging

You can debug this API in API Explorer.

Prototype

Table 1 Prototype

Request Method

PUT

Request Address

/v1/mmc/management/conferences

Transport Protocol

HTTPS

Request Parameters

Table 2 Parameters

Parameter

Mandatory

Type

Location

Description

conferenceID

Yes

String

Query

Meeting ID.

NOTE:

conferenceID returned when a meeting is created. The value is not the value of vmrConferenceID.

userUUID

No

String

Query

UUID of a user.

NOTE:

This parameter will be discarded. Do not use it.

X-Access-Token

Yes

String

Header

Authorization token. Use the value of accessToken in the response to the request for Authenticating an App ID.

X-Authorization-Type

No

String

Header

Whether the request is sent from a third-party portal.

NOTE:

This parameter will be discarded. Do not use it.

X-Site-Id

No

String

Header

ID of the HCS Online site where the authentication is performed.

NOTE:

This parameter will be discarded. Do not use it.

startTime

No

String

Body

UTC time when the meeting starts. Format: yyyy-MM-dd HH:mm.

NOTE:
  • If the start time is not specified or the value is null, the meeting starts immediately.
  • The time is the UTC±00:00 time.

length

No

Integer

Body

Meeting duration, in minutes. The default value is 30 minutes.

The maximum value is 1440 minutes (24 hours) and the minimum value is 15 minutes.

subject

No

String

Body

Meeting topic. The value can contain up to 128 characters.

mediaTypes

Yes

String

Body

Media type of the meeting.

  • Voice: voice meeting.
  • HDVideo: video meeting.

groupuri

No

String

Body

Temporary group ID used when an instant meeting is created on the client. This parameter is carried in the conference-info header or when other participants are invited. The value can contain up to 31 characters.

attendees

No

Array of Attendee objects

Body

Participant list.

cycleParams

No

CycleParams object

Body

Recurring meeting parameter list, which is mandatory for a recurring meeting series.

isAutoRecord

No

Integer

Body

Whether to automatically start recording for the meeting. This parameter is valid only when recordType is set to 2 or 3. Default value: 0.

  • 1: The recording is automatically started.
  • 0: The recording is not automatically started.

encryptMode

No

Integer

Body

Meeting media encryption mode. The default value is defined in the enterprise-level configuration.

  • 0: adaptive encryption.
  • 1: forced encryption.
  • 2: not encrypted.

language

No

String

Body

Language of meeting SMS or email notifications. The default language is Chinese.

  • zh-CN: Chinese.
  • en-US: English.

timeZoneID

No

String

Body

Meeting time zone in meeting notifications. For details, see Time zone mapping.

NOTE:
  • For example, if timeZoneID is set to 26, the time in the meeting notification sent by Huawei Cloud Meeting is Tue, Nov 11, 2021 00:00 - 02:00 (GMT) Greenwich Mean Time:Dublin, Edinburgh, Lisbon, London.
  • If the notification of a non-recurring meeting is sent by a third-party system, leave this parameter blank.

recordType

No

Integer

Body

Recording type. Default value: 0.

  • 0: disabled.
  • 1: live broadcast.
  • 2: recording.
  • 3: live broadcast and recording.

liveAddress

No

String

Body

Live streaming URL of the video. This parameter is valid when the recording type is live broadcast or live broadcast + recording. The value can contain up to 255 characters.

auxAddress

No

String

Body

Live streaming URL of the presentation. This parameter is valid when the recording type is live broadcast or live broadcast + recording. The value can contain up to 255 characters.

recordAuxStream

No

Integer

Body

Whether to record the presentation. This parameter is valid only when recordType is set to 2 or 3. By default, only the video is recorded, and the presentation is not recorded.

  • 0: Do not record the presentation.
  • 1: Record the presentation.

confConfigInfo

No

ConfConfigInfo object

Body

Other meeting settings.

recordAuthType

No

Integer

Body

Recording playback authentication mode. This parameter is valid only when recordType is set to 2 or 3.

  • 0: Users who obtain the link of the recording can watch or download the recording.
  • 1: Only enterprise users can watch or download the recording.
  • 2: Only meeting participants can view and download the recording.

vmrFlag

No

Integer

Body

Whether to use a cloud meeting room to hold the scheduled meeting. Default value: 0.

  • 0: Do not use any cloud meeting room.
  • 1: Use a cloud meeting room.
NOTE:

vmrFlag cannot be modified.

vmrID

No

String

Body

ID of the cloud meeting room bound to the account that creates the meeting. Obtain the value by calling the API for Querying Cloud Meeting Rooms by Page and the Personal Meeting ID as a Common User.

NOTE:

vmrID cannot be modified.

concurrentParticipants

No

Integer

Body

Maximum number of participants in the meeting.

  • 0: unlimited.
  • > 0

supportSimultaneousInterpretation

No

Boolean

Body

Whether simultaneous interpretation is supported.

  • true: supported.
  • false: not supported.

Status Codes

Table 3 Status codes

HTTP Status Code

Description

200

Operation successful.

400

Invalid parameters.

401

Authentication is not performed or fails.

403

Insufficient permissions.

500

Server exception.

Response Parameters

Table 4 Response parameters

Parameter

Type

Description

[Array element]

Array of ConferenceInfo

Meeting information list.

Example Request

PUT /v1/mmc/management/conferences?conferenceID=914087436
Connection: keep-alive
X-Access-Token: stbX5ElstO5QwOwPB9KGQWUZ1DHoFrTsQjjC
Content-Type: application/json
user-agent: WeLink-desktop
Content-Length: 372
Host: api.meeting.huaweicloud.com
User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_191)

{
    "mediaTypes": "HDVideo",
    "startTime": "2022-08-30 12:00",
    "length": 120,
    "attendees": [
        {
            "accountId": "zhangshan@huawei.com",
            "appId": "caaab5a3e584497990f6a9b582a0ae42"
        }
    ],
    "subject": "Regular Meeting"
}

Example Response

HTTP/1.1 200 
Date: Wed, 18 Dec 2019 06:20:40 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 1157
Connection: keep-alive
http_proxy_id: 462abfcfa8a41c2c5450eb7648bf5ad2
Server: api-gateway
X-Request-Id: 7ba6f742610c03a64262b126fb336a5d

[
{
        "conferenceID": "914673889",
        "mediaTypes": "Data,Voice,HDVideo",
        "subject": "Regular Meeting",
        "size": 1,
        "timeZoneID": "56",
        "startTime": "2022-08-30 12:00",
        "endTime": "2022-08-30 13:00",
        "conferenceState": "Schedule",
        "accessNumber": "+991117",
        "language": "zh-CN",
        "passwordEntry": [
            {
                "conferenceRole": "chair",
                "password": "******"
            },
            {
                "conferenceRole": "general",
                "password": "******"
            }
        ],
        "userUUID": "ff80808167ef1edf0167f339533d05a6",
        "scheduserName": "Kim",
        "conferenceType": 0,
        "confType": "FUTURE",
        "isAutoMute": 1,
        "isAutoRecord": 0,
        "chairJoinUri": "https://c.meeting.huaweicloud.com/#/j/914673889/6a30b8b5a325105da031442627828e496f91021ece36405f",
        "guestJoinUri": "https://c.meeting.huaweicloud.com/#/j/914673889/9505dc3349228b1ce0db8165590cc977bcff89785130fe0d",
        "recordType": 2,
        "confConfigInfo": {  
            "isSendNotify": false,
            "isSendSms": false,
            "isAutoMute": true
        },
        "vmrFlag": 0,
        "partAttendeeInfo": [
            {
                "phone": "+99111********4158",
                "name": "Tom",               
                "type": "normal"
            }
        ],
        "terminlCount": 0,
        "normalCount": 1,
        "deptName": "Enterprise Collaboration Cloud Service Program"
    }
]

Error Codes

If an error code starting with MMC or USG is returned when you use this API, rectify the fault by following the instructions provided in Huawei Cloud API Error Center.

Example cURL Command

curl -k -i -H 'content-type: application/json' -X PUT -H 'X-Access-Token:stbX5ElstO5QwOwPB9KGQWUZ1DHoFrTsQjjC' -d '{"mediaTypes": "Voice","attendees": [{"name": "user02","role": 1,"phone": "+8657*******"}],"conferenceType": "0","subject": "user02 conference"}' 'https://api.meeting.huaweicloud.com/v1/mmc/management/conferences?conferenceID=914087436'