PATCH to update duration of meeting updates meeting duration to 0 minutes

**API Endpoint(s): https://api.zoom.us/v2/meetings/89067732515
Description
A patch request to Zoom Meeting Endpoint that changes the duration of the meeting changes the duration to zero instead of the expected number of minutes provided in the JSON body.

JSON Request and Response body:

Request Headers
headers
Request Headers Access Token
access_token
Request Headers Content Type
content-type
application/json
Request Body
body
{ “start_time”:“2024-05-08T08:30:00.000Z”, “duration”:90.0, “topic”: “Chair Training 5/8/2024 - Virtual”, “settings”: { “host_video”: true, “participant_video”: false, "cn_meeting ":false, "in_meeting ":false, "join_before_host ":false, "mute_upon_entry ":true, "watermark ":false, “approval_type” :0, “audio” :“both”, “use_pmi” :false, “close_registration” :true, “waiting_room_” :true, “registrants_email_notification_” :true, “registration_type_” :2 } }
data
Request Data Start Time
start_time
2024-05-08T08:30:00.000Z
Request Data Duration
duration
90
Request Data Topic
topic
Chair Training 5/8/2024 - Virtual
settings
Request Data Settings Host Video
host_video
true
Request Data Settings Participant Video
participant_video
false
Request Data Settings Cn Meeting
cn_meeting
false
Request Data Settings In Meeting
in_meeting
false
Request Data Settings Join Before Host
join_before_host
false
Request Data Settings Mute Upon Entry
mute_upon_entry
true
Request Data Settings Watermark
watermark
false
Request Data Settings Approval Type
approval_type
0
Request Data Settings Audio
audio
both
Request Data Settings Use Pmi
use_pmi
false
Request Data Settings Close Registration
close_registration
true
waiting_room_
true
registrants_email_notification_
true
registration_type_
2

response
Response Status
status
204
Response Headers
headers
Response Headers Alt Svc
alt-svc
h3=“:443”; ma=86400
Response Headers Cache Control
cache-control
no-cache, no-store, must-revalidate, no-transform
Response Headers Cf Cache Status
cf-cache-status
DYNAMIC
Response Headers Cf Ray
cf-ray
87a2a1983e783b3e-IAD
Response Headers Connection
connection
close
Response Headers Date
date
Fri, 26 Apr 2024 00:59:37 GMT
Response Headers Expires
expires
Thu, 01 Jan 1970 00:00:00 GMT
Response Headers Nel
nel
{“success_fraction”:0.01,“report_to”:“cf-nel”,“max_age”:604800}
Response Headers Pragma
pragma
no-cache
Response Headers Referrer Policy
referrer-policy
strict-origin-when-cross-origin
Response Headers Report To
report-to
{“endpoints”:[{“url”:“https://a.nel.cloudflare.com/report/v4?s=1DM0SVSQ%2FYX0CjQNsL1QRVlX%2BBl5Kk3vnyju2f0EIWdDfd3trNN4Ke7hDcWNTeSgN9FMEOvTDiZ3OPUXLGPu0s1mLC4e9LGx9KU73lPNtLcx8S2OH1WOW1RvyK3k”}],“group”:“cf-nel”,“max_age”:604800}
Response Headers Server
server
cloudflare
Response Headers Set Cookie
set-cookie
zm_aid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; HttpOnly, zm_haid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; HttpOnly, zm_tmaid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; HttpOnly, zm_htmaid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; HttpOnly, cred=501F82B4A59EF4B841DD5BBE2815BAA3; Path=/; Secure; HttpOnly, _zm_ctaid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; HttpOnly, _zm_chtaid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; HttpOnly, _zm_mtk_guid=9ba6abf39ad24822be0733a816d40d53; Max-Age=63072000; Expires=Sun, 26 Apr 2026 00:59:37 GMT; Domain=zoom.us; Path=/; Secure, __cf_bm=7YzeMLDadIwDkxd7x6cbuJBZcqUcrig2MgF0gFTF87w-1714093177-1.0.1.1-rCQx17VOLiRKAQVqXV_bjQy9rvfJyO0TkZA76tWTIsgfN9h4TRXX8lw9bGm_95i3uxEoaMRn12eBfRloOjrqDg; path=/; expires=Fri, 26-Apr-24 01:29:37 GMT; domain=.zoom.us; HttpOnly; Secure; SameSite=None
Response Headers Strict Transport Security
strict-transport-security
max-age=31536000; includeSubDomains
Response Headers Vary
vary
Origin, Access-Control-Request-Method, Access-Control-Request-Headers
Response Headers X Content Type Options
x-content-type-options
nosniff
Response Headers X Ratelimit Category
x-ratelimit-category
Light
Response Headers X Ratelimit Limit
x-ratelimit-limit
100
Response Headers X Ratelimit Remaining
x-ratelimit-remaining
95
Response Headers X Xss Protection
x-xss-protection
1; mode=block
Response Headers X Zm Trackingid
x-zm-trackingid
v=2.0;clid=us02;rid=WEB_687abe4dca9c45045512337244e434a5
Response Headers X Zm Zoneid
x-zm-zoneid
VA2
Response Body
body
Response Data
data

Error

Duration should be set to 90, not Zero.

Your request body specifies a duration of 90.0 (minutes) with one decimal place, but that duration field is expecting an integer. Try formatting your duration as a whole number.

1 Like

@MultiplayerSession - Thanks! That worked. The Salesforce formula field value being passed into the Zapier Zap was already formatted as a no decimal number field value, but adding a Zapier step to format that value as text removing the “.0” did the trick.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.