Bool updatelivemediafeed(livemediafeed entity) – BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 71

Advertising
background image

59

o One or more custom field names contain a string that is reserved for the MRSS feed: "title", "description",

"link", "description", "link", "category", "guid", "item", "content".

bool UpdateLiveMediaFeed(LiveMediaFeed entity)

Description
Updates the

[string] Name and content parameters of the specified

LiveMediaFeed

instance (as well as the related

MRSS file). This method returns True only if completely successful. Otherwise, it returns False.

Permissions
Live Media Feed: Updated Live Media Feed

Parameters

[LiveMediaFeed] entity: A LiveMediaFeed instance with the [int] Id of the existing instance to be
updated, as well as new

[string] Name and LiveMediaFeedContent[]] Contents parameters for the

instance. If this parameter is Null or invalid, the method will immediately return Null without an error. The server will
return a descriptive error if one or more of the following conditions occur:

o The [int] Id does not correspond to an existing LiveMediaFeed instance.
o The length of the new [string] Name exceeds 50 characters.
o The new [string] Name is currently in use by another LiveMediaFeed instance.
o The new [TimeSpan] TTL is less than 1 minute or greater than 24 hours.
o The number of LiveMediaFeedContent items in the object instance surpasses the limit defined on the server.
o The [string] Title of one or more LiveMediaFeedContent items is empty or longer than 50 characters.
o The [TimeSpan] DisplayDuration of one or more LiveMediaFeedContent items is less than 1 second

or greater than 24 hours.

o There are more than 20 unique custom fields for all LiveMediaFeedContent items in the Live Media Feed.
o One or more custom field names are empty or longer than 50 characters.
o One or more custom field names contain a string that is reserved for the MRSS feed: "title", "description",

"link", "description", "link", "category", "guid", "item", "content".

Advertising