
package com.dla.dda.rest;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import com.dla.dda.domain.model.request.EmailRequest;
import com.dla.dda.domain.model.response.EmailResponse;

/**
 * @see Servicio para enviar correos
 * @author montieln
 *
 */
@Path("/")
public interface IEmailRestService {

	@Path("/enviaCorreo")
	@POST
	@Produces(MediaType.APPLICATION_JSON)
	@Consumes(MediaType.APPLICATION_JSON)
	EmailResponse enviaCorreo(EmailRequest request);

}
