Event

Events represent actions or changes that occur within the Recuro Health platform, such as a member requesting a medical visit. Events follow a simple publish/subscribe method and are received by your application through webhooks that you establish.

Endpoint

https://platform.wellviasolutions.com/event/v1

The Event Object

The Event object is based on the CloudEvents standard. More details on this specification can be found on the CloudEvents GitHub Repo.

Attributes


eventSubscriberIdstring :required

The unique identifier of the subscriber the event is being sent to. Please note that underscores are removed from this identifier.


idstring :required

Identifies the event. The source + id is unique for each distinct event. If a duplicate event is re-sent it will have the same id. You can assume that an Event with identical source and id are duplicates.


typestring :required

Contains a value describing the type of event related to the originating occurrence. More information can be found in the Event Type Dictionary.


sourceuri :required

Identifies the context in which an event happened. This is a relative Uri.


timetimestamp :required

Timestamp of when the occurrence happened. If the time of the occurrence cannot be determined then this attribute will be set to the time the event object was created.


subjectstring :required

Describes the subject of the event. Typically this is a unique identifier of some kind.


dataContentTypestring :optional

Content type of data value. This attribute enables data to carry any type of content, whereby format and encoding might differ from that of the chosen event format (typical results will be application/json).


dataobject :optional

Content that is directly related to or is a result of the event.

Example


{
	"eventSubscriberId": "evntsbr6c219ad387594367aa0922fb2f064b02",
	"id": "633692584c7440dcb1b838106f1ed148",
	"type": "com.wellviasolutions.member.profile.updated.v1",
	"source": "event/v1/evntsbr_6c219ad387594367aa0922fb2f064b02/log/",
    "time": "2020-03-13T23:53:04.0973418Z",
    "subject": "mbr_91ddeb20a86e4e2e8ef0b2bc6cb71a8f",
    "dataContentType": "application/json",
    "dataContent": {
        "profile": {
			"firstName": "John",
			"lastName": "Doe"
		}
    }
}