IEventsService.Events

Collection of functions to interact with the Events API endpoint.

All URI’s are relative to the VTN URL configured.

Method
HTTP request
Description

POST /events

Create an event

DELETE /events/{eventID}

Delete an event

GET /events

Searches all events

GET /events/{eventID}

Searches events by event ID

PUT /events/{eventID}

Update an event

CreateEventAsync

Task<Event> CreateEventAsync(
    Event @event,
    RequestOptions? options = default,
    CancellationToken cancellationToken = default)

Create a new event in the server.

DeleteEventAsync

Task<Event> DeleteEventAsync(
    string eventId,
    RequestOptions? options = default,
    CancellationToken cancellationToken = default)

Delete an existing event with the event ID.

SearchEventsAsync

Searches all events known to the server. Use skip and pagination query params to limit response size.

FindEventByIdAsync

Find event associated by the event ID.

UpdateEventAsync

Update an existing event with specified event ID.

Last updated

Was this helpful?