terry
(Terry)
1
Description
request parameter type=2 ( scheduled), but response instant ?
response code: 201
request parameter type=1 ( instant), but response nothing meeting created ?
response code: 201
Error
no error
Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT
Which Endpoint/s?
v2/users/xxx/meetings
How To Reproduce (If applicable)
Steps to reproduce the behavior:
- Request URL / Headers (without credentials) / Body
- See error
Screenshots (If applicable)
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
tommy
(Tommy Gaessler)
2
Hey @terry,
Can you please share your request URL, request body, and response body so I can investigate?
Thanks,
Tommy
terry
(Terry)
3
Hi, tommy
Today 05:30 PM
{
endpoint: “/api.zoom.us/v2/users/zoom01@mydomain/meetings”,
response_headers: [
“Set-Cookie: zm_aid=”"; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly"
],
date_time: “2020-04-10 13:30:55”,
method: “POST”,
request_body: “{“topic”:“test”,“type”:2,“start_time”:“2020/04/14T13:31:00”,“duration”:180,“timezone”:“Asia/Taipei”,“password”:“156700”,“agenda”:”",“settings”:{“host_video”:false,“participant_video”:false,“cn_meeting”:false,“in_meeting”:false,“join_before_host”:true,“mute_upon_entry”:true,“watermark”:false,“use_pmi”:false,“approval_type”:2,“registration_type”:1,“audio”:“both”,“auto_recording”:“none”,“enforce_login”:false,“enforce_login_domains”:false,“alternative_hosts”:"",“global_dial_in_countries”:[""],“registrants_email_notification”:false}}",
response: “{“uuid”:“JkZubVoMT2mi5c4yIHJMhQ==”,“id”:303035329,“host_id”:“0uGaufs1RWqKCyd99J7GQA”,“topic”:“test”,“type”:2,“status”:“waiting”,“start_time”:“2020-04-10T05:30:54Z”,“duration”:180,“timezone”:“Asia/Taipei”,“created_at”:“2020-04-10T05:30:54Z”,“start_url”:”/nccu.zoom.us/s/303035329?zak=eyJ6bV9za20iOiJ6bV9vMm0iLCJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJjbGllbnQiLCJ1aWQiOiIwdUdhdWZzMVJXcUtDeWQ5OUo3R1FBIiwiaXNzIjoid2ViIiwic3R5IjoxLCJ3Y2QiOiJhdzEiLCJjbHQiOjAsInN0ayI6Ik1IdTlzNHlYOFdDTXkxekNTblJ5azZBSS0zVTVybWJxdG8zQkxoRTNZNjAuRWdJQUFBRnhZcEhQQUFBQUhDQWdjakZPU2xFemJVZG5hbUV4TVM4dlluVnljV3hCVjFJMFR6bHZjREZUY2pNQURETkRRa0YxYjJsWlV6TnpQUU5oZHpFIiwiZXhwIjoxNTg2NTAzODU1LCJpYXQiOjE1ODY0OTY2NTUsImFpZCI6IkxBS1lLYmhIUUFDSTJkdkUzaEstS2ciLCJjaWQiOiIifQ.SrQDz70zn4NznrrqgEn4q5QpN9k0s-7gcWL4oDoJJ6I",“join_url”:"/nccu.zoom.us/j/303035329?pwd=K0w4Y2xwNldNWWJKTGVXRFZKbnhJUT09",“password”:“156700”,“h323_password”:“156700”,“pstn_password”:“156700”,“encrypted_password”:“K0w4Y2xwNldNWWJKTGVXRFZKbnhJUT09”,“settings”:{“hos …”,
request_headers: [
“accept: application/json”,
“authorization: ******”,
“connection: close”,
“content-type: application/json”,
“user-agent: GuzzleHttp/6.3.3 curl/7.29.0 PHP/7.2.28”
],
request_params: [
],
http_status: “201”
}
see above:
request : “type”:2,“start_time”:“2020/04/14T13:31:00” // request scheduled meeting
response: “test”,“type”:2,“status”:“waiting”,“start_time”:“2020-04-10T05:30:54Z”
2020-04-10T05:30:54 is request time, so response instant meeting, not scheduled meeting
Thanks you !
ps. url https , i comment it
tommy
(Tommy Gaessler)
4
Hey @terry,
I think the issue is you are not passing in the start_time correctly.
Please try using the following format:
YYYY:MM:DDTHH:MM:SSZ
Instead of 2020/04/14T13:31:00
try 2020-04-14T13:31:00
Thanks,
Tommy
terry
(Terry)
5
I am stupid…
Thanks very very very much!!!
1 Like
tommy
(Tommy Gaessler)
6
Common mistake!
Let us know if you have additional questions!
-Tommy