Device web page – BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 82

Advertising
background image

70

DEVICE WEB PAGE

DeviceWebPage Entity

The DeviceWebPage entity has the following properties:

•

[int] Id:(Read Only) The identifier and primary key of the DeviceWebPage instance.

•

[int] AccountId:(Read Only) The identifier of the account that owns the DeviceWebPage instance.

•

[string] Name: The user-defined name of the DeviceWebPage instance. This alternate key must be unique in
the scope of the BrightSign Network account.

•

[string] PhysicalPath:(Read Only) The external URL of the HTML file in persistent storage.

•

[long] FileSize:(Read Only) The size of the associated HTML file in bytes.

•

[string] FileHash:(Read Only) A SHA1 hash of the associated HTML file contents.

•

[DateTime] UploadDate:(Read Only) A UTC timestamp indicating when the Device Web Page was uploaded
to the BrightSign Network.

•

[List<WebPageAsset>] Assets: A list of

WebPageAsset

entity-relations that reference

Content

instances that

are in use by the Device WebPage entity. The list is set to Null when not initialized by the server.

•

[List<PresentationContent>] Presentations:(Read Only) A list of

PresentationContent

entity-relations

denoting parent Presentations.

Device Web Page Management Web Methods

•

PagedList<DeviceWebPage> GetDeviceWebPages(int marker, int pageSize)

•

List<DeviceWebPage> GetSpecifiedDeviceWebPages(int[] devicewebPageIds)

•

PagedList<DeviceWebPage> FindDeviceWebPages(string namePattern, int marker, int

pageSize)

•

DeviceWebPage GetDeviceWebPage(int deviceWebPageId, bool loadAssets)

•

DeviceWebPage GetDeviceWebPageByName(string name, bool loadAssets)

•

bool CheckDeviceWebPageName(string name)

Advertising