I am on version 11 and my logs are showing I am sending a valid command compared to the documentation, but it is rejecting them
Tue, 09 Jan 2018 14:01:34 EST
ZoomRooms - callZoomAPI
"zCommand Invite user: "
Tue, 09 Jan 2018 14:01:34 EST
ZoomRooms - SSH Response
“*r onUnsupported Command(status=Error):”
Tue, 09 Jan 2018 14:01:34 EST
Zoom Room - Error
“Unsupported command sent”
What am I doing wrong here? I see its not parsing this.
It looks like you have entered the command incorrectly. It’s:
zCommand Call Invite user:
Many of the in-meeting commands have the word “Call” in them.
That is the syntax specified in the reference guide:
https://zoom.github.io/zoom-rooms-csapi/zrcsapi_ref.html
and also in the beta documentation .docx document.
I tested this functionality and it works.
Perfect, I must have missed that word. Will update my code now. Thank you
Lets do this maybe Scott.
Could we update the signature of the zCommand Invite Duration:
to zCommand Dial Invite Duration:
or zCommand Dial StartPmi Invite Duration
?
Because these two commands by adding a few more words express that you are dialing new and inviting people whereas people could be confused with this new command?
Let me know your thoughts on this.
Essentially we have one function which calls either one depending on the array of invitees:
func (zr \*ZoomRoom) StartMeetingNow(durationInMinutes int, inviteesIDs []string) {
var cmd string
if len(inviteesIDs) == 0 {
cmd = "zCommand Dial StartPmi Duration: " + strconv.Itoa(durationInMinutes)
} else {
cmd = "zCommand Invite Duration: " + strconv.Itoa(durationInMinutes)
for \_, invitee := range inviteesIDs {
cmd += " user: " + invitee
}
}
zr.callZoomAPI(cmd)
}