Function: event.Accept

Accepts an Event.

Syntax

{
	"method": "event.Accept",
	"params": {
		"id": "...",
		"forceAutoComplete": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<bool> Accept( AdvGuid id, bool forceAutoComplete );
public Task<bool> AcceptAsync(Guid id, bool forceAutoComplete, CancellationToken ct = default);
accept(id: string, forceAutoComplete: boolean): Promise<boolean>;

Parameters

id : guid

Id of the Event to accept.

forceAutoComplete : bool

Result : bool

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.