Constructor and Description |
---|
MonitorV1Resource() |
Modifier and Type | Method and Description |
---|---|
Response |
addEventData(HttpServletRequest request,
String eventId,
String reqData,
Boolean fromEventClient)
Adds an occurrence to a monitor event.
|
Response |
addUpdateMonitorUsers(String reqData)
Add or update a monitor user.
|
Response |
identifyMonitorUser(String trackId,
String reqData)
Identify monitor user.
|
Response |
updateMonitorUser(String trackId,
String reqData)
Update the requested monitor user.
|
Response |
updateMonitorUserPost(String trackId,
String reqData)
Update the requested monitor user.
|
@Path(value="/events/{eventId}/data") @POST @Consumes(value={"application/json","text/plain"}) @Produces(value="application/json") public Response addEventData(@Context HttpServletRequest request, @NotNull @PathParam(value="eventId") String eventId, @NotNull String reqData, @QueryParam(value="fromEventClient") Boolean fromEventClient) throws Exception
eventId
- the event identifier.reqData
- JSON object with event fields values to be registered.Exception
@Path(value="/users") @POST @Consumes(value={"application/json","text/plain"}) @Produces(value="application/json") public Response addUpdateMonitorUsers(@NotNull String reqData) throws Exception
reqData
- the json object.DaoException
Exception
@Path(value="/users/{trackId}") @POST @Consumes(value="text/plain") @Produces(value="application/json") public Response updateMonitorUserPost(@NotNull @PathParam(value="trackId") String trackId, @NotNull String reqData) throws Exception
trackId
- the monitor user track identifier.reqData
- JSON object with event fields values to be registered.Exception
@Path(value="/users/{trackId}") @PATCH @Consumes(value="application/merge-patch+json") @Produces(value="application/json") public Response updateMonitorUser(@NotNull @PathParam(value="trackId") String trackId, @NotNull String reqData) throws PortalException
trackId
- the monitor user track identifier.reqData
- JSON object with event fields values to be registered.PortalException
@Path(value="/users/{trackId}/identify") @POST @Consumes(value={"application/json","text/plain"}) @Produces(value="application/json") public Response identifyMonitorUser(@NotNull @PathParam(value="trackId") String trackId, @NotNull String reqData) throws PortalException
trackId
- the monitor user track identifier.reqData
- JSON object with event fields values to be registered.PortalException
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.