JSON API » conferences » conferences/update

Updates an existing conference.

Input parameters

Requires authentication and the user role privilege, or administrator if the conference is not owned by the user.

NameTypeDescriptionRequiredDefault value
auth_usernameStringAuthentication username.Yes
auth_passwordStringAuthentication password.Yes
idIntegerID of conference to update.Yes
adminpinStringPIN to enter as administrator.NoCurrent value.
calleridStringCallerid to send on notification calls.NoCurrent value.
codeStringConference code.NoCurrent value.
countIntegerNumber of recurring conferences.NoCurrent value.
descriptionStringDescription.NoCurrent value.
durationIntegerDuration of conference in minutes. 0 for no limit.NoCurrent value.
listenpinStringPIN to enter as listener.NoCurrent value.
maximumIntegerMaximum number of people in conference. 0 for no limit.NoCurrent value.
ownerIntegerID of owner. 0 for none.NoCurrent value.
panelInteger1 to show in control panel, 0 not to.NoCurrent value.
play_joinInteger1 to play tone when new person joins, 0 not to.Current value.0
play_musicInteger1 to play music to first caller, 0 not to.NoCurrent value.
record_nameInteger1 to ask callers to record their names, 0 not to.NoCurrent value.
repeatsIntegerHow often recurring conferences repeat. "daily", "weekly", "2_weekly", "monthly", "2_monthly", or empty string for does not repeat.NoCurrent value.
talkpinIntegerPIN to enter as talker.NoCurrent value.
wait_musicInteger1 to play music to all callers until an administrator joins, 0 not to.NoCurrent value.
yearIntegerYear of first conference.NoCurrent value.
monthIntegerMonth of first conference, 1 to 12.NoCurrent value.
dayIntegerDay of first conference, 1 to 31.NoCurrent value.
hourIntegerHour of first conference, 0 to 23.NoCurrent value.
minuteIntegerMinute of first conference, 0 to 59.NoCurrent value.
validationInteger1 to validate input then return, 0 for full action.No0

No two PINs may be identical.

Responses

CodeDescription
201Input passed validation. Only returned if validation=1.
204Success.
400Invalid input parameters specified. Check the key and message fields for more details.
401The authentication details provided are invalid.
402Your role does not allow this.
403Your rate plan does not allow this.
404The conference does not exist, or you do not have permission to update it.

Data returned

No data is returned.

Example: Changing the code

http://enswitch.example.com/api/json/conferences/update/?auth_username=user;auth_password=password;id=123;code=123456

{ "responses":[ { "code":"204", "key":"", "message":"OK" } ] }

Change history

VersionChanges
3.13Function added.