@Produces({MediaType.APPLICATION_JSON})
@Consumes({MediaType.APPLICATION_JSON})
@Path("/{id}")
public Response deleteCustomer(@PathParam("id") String id) {
CustomerActivity customerActivity = new CustomerActivity();
String res = customerActivity.deleteCustomer(id);
if (res.equals("OK")) {
return Response.status(Status.OK).build();
}
return null;
}