Class HistoryRestService
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.v3.web.rs.HistoryRestService
-
- All Implemented Interfaces:
IRestService
@Path("/rest/identitystore/v3/history") public class HistoryRestService extends java.lang.Object implements IRestService
-
-
Constructor Summary
Constructors Constructor Description HistoryRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetHistory(java.lang.String strCustomerId, java.lang.String strHeaderClientCode, java.lang.String authorName, java.lang.String authorType, java.lang.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 historySearchRequest, java.lang.String strHeaderClientCode, java.lang.String authorName, java.lang.String authorType, java.lang.String strHeaderAppCode)Gives the identity history (identity+attributes) from a search request-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.paris.lutece.plugins.identitystore.v3.web.rs.IRestService
buildJsonResponse
-
-
-
-
Method Detail
-
getHistory
@GET @Path("{customer_id}") @Produces("application/json") public javax.ws.rs.core.Response getHistory(@PathParam("customer_id") java.lang.String strCustomerId, @HeaderParam("client_code") java.lang.String strHeaderClientCode, @HeaderParam("author_name") java.lang.String authorName, @HeaderParam("author_type") java.lang.String authorType, @HeaderParam("application_code") @DefaultValue("") java.lang.String strHeaderAppCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionGives the identity history (identity+attributes) from a customerID- Parameters:
strCustomerId- customerIDstrHeaderClientCode- 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 historySearchRequest, @HeaderParam("client_code") java.lang.String strHeaderClientCode, @HeaderParam("author_name") java.lang.String authorName, @HeaderParam("author_type") java.lang.String authorType, @HeaderParam("application_code") @DefaultValue("") java.lang.String strHeaderAppCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionGives the identity history (identity+attributes) from a search request- Parameters:
historySearchRequest- requeststrHeaderClientCode- client code- Returns:
- the history
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
-