unomi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ghen <m...@mikeghen.com>
Subject Re: How do I create events
Date Mon, 08 Oct 2018 19:46:30 GMT
Serge, excellent, this was what I needed. Did not see this note about
servlets, this makes sense.

JB, I have a Rails application that is our company's client relationship
management system and I want to have it record events back to Unomi. Events
like: sent a letter, outbound called, texted.

On Mon, Oct 8, 2018 at 4:33 AM Serge Huber <shuber@apache.org> wrote:

> Hello Michael,
>
> Events can be of any type, but some types are usually used for page
> views such as the "view" eventType.
>
> Once you have a JSON object for an event defined, you can send it to
> Unomi through either the EventCollector or the Context servlets. They
> both accept a JSON array of events in their body, although the payload
> is a little different. You can find details on how to do this here :
> http://unomi.incubator.apache.org/manual/latest/index.html#_running_unomi
>
> Regards,
>   Serge...
>
>
> On Mon, Oct 8, 2018 at 5:44 AM Jean-Baptiste Onofré <jb@nanthrax.net>
> wrote:
> >
> > Hi Michael
> >
> > What kind of event do you want to process ?
> >
> > Regards
> > JB
> > Le 7 oct. 2018, à 21:08, Michael Ghen <mike@mikeghen.com> a écrit:
> >>
> >> Hello,
> >>
> >> I'm working on using Unomi as a backend for a client relationship
> management system and I'm just exploring the API. I understand Sessions and
> Profiles now and have been able to create them.
> >>
> >> I'm wondering how to create events. I only see POST routes for
> /campaigns/event/. I don't think CampaignEvent and Event are the same since
> CampaginEvent's don't seem to have the source-target schema that's
> described in the documentation.
> >>
> >> How would I create an event like the one described here in the docs?
>

Mime
View raw message