Function: event.EditContext
Edits a user defined context of an Event.
Syntax
{
"method": "event.EditContext",
"params": {
"id": "...",
"contextId": "...",
"context": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<bool> EditContext( AdvGuid id, int contextId, EventContext context );public Task<bool> EditContextAsync(Guid id, long contextId, EventContext context, CancellationToken ct = default);editContext(id: string, contextId: number, context: EventContext): Promise<boolean>;Parameters
id : guid
Id of the Event to edit the context for.
contextId : int
Id of the context to edit.
context : EventContext
Context to set.
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 write access.