Constructor and Description |
---|
UserSegmentationRestAPI() |
Modifier and Type | Method and Description |
---|---|
Response |
getUserDetails(String userId)
Returns the user details.
|
Response |
getUsers(String jsonData,
int maxSize,
int startAt)
Returns the users list based on the given filters.
|
@Path(value="/users") @POST @Produces(value="application/json") public Response getUsers(@FormParam(value="filters") String jsonData, @FormParam(value="maxSize") @DefaultValue(value="50") @Min(value=1L) @Max(value=50L) int maxSize, @FormParam(value="startAt") @Min(value=1L) @DefaultValue(value="1") int startAt) throws PortalException
jsonData
- the JSON data of applied filters.maxSize
- the maximum number of hits of the query.startAt
- the number of first hit of the query.serviceInstanceId
- the service instance identifier.PortalException
@Path(value="/user/{userId:[\\w\\-]{32}}") @GET @Produces(value="application/json") public Response getUserDetails(@PathParam(value="userId") String userId) throws PortalException
jsonData
- the JSON data of applied filters.PortalException
Lumisportal 11.0.0.180924 - Copyright © 2006–2018 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.