Fleet Connectivity Extension API Developer's Guide

Deleting Events

This section provides an example of a DELETE request which clears read event messages from the queue.

User Story

In continuation of the user story from Requesting Updates from the Assets, the dispatcher software client, Dispatcher-1, after receiving updates from Asset-1, deletes the event using the event_id. This can be seen as a clean-up or flush of read messages pending further incoming events.

Request Summary Delete Events

Content-Type: application/json
Resource: deleteevent
Parameters: [app_id={YOUR_APP_ID}], specifies the authentication app_id
  [app_code={YOUR_APP_CODE}], specifies the authentication app_id
  [asset_id=], specifies the [asset_id who created the events
  [event_ids=], specifies the [event_ids to be deleted

Delete Events Request

The code block below demonstrates the complete request, specifying that the response data are to be delivered in JSON.

Delete Events Response

The response to the DELETE request is empty.