Bool deletepresentations(int[] presentationids), Deletepresentations() – BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 105

Advertising
background image

93

[PresentationZone] entity: A PresentationZone structure with an initialized [int] Id and an updated set
of properties, including a new Contents list. If this parameter 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 specified PresentationZone [int] Id does not match an existing PresentationZone structure.
o The length of the PresentationZone [string] Name exceeds the limit defined on the server side.
o The PresentationZone [string] Name is not unique within the scope of the account.
o The [int] AudioVolume or [int] VideoVolume of the

VideoOrImagesPresentationZone

structure is

less than 0 or greater than 100.

bool DeletePresentations(int[] presentationIds)

Description
Deletes one or more

Presentation

instances and related service files in both the database and persistent storage. This

method returns True only if the operation is completely successful. Otherwise, it will return False.

Required Permissions
Presentation: Delete Presentation

Parameters

[int[]] presentationsIds: An array of identifiers indicating the Presentation instances that should be
deleted. The number of passed items is limited to 100 by the server. Attempting to delete more than the allowed
number of objects will result in an error. An error will also be returned if an

[int] Id does not correspond to an

existing Presentation instance. Passing an empty array, or passing an array containing an identifier that does not
match an existing Presentation instance, will lead to an immediate False response without an error.

Advertising