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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.ws.rs.core.Response
    getHistory(String strCustomerId, String strHeaderClientCode, String authorName, String authorType, String strHeaderAppCode)
    Gives the identity history (identity+attributes) from a customerID
    javax.ws.rs.core.Response
    searchHistory(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 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
  • 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 - customerID
      strHeaderClientCode - 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 - request
      strHeaderClientCode - client code
      Returns:
      the history
      Throws:
      fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException