BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 76

Advertising
background image

64

PagedList<WebPage> GetWebPages(string marker, int pageSize)

Description
Retrieves the next page of the

WebPage

list, sorted by

[string] Name. The returned list will contain no more items

than the defined page size.

Required Permissions
Web Page: View Web Pages

Parameters

[string] marker: The [string] Name of the last WebPage instance on the previous page. If the value is Null,
then the method will retrieve the first page.

[int] pageSize: The maximum number of objects returned by the method. If the list of objects that match the
search criteria exceeds the

[int] pageSize limit, the returned list will indicate that it is truncated. If the integer is

not positive, then the method will return the maximum allowed number of objects. Attempting to request more
objects than is allowed will lead to the same result, but without an error.

List<WebPage> GetSpecifiedWebPages(int[] webPageIds)

Description
Retrieves a list of

WebPage

instances matching the specified identifiers, sorted by

[string] Name. The identifiers of

nonexistent WebPage instances will be ignored.

Required Permissions
Web Page: View WebPages

Parameters

[int[]] webPageIds: An array of [int] Id values for the WebPage instances being requested. The number
of returned items is limited to 100 by the server. Attempting to request more than the maximum allowed number of
objects will cause an error, while passing an empty array will lead to an immediate empty response without an error.

Advertising