Interface EventsService
public interface EventsService
Events Service
-
Method Summary
Modifier and TypeMethodDescriptionvoidDelete an eventGet an eventlist()List events (using default parameters)list(EventsListQueryParameters queryParameter) List eventssend(SendEventRequest sendEventRequest) Send an event
-
Method Details
-
list
List events (using default parameters)List all events in a project
- Returns:
- EventsListResponse
- Throws:
ApiException- if fails to make API call
-
list
List eventsList all events in a project
- Parameters:
queryParameter- (optional)- Returns:
- EventsListResponse
- Throws:
ApiException- if fails to make API call
-
delete
Delete an eventDelete a specific event by its ID.
- Parameters:
eventId- The unique ID of the event. (required)- Throws:
ApiException- if fails to make API call
-
get
Get an eventGet event from ID
- Parameters:
eventId- The unique ID of the event. (required)- Returns:
- ConversationEvent
- Throws:
ApiException- if fails to make API call
-
send
Send an eventSends an event to the referenced contact from the referenced app. Note that this operation enqueues the event in a queue so a successful response only indicates that the event has been queued.
- Parameters:
sendEventRequest- The event to be sent. (required)- Returns:
- SendEventResponse
- Throws:
ApiException- if fails to make API call
-