The Event object

When a resource is saved/deleted/signed off, an HTTP/POST request is sent to your target URL.

The target URL should accept a JSON string in the POST body of the request.

The content of the POST will look as follow:

{
  "data": {...}, // The object (definition will change per resources)
  "action": "saved", 	// Actions available: saved, deleted
  "event_id": 1234, 	// The event id to reference this request
  "application_id": 12345, // The client id of the oauth2 application
  "resource": "patients" 		// The resource for this object.
}

Events are available for 30 days.