BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 116

Advertising
background image

104

the method will immediately return Null without an Error. A descriptive error will be returned if any of the following
conditions occur:

o The specified ScheduledPresentation [int] Id does not correspond to an existing

ScheduledPresentation instance.

o The specified Presentation [int] Id or Presentation [string] Name does not correspond to an existing

Presentation

instance.

o The [TimeSpan] StartTime value of the ScheduledPresentation entity-relation is less than “00:00:00” or

greater than “24:00:00”.

o The [TimeSpan] Duration value of the ScheduledPresentation entity-relation is less than “00:00:00” or

greater than “24:00:00” minus the

[TimeSpan] StartTime.

o A recurrent schedule does not have Start Time, Duration, or Days of Week values.
o A recurrent schedule contains a Recurrence Start Date value but not a Recurrence End Date value, or vice-

versa.

o A specified Recurrence Start Date value is greater than the Recurrence End Date value.
o A non-recurrent schedule does not have Event Date, Start Time, or Duration values.
o The specified ScheduledPresentation instance conflicts with another Presentation instance already

scheduled for the group.

bool OverwriteSchedule(int groupId, ScheduledPresentation[] entities)

Description
Completely overwrites one or more schedules associated with the specified

Group

instance and updates related

service files in the storage. This method returns True only if it is completely successful. Otherwise, it will return False.

Required Permissions
Schedule: Update Schedule, Add Presentation, Remove Presentation – Presentation: Assign Presentation, Unassign
Presentation

Advertising