Function: cop.Get ➀

Returns a filtered list of COP Object.

Syntax

{
	"method": "cop.Get",
	"params": {
		"filter": "...",
		"select": "...",
		"startTime": "...",
		"scroll": "...",
		"limit": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<GetResult<COP>> Get( std::optional<AdvString> filter = std::nullopt
	 std::optional<std::vector<AdvString>> select = std::nullopt,
	 std::optional<AdvTime> startTime = std::nullopt,
	 std::optional<EnumPaginationScroll> scroll = std::nullopt,
	 std::optional<int> limit = std::nullopt );
public Task<GetResult<COP>> GetAsync(string? filter = null,
		DateTime? startTime = null,
		EnumPaginationScroll? scroll = null,
		long? limit = null,
		CancellationToken ct = default);
get(filter?: string | undefined, startTime?: Date | undefined, scroll?: EnumPaginationScroll | undefined, limit?: number | undefined): Promise<GetResultCOP>;

Parameters

filter : string optional

Filter expression which determines the result set.

select : string[] optional

List of properties that should be contained in the result objects.

startTime : time optional

Start time to use when determining the result set. If not set, the current time is used.

scroll : int (EnumPaginationScroll) optional

Direction the data should be fetched (only ‘Next’, ‘Prev’ are supported).

limit : int optional

Maximum amount of Objects that should be returned.

Result : GetResult

Contains result objects and pagination info, if present.

Errors

Data.InvalidFilterExpression ≥wg 0.5.1

The provided filter expression has invalid syntax.