Class UserAcceptedRest
java.lang.Object
fr.paris.lutece.plugins.termofservice.rs.UserAcceptedRest
UserAcceptedRest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsecreateUserAccepted(String guid, String id_entry_tos, Integer nVersion, String header_security) Create UserAcceptedjakarta.ws.rs.core.ResponsegetUserAccepted(Integer nVersion, String guid, String header_security) Get UserAccepted
-
Constructor Details
-
UserAcceptedRest
public UserAcceptedRest()
-
-
Method Details
-
getUserAccepted
@GET @Path("/{guid}") @Produces("application/json") public jakarta.ws.rs.core.Response getUserAccepted(@PathParam("version") Integer nVersion, @PathParam("guid") String guid, @HeaderParam("headersecurity") String header_security) Get UserAccepted- Parameters:
guid- the guidnVersion- the API version- Returns:
- the UserAccepted List
-
createUserAccepted
@POST @Produces("application/json") public jakarta.ws.rs.core.Response createUserAccepted(@FormParam("guid") String guid, @FormParam("fk_id_entry") String id_entry_tos, @PathParam("version") Integer nVersion, @HeaderParam("headersecurity") String header_security) Create UserAccepted- Parameters:
nVersion- the API versionguid- the guidid_entry_tos- the fk_id_entry- Returns:
- the UserAccepted if created
-