Class HistoryRestService
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.v3.web.rs.HistoryRestService
-
@Path("/rest/identitystore/v3/history") public class HistoryRestService extends Object
-
-
Constructor Summary
Constructors Constructor Description HistoryRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetHistory(String strCustomerId, String strHeaderClientAppCode, String authorName, String authorType, String strHeaderAppCode)Gives the identity history (identity+attributes) from a customerIDjavax.ws.rs.core.ResponsesearchHistory(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityHistorySearchRequest request, String strHeaderClientAppCode, String authorName, String authorType, String strHeaderAppCode)Gives the identity history (identity+attributes) from a search request
-
-
-
Method Detail
-
getHistory
@GET @Path("{customer_id}") @Produces("application/json") public javax.ws.rs.core.Response getHistory(@PathParam("customer_id") String strCustomerId, @HeaderParam("client_code") String strHeaderClientAppCode, @HeaderParam("author_name") String authorName, @HeaderParam("author_type") String authorType, @HeaderParam("application_code") @DefaultValue("") String strHeaderAppCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionGives the identity history (identity+attributes) from a customerID- Parameters:
strCustomerId- customerIDstrHeaderClientAppCode- client code- Returns:
- the history
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
searchHistory
@POST @Path("/search") @Consumes("application/json") public javax.ws.rs.core.Response searchHistory(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityHistorySearchRequest request, @HeaderParam("client_code") String strHeaderClientAppCode, @HeaderParam("author_name") String authorName, @HeaderParam("author_type") String authorType, @HeaderParam("application_code") @DefaultValue("") String strHeaderAppCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionGives the identity history (identity+attributes) from a search request- Parameters:
request- requeststrHeaderClientAppCode- client code- Returns:
- the history
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
-