BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 70

Advertising
background image

58

Parameters

[string] name: The Live Media Feed [string] Name value to be evaluated.

LiveMediaFeed CreateLiveMediaFeed(LiveMediaFeed entity)

Description
Creates a new

LiveMediaFeed

instance (as well as the related MRSS file) with the specified

[string] Name,

[TimeSpan] TTL, and [LiveMediaFeedContent[]] Contents parameters. If successful, this method returns
the created instance with all initialized properties. If an error occurs during the creation process, this method will return
Null.

Permissions
Live Media Feed: Create Live Media Feed

Parameters

[LiveMediaFeed] entity: A LiveMediaFeed object instance with initialized [string] Name and
LiveMediaFeedContent[]] Contents parameters. All other properties will be ignored during object creation.
If one of these parameters is set to Null, then the method will immediately return Null without an error. The server
will return a descriptive error if any of the following conditions occur:

o The length of the specified [string] Name exceeds 50 characters.
o The specified [string] Name is already being used by another LiveMediaFeed instance.
o The specified [TimeSpan] TTL is less than 1 minute or more 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.

Advertising