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 Object
implements IRestService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsegetHistory(String strCustomerId, String strHeaderClientCode, 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 historySearchRequest, String strHeaderClientCode, String authorName, String authorType, String strHeaderAppCode) Gives the identity history (identity+attributes) from a search requestMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.plugins.identitystore.v3.web.rs.IRestService
buildJsonResponse
-
Constructor Details
-
HistoryRestService
public HistoryRestService()
-
-
Method Details
-
getHistory
@GET @Path("{customer_id}") @Produces("application/json") public javax.ws.rs.core.Response getHistory(@PathParam("customer_id") String strCustomerId, @HeaderParam("client_code") String strHeaderClientCode, @HeaderParam("author_name") String authorName, @HeaderParam("author_type") String authorType, @HeaderParam("application_code") @DefaultValue("") String strHeaderAppCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException Gives 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") String strHeaderClientCode, @HeaderParam("author_name") String authorName, @HeaderParam("author_type") String authorType, @HeaderParam("application_code") @DefaultValue("") String strHeaderAppCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException Gives 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
-