BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 80

Advertising
background image

68

Parameters

[string] name: The user-defined name of the WebPage instance to evaluate. If a WebPage instance with the
specified

[string] Name does not exist, this method will return False without an error.

bool RenameWebPage(int webPageId, string newName)

Description
Updates the

[string] Name of the specified

WebPage

instance. This method returns True upon success and False

upon failure.

Required Permissions
Web Page: Update Web Page, Rename Web Page

Parameters

[int] webPageId: The identifier and primary key of the WebPage instance. If a WebPage instance with the
specified identifier does not exist, the method will return False without an error.

[string] newName: A new Name parameter for the specified WebPage instance. A descriptive error will be
returned if the new Name string is greater than 50 characters.

bool DeleteWebPages(int[] webPageIds)

Description
Deletes the specified

WebPage

instance(s) and related files in both the database and persistent storage. This method

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

Required Permissions
Web Page: Delete Web Page

Parameters

[int[]] webPageIds: An array of [int] Id values for the WebPage instances to be deleted. The number of
items is limited to 100 by the server. Attempting to request more than the maximum allowed number of objects will

Advertising