Modify Meeting Reservation

Last Updated on : 2023-06-21 07:12:56download

Modify the information about a meeting reservation. If the reservation of the current meeting room needs to be approved, modifying the start time and end time of the meeting will trigger the approval process. If the new meeting room after replacement requires approval, the approval process will also be triggered.

API address

PUT: /v2.0/iot-03/meeting-reservations/{reservation_id}

Request parameter

Parameter nameTypeINRequiredDescription
reservation_idStringuritrueThe reservation ID.

Description of body

Parameter nameTypeINRequiredDescription
topicString trueThe theme of a specified meeting.
start_timeLong trueThe 13-digit timestamp of the start time.
end_timeLong trueThe 13-digit timestamp of the end time.
meeting_room_idLong falseThe ID of a specified meeting room.
participantsList trueThe IDs of participants in the meeting.
cc_participantsList falseThe IDs of persons who are mentioned in the carbon copy.
noticeBoolean trueIndicates whether to send push notifications.
notice_timeLong falseThe period for a push notification to be sent in advance of a meeting. Unit: seconds.
descriptionString trueThe description of a specified meeting, with no more than 256 characters.
modifierString trueThe modifier.
attachmentsList falseThe information about a specified attachment.

Description of attachments

Parameter nameTypeINRequiredDescription
nameString falseThe name of a specified attachment.
urlString falseThe URL of a specified attachment.
sizeString falseThe size of a specified attachment.
typeString falseThe type of a specified attachment.

Return parameter

Parameter nameTypeDescription
resultBooleanThe result of modifying the meeting reservation. Valid values:
  • true: Modified successfully.
  • false: Failed to modify it.

Request example

PUT: /v2.0/iot-03/meeting-reservations/141014746825490****
{
  "topic": "Weekly Meeting",
  "start_time": 1641294000000,
  "end_time": 1641297600000,
  "meeting_room_id": "1475669844291******",
  "participants": [
    "bsh1633938215016****"
  ],
  "cc_participants": [],
  "notice": false,
  "description": "desc22",
  "creator": "bay1632819585638****",
  "modifier": "bay1632819585638****",
  "attachments": [
    {
      "name": "12222.jpg",
      "url": "http://****.com/12222.jpg"
    }
  ]
}

Return example

{
    "result": true,
    "t": 1624887931042,
    "success": true
}

Error code

For more information, see error code.