Function: event.End
Ends an Event.
Syntax
{
"method": "event.End",
"params": {
"id": "...",
"time": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<bool> End( AdvGuid id, AdvTime time );public Task<bool> EndAsync(Guid id, DateTime time, CancellationToken ct = default);end(id: string, time: Date): Promise<boolean>;Parameters
id : guid
Id of the Event to end.
time : time
Time to set as the end time.
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.