Bool updatedynamicplaylist(dynamicplaylist entity) – BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 53

Advertising
background image

41

Required Permissions
Dynamic Playlist: Create Dynamic Playlist – Content: Assign Content

Parameters

[DynamicPlaylist] entity: An ImageVideoDynamicPlaylist or AudioDynamicPlaylist object instance with
initialized

[string] Name and [List<DynamicPlaylistContent>] Contents properties. All other

properties will be ignored during object creation. If this parameter is set to Null, then the method will immediately
return Null without error. A descriptive error will be returned to the client if any of the following conditions occur:

o The name of the Dynamic Playlist is more than 50 characters.
o The content files do not match the type of Dynamic Playlist instance that has been passed to the method

(e.g. an AudioDynamicPlaylist contains image or video files, or vice versa).

o Another ImageVideoDynamicPlaylist or AudioDynamicPlaylist instance has the same name.
o The [int] DisplayDuration of a

DynamicPlaylistContent

entity-relation is set to less than 1 second.

This only applies to entity-relations representing image files.

bool UpdateDynamicPlaylist(DynamicPlaylist entity)

Description
Updates the

[string] Name and [List<DynamicPlaylistContent>] Contents properties of the specified

ImageVideoDynamicPlaylist

or

AudioDynamicPlaylist

instance and its related MRSS file. This method returns True

upon success and False upon failure.

Required Permissions
Dynamic Playlist: Update Dynamic Playlist – Content: Assign Content, Unassign Content

Parameters

[DynamicPlaylist] entity: An

ImageVideoDynamicPlaylist

or

AudioDynamicPlaylist

object instance with

initialized

[string] Name and [List<DynamicPlaylistContent>] Contents properties. All other

properties will be ignored. If the instance is set to Null, then the method will immediately return Null without error. A
descriptive error will be returned to the client if any of the following conditions occur:

Advertising