Function: timer.GetOne

Returns a single Timer Object identified by the given id.

Syntax

{
	"method": "timer.GetOne",
	"params": {
		"id": "...",
		"mode": "...",
		"include": "...",
		"select": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<Timer> GetOne( AdvGuid id
	 std::optional<AdvString> mode = std::nullopt,
	 std::optional<AdvString> include = std::nullopt,
	 std::optional<std::vector<AdvString>> select = std::nullopt );
public Task<Timer> GetOneAsync(Guid id, DataMode? mode = null, DataMode? include = null, CancellationToken ct = default);
getOne(id: string, mode?: DataMode | undefined, include?: DataMode | undefined): Promise<Timer>;

Parameters

id : guid

The Timer’s id.

mode : string (DataMode) optional

View of the object to return: raw or effective. Default is effective.

include : string (DataMode) optional

Adds the other view to the result; only values that differ are added (under @meta.overlay).

select : string[] optional

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

Result : Timer

Matching Timer Object.

Remarks

This method requires API read access.