/mcpupdateChannel(channelId, channelData, onSuccess, onError) Updates the digital channel in the FNC menu component. None of the data that is passed within the data payload channelData is mandatory. This API provides an easy way to update the complete channel configuration in one go or partially if necessary. The result of the update operation is intimated through the given success and error callbacks. Example finesse.digital.ChannelService.updateChannel(channelId, channelData, onSuccess, onError); Parameters Required Description Type Name Yes Unique identifier of the digital channel to be removed. This Id is returned from the FNC. String channelId Yes The data of the key-value pair updated to the digital channel as JSON payload. For more information on the object description, see addChannel(channelId, channelData, onMenuClick, onSuccess, onError), on page 443 Object channelData Yes Callback function that is invoked upon a successful update operation. Function onSuccess Yes Callback function that is invoked upon an unsuccessful update operation. Function onError updateChannelMenu(channelId, menuItems, onSuccess, onError) Updates the menu displayed for the digital channel. Example finesse.digital.ChannelService.updateChannelMenu(channelId, menuItems, onSuccess, onError); Parameters Required Description Type Name Yes Unique identifier of the digital channel to be removed. This Id is returned from the FNC. String channelId Yes The list of menu items for the digital channel. For more information, see menuConfig, on page 440. Array menuItems Yes Callback function that is invoked upon a successful update operation. Function onSuccess Yes Callback function that is invoked upon an unsuccessful update operation. Function onError updateChannelState(channelId, channelState, onSuccess, onError) Updates the digital channel's current state. Example finesse.digital.ChannelService.updateChannelMenu(channelId, channelState, onSuccess, onError); Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 445 Cisco Finesse JavaScript APIs Channel Service