Function: event.Assign

Assigns the Event with to a given station.

Syntax

{
	"method": "event.Assign",
	"params": {
		"id": "...",
		"station": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<bool> Assign( AdvGuid id, int station );
public Task<bool> AssignAsync(Guid id, long station, CancellationToken ct = default);
assign(id: string, station: number): Promise<boolean>;

Parameters

id : guid

Id of the Event.

station : int

Station num.

Result : bool

Returns true if successful

Errors

Data.NotFound ≥wg 0.4.10

The requested data was not found or the caller does not have the required permission to access it. For additional information, see Data.NotFound.

Data.Forbidden ≥wg 0.4.10

The caller does not have the required permissions to access the data. For additional information, see Data.Forbidden.

Remarks

This method requires API control access.