Class HistoryRestService


  • @Path("/rest/identitystore/v3/history")
    public class HistoryRestService
    extends Object
    • Constructor Detail

      • HistoryRestService

        public HistoryRestService()
    • 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.IdentityStoreException
        Gives the identity history (identity+attributes) from a customerID
        Parameters:
        strCustomerId - customerID
        strHeaderClientAppCode - 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.IdentityStoreException
        Gives the identity history (identity+attributes) from a search request
        Parameters:
        request - request
        strHeaderClientAppCode - client code
        Returns:
        the history
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException