Documentation ¶
Index ¶
- type PracticasAcademicasController
- func (c *PracticasAcademicasController) ConsultarEspaciosAcademicos()
- func (c *PracticasAcademicasController) ConsultarInfoColaborador()
- func (c *PracticasAcademicasController) ConsultarInfoSolicitante()
- func (c *PracticasAcademicasController) ConsultarParametros()
- func (c *PracticasAcademicasController) EnviarInvitaciones()
- func (c *PracticasAcademicasController) GetAll()
- func (c *PracticasAcademicasController) GetOne()
- func (c *PracticasAcademicasController) Post()
- func (c *PracticasAcademicasController) Put()
- func (c *PracticasAcademicasController) URLMapping()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PracticasAcademicasController ¶
type PracticasAcademicasController struct {
beego.Controller
}
PracticasAcademicasController operations for Practicas_academicas
func (*PracticasAcademicasController) ConsultarEspaciosAcademicos ¶
func (c *PracticasAcademicasController) ConsultarEspaciosAcademicos()
ConsultarEspaciosAcademicos ... @Title ConsultarEspaciosAcademicos @Description get estados de practica academica @Success 200 {object} models.Practicas_academicas @Failure 404 not found resource @router /espacios-academicos/:id [get]
func (*PracticasAcademicasController) ConsultarInfoColaborador ¶
func (c *PracticasAcademicasController) ConsultarInfoColaborador()
ConsultarInfoColaborador ... @Title ConsultarInfoColaborador @Description get información del docente colaborador @Param id documento de identidad del usuario registrado en wso2 @Success 200 {object} models.Practicas_academicas @Failure 404 not found resource @router /colaboradores/:id [get]
func (*PracticasAcademicasController) ConsultarInfoSolicitante ¶
func (c *PracticasAcademicasController) ConsultarInfoSolicitante()
ConsultarInfoSolicitante ... @Title ConsultarInfoSolicitante @Description get información del docente solicitante de la practica academica @Param id id perteneciente a terceros @Success 200 {object} models.Practicas_academicas @Failure 404 not found resource @router /solicitantes/:id [get]
func (*PracticasAcademicasController) ConsultarParametros ¶
func (c *PracticasAcademicasController) ConsultarParametros()
ConsultarParametros ... @Title ConsultarParametros @Description get parametros para creación de practica academica @Success 200 {object} models.Practicas_academicas @Failure 404 not found resource @router /parametros/ [get]
func (*PracticasAcademicasController) EnviarInvitaciones ¶
func (c *PracticasAcademicasController) EnviarInvitaciones()
EnviarInvitaciones ... @Title EnviarInvitaciones @Description enviar invitaciones al correo de los estudiantes @Param body body models.Practicas_academicas true "body for Practicas_academicas content" @Success 201 {object} models.Practicas_academicas @Failure 400 the request contains incorrect syntaxis @router /invitacion/ [post]
func (*PracticasAcademicasController) GetAll ¶
func (c *PracticasAcademicasController) GetAll()
GetAll ... @Title GetAll @Description get Practicas_academicas @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.Practicas_academicas @Failure 404 not data found @Failure 400 the request contains incorrect syntax @router / [get]
func (*PracticasAcademicasController) GetOne ¶
func (c *PracticasAcademicasController) GetOne()
GetOne ... @Title GetOne @Description get Practicas_academicas by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Practicas_academicas @Failure 404 not found resource @router /:id [get]
func (*PracticasAcademicasController) Post ¶
func (c *PracticasAcademicasController) Post()
Post ... @Title Create @Description create Practicas_academicas @Param body body models.Practicas_academicas true "body for Practicas_academicas content" @Success 201 {object} models.Practicas_academicas @Failure 400 the request contains incorrect syntaxis @router / [post]
func (*PracticasAcademicasController) Put ¶
func (c *PracticasAcademicasController) Put()
Put ... @Title Put @Description update the Practicas_academicas @Param id path string true "The id you want to update" @Param body body models.Practicas_academicas true "body for Practicas_academicas content" @Success 200 {object} models.Practicas_academicas @Failure 403 :id is not int @router /:id [put]
func (*PracticasAcademicasController) URLMapping ¶
func (c *PracticasAcademicasController) URLMapping()
URLMapping ...