Documentation ¶
Index ¶
- func ErrorControl(c beego.Controller, controller string)
- type ComponenteResolucionController
- type DedicacionController
- type EstadoResolucionController
- type ModificacionResolucionController
- func (c *ModificacionResolucionController) Delete()
- func (c *ModificacionResolucionController) GetAll()
- func (c *ModificacionResolucionController) GetOne()
- func (c *ModificacionResolucionController) Post()
- func (c *ModificacionResolucionController) Put()
- func (c *ModificacionResolucionController) URLMapping()
- type ModificacionVinculacionController
- func (c *ModificacionVinculacionController) Delete()
- func (c *ModificacionVinculacionController) GetAll()
- func (c *ModificacionVinculacionController) GetOne()
- func (c *ModificacionVinculacionController) Post()
- func (c *ModificacionVinculacionController) Put()
- func (c *ModificacionVinculacionController) URLMapping()
- type ResolucionCompletaController
- type ResolucionController
- func (c *ResolucionController) Delete()
- func (c *ResolucionController) GenerarResolucion()
- func (c *ResolucionController) GetAll()
- func (c *ResolucionController) GetOne()
- func (c *ResolucionController) Post()
- func (c *ResolucionController) Put()
- func (c *ResolucionController) RestaurarResolucion()
- func (c *ResolucionController) URLMapping()
- type ResolucionEstadoController
- type ResolucionVinculacionController
- func (c *ResolucionVinculacionController) GetAll()
- func (c *ResolucionVinculacionController) GetAllAprobada()
- func (c *ResolucionVinculacionController) GetAllExpedidasVigenciaPeriodo()
- func (c *ResolucionVinculacionController) GetAllExpedidasVigenciaPeriodoVinculacion()
- func (c *ResolucionVinculacionController) URLMapping()
- type ResolucionVinculacionDocenteController
- func (c *ResolucionVinculacionDocenteController) Delete()
- func (c *ResolucionVinculacionDocenteController) GetAll()
- func (c *ResolucionVinculacionDocenteController) GetOne()
- func (c *ResolucionVinculacionDocenteController) Post()
- func (c *ResolucionVinculacionDocenteController) Put()
- func (c *ResolucionVinculacionDocenteController) URLMapping()
- type TipoResolucionController
- type VinculacionDocenteController
- func (c *VinculacionDocenteController) Delete()
- func (c *VinculacionDocenteController) GetAll()
- func (c *VinculacionDocenteController) GetOne()
- func (c *VinculacionDocenteController) GetTotalContratosXResolucion()
- func (c *VinculacionDocenteController) GetValoresTotalesPorDisponibilidad()
- func (c *VinculacionDocenteController) GetVinculacionesAgrupadas()
- func (c *VinculacionDocenteController) InsertarVinculaciones()
- func (c *VinculacionDocenteController) Post()
- func (c *VinculacionDocenteController) Put()
- func (c *VinculacionDocenteController) URLMapping()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorControl ¶
func ErrorControl(c beego.Controller, controller string)
Types ¶
type ComponenteResolucionController ¶
type ComponenteResolucionController struct {
beego.Controller
}
ComponenteResolucionController operations for ComponenteResolucion
func (*ComponenteResolucionController) Delete ¶
func (c *ComponenteResolucionController) Delete()
Delete ... @Title Delete @Description delete the ComponenteResolucion @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 404 not found resource @router /:id [delete]
func (*ComponenteResolucionController) GetAll ¶
func (c *ComponenteResolucionController) GetAll()
GetAll ... @Title Get All @Description get ComponenteResolucion @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.ComponenteResolucion @Failure 404 not found resource @router / [get]
func (*ComponenteResolucionController) GetOne ¶
func (c *ComponenteResolucionController) GetOne()
GetOne ... @Title Get One @Description get ComponenteResolucion by id @Param id path string true "The key for staticblock" @Success 200 {object} models.ComponenteResolucion @Failure 404 not found resource @router /:id [get]
func (*ComponenteResolucionController) Post ¶
func (c *ComponenteResolucionController) Post()
Post ... @Title Post @Description create ComponenteResolucion @Param body body models.ComponenteResolucion true "body for ComponenteResolucion content" @Success 201 {int} models.ComponenteResolucion @Failure 400 the request contains incorrect syntax @router / [post]
func (*ComponenteResolucionController) Put ¶
func (c *ComponenteResolucionController) Put()
Put ... @Title Put @Description update the ComponenteResolucion @Param id path string true "The id you want to update" @Param body body models.ComponenteResolucion true "body for ComponenteResolucion content" @Success 200 {object} models.ComponenteResolucion @Failure 400 the request contains incorrect syntax @router /:id [put]
func (*ComponenteResolucionController) URLMapping ¶
func (c *ComponenteResolucionController) URLMapping()
URLMapping ...
type DedicacionController ¶
type DedicacionController struct {
beego.Controller
}
DedicacionController operations for Dedicacion
func (*DedicacionController) Delete ¶
func (c *DedicacionController) Delete()
Delete ... @Title Delete @Description delete the Dedicacion @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 404 not found resource @router /:id [delete]
func (*DedicacionController) GetAll ¶
func (c *DedicacionController) GetAll()
GetAll ... @Title Get All @Description get Dedicacion @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.Dedicacion @Failure 404 not found resource @router / [get]
func (*DedicacionController) GetOne ¶
func (c *DedicacionController) GetOne()
GetOne ... @Title Get One @Description get Dedicacion by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Dedicacion @Failure 404 not found resource @router /:id [get]
func (*DedicacionController) Post ¶
func (c *DedicacionController) Post()
Post ... @Title Post @Description create Dedicacion @Param body body models.Dedicacion true "body for Dedicacion content" @Success 201 {int} models.Dedicacion @Failure 400 the request contains incorrect syntax @router / [post]
func (*DedicacionController) Put ¶
func (c *DedicacionController) Put()
Put ... @Title Put @Description update the Dedicacion @Param id path string true "The id you want to update" @Param body body models.Dedicacion true "body for Dedicacion content" @Success 200 {object} models.Dedicacion @Failure 400 the request contains incorrect syntax @router /:id [put]
func (*DedicacionController) URLMapping ¶
func (c *DedicacionController) URLMapping()
URLMapping ...
type EstadoResolucionController ¶
type EstadoResolucionController struct {
beego.Controller
}
EstadoResolucionController operations for EstadoResolucion
func (*EstadoResolucionController) Delete ¶
func (c *EstadoResolucionController) Delete()
Delete ... @Title Delete @Description delete the EstadoResolucion @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 404 not found resource @router /:id [delete]
func (*EstadoResolucionController) GetAll ¶
func (c *EstadoResolucionController) GetAll()
GetAll ... @Title Get All @Description get EstadoResolucion @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.EstadoResolucion @Failure 404 not found resource @router / [get]
func (*EstadoResolucionController) GetOne ¶
func (c *EstadoResolucionController) GetOne()
GetOne ... @Title Get One @Description get EstadoResolucion by id @Param id path string true "The key for staticblock" @Success 200 {object} models.EstadoResolucion @Failure 404 not found resource @router /:id [get]
func (*EstadoResolucionController) Post ¶
func (c *EstadoResolucionController) Post()
Post ... @Title Post @Description create EstadoResolucion @Param body body models.EstadoResolucion true "body for EstadoResolucion content" @Success 201 {int} models.EstadoResolucion @Failure 400 the request contains incorrect syntax @router / [post]
func (*EstadoResolucionController) Put ¶
func (c *EstadoResolucionController) Put()
Put ... @Title Put @Description update the EstadoResolucion @Param id path string true "The id you want to update" @Param body body models.EstadoResolucion true "body for EstadoResolucion content" @Success 200 {object} models.EstadoResolucion @Failure 400 the request contains incorrect syntax @router /:id [put]
func (*EstadoResolucionController) URLMapping ¶
func (c *EstadoResolucionController) URLMapping()
URLMapping ...
type ModificacionResolucionController ¶
type ModificacionResolucionController struct {
beego.Controller
}
ModificacionResolucionController operations for ModificacionResolucion
func (*ModificacionResolucionController) Delete ¶
func (c *ModificacionResolucionController) Delete()
Delete ... @Title Delete @Description delete the ModificacionResolucion @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 404 not found resource @router /:id [delete]
func (*ModificacionResolucionController) GetAll ¶
func (c *ModificacionResolucionController) GetAll()
GetAll ... @Title Get All @Description get ModificacionResolucion @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.ModificacionResolucion @Failure 404 not found resource @router / [get]
func (*ModificacionResolucionController) GetOne ¶
func (c *ModificacionResolucionController) GetOne()
GetOne ... @Title Get One @Description get ModificacionResolucion by id @Param id path string true "The key for staticblock" @Success 200 {object} models.ModificacionResolucion @Failure 404 not found resource @router /:id [get]
func (*ModificacionResolucionController) Post ¶
func (c *ModificacionResolucionController) Post()
Post ... @Title Post @Description create ModificacionResolucion @Param body body models.ModificacionResolucion true "body for ModificacionResolucion content" @Success 201 {int} models.ModificacionResolucion @Failure 400 the request contains incorrect syntax @router / [post]
func (*ModificacionResolucionController) Put ¶
func (c *ModificacionResolucionController) Put()
Put ... @Title Put @Description update the ModificacionResolucion @Param id path string true "The id you want to update" @Param body body models.ModificacionResolucion true "body for ModificacionResolucion content" @Success 200 {object} models.ModificacionResolucion @Failure 400 the request contains incorrect syntax @router /:id [put]
func (*ModificacionResolucionController) URLMapping ¶
func (c *ModificacionResolucionController) URLMapping()
URLMapping ...
type ModificacionVinculacionController ¶
type ModificacionVinculacionController struct {
beego.Controller
}
ModificacionVinculacionController operations for ModificacionVinculacion
func (*ModificacionVinculacionController) Delete ¶
func (c *ModificacionVinculacionController) Delete()
Delete ... @Title Delete @Description delete the ModificacionVinculacion @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 404 not found resource @router /:id [delete]
func (*ModificacionVinculacionController) GetAll ¶
func (c *ModificacionVinculacionController) GetAll()
GetAll ... @Title Get All @Description get ModificacionVinculacion @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.ModificacionVinculacion @Failure 404 not found resource @router / [get]
func (*ModificacionVinculacionController) GetOne ¶
func (c *ModificacionVinculacionController) GetOne()
GetOne ... @Title Get One @Description get ModificacionVinculacion by id @Param id path string true "The key for staticblock" @Success 200 {object} models.ModificacionVinculacion @Failure 404 not found resource @router /:id [get]
func (*ModificacionVinculacionController) Post ¶
func (c *ModificacionVinculacionController) Post()
Post ... @Title Post @Description create ModificacionVinculacion @Param body body models.ModificacionVinculacion true "body for ModificacionVinculacion content" @Success 201 {int} models.ModificacionVinculacion @Failure 400 the request contains incorrect syntax @router / [post]
func (*ModificacionVinculacionController) Put ¶
func (c *ModificacionVinculacionController) Put()
Put ... @Title Put @Description update the ModificacionVinculacion @Param id path string true "The id you want to update" @Param body body models.ModificacionVinculacion true "body for ModificacionVinculacion content" @Success 200 {object} models.ModificacionVinculacion @Failure 400 the request contains incorrect syntax @router /:id [put]
func (*ModificacionVinculacionController) URLMapping ¶
func (c *ModificacionVinculacionController) URLMapping()
URLMapping ...
type ResolucionCompletaController ¶
type ResolucionCompletaController struct {
beego.Controller
}
func (*ResolucionCompletaController) GetOne ¶
func (c *ResolucionCompletaController) GetOne()
GetOne ... @Title Get One @Description get ResolucionCompleta by id @Param idResolucion path string true "The key for staticblock" @Success 200 {object} models.ResolucionCompleta @Failure 403 :idResolucion is empty @Failure 404 Not found @Failure 500 Internal Server Error @Failure 502 Bad Gateway @router /:idResolucion [get]
func (*ResolucionCompletaController) Put ¶
func (c *ResolucionCompletaController) Put()
Put ... @Title Put @Description update the ResolucionCompleta @Param idResolucion path string true "The id you want to update" @Param body body models.ResolucionCompleta true "body for ResolucionCompleta content" @Success 200 {object} models.ResolucionCompleta @Failure 403 :idResolucion is not int @Failure 404 Not found @Failure 500 Internal Server Error @Failure 502 Bad Gateway @router /:idResolucion [put]
func (*ResolucionCompletaController) ResolucionTemplate ¶
func (c *ResolucionCompletaController) ResolucionTemplate()
GetOne ... @Title Get Template @Description Arma una resolucion a partir de la dedicacion y el nivel.(ResolucionTemplate) @Param dedicacion path string true "Nombre de la dedicacion (HCP, HCH ...)" @Param nivel path string true "Nivel de la dedicacion (PREGRADO, POSGRADO ....)" @Success 200 {object} models.ResolucionCompleta @Failure 404 Not found @Failure 500 Internal Server Error @Failure 502 Bad Gateway @router /resolucion_template/:dedicacion/:nivel [get]
func (*ResolucionCompletaController) URLMapping ¶
func (c *ResolucionCompletaController) URLMapping()
type ResolucionController ¶
type ResolucionController struct {
beego.Controller
}
ResolucionController operations for Resolucion
func (*ResolucionController) Delete ¶
func (c *ResolucionController) Delete()
Delete ... @Title Delete @Description delete the Resolucion @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 404 not found resource @router /:id [delete]
func (*ResolucionController) GenerarResolucion ¶
func (c *ResolucionController) GenerarResolucion()
Post ... @Title Post @Description create Resolucion @Param body body models.Resolucion true "body for Resolucion content" @Success 201 {int} models.Resolucion @Failure 403 body is empty @Failure 400 the request contains incorrect syntax @router /GenerarResolucion [post]
func (*ResolucionController) GetAll ¶
func (c *ResolucionController) GetAll()
GetAll ... @Title Get All @Description get Resolucion @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.Resolucion @Failure 404 not found resource @router / [get]
func (*ResolucionController) GetOne ¶
func (c *ResolucionController) GetOne()
GetOne ... @Title Get One @Description get Resolucion by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Resolucion @Failure 404 not found resource @router /:id [get]
func (*ResolucionController) Post ¶
func (c *ResolucionController) Post()
Post ... @Title Post @Description create Resolucion @Param body body models.Resolucion true "body for Resolucion content" @Success 201 {int} models.Resolucion @Failure 400 the request contains incorrect syntax @router / [post]
func (*ResolucionController) Put ¶
func (c *ResolucionController) Put()
Put ... @Title Put @Description update the Resolucion @Param id path string true "The id you want to update" @Param body body models.Resolucion true "body for Resolucion content" @Success 200 {object} models.Resolucion @Failure 400 the request contains incorrect syntax @router /:id [put]
func (*ResolucionController) RestaurarResolucion ¶
func (c *ResolucionController) RestaurarResolucion()
Put ... @Title Restaurar @Description update the Resolucion @Param id path string true "The id you want to update" @Param body body models.Resolucion true "body for Resolucion content" @Success 200 {object} models.Resolucion @Failure 403 :id is not int @Failure 400 the request contains incorrect syntax @router /RestaurarResolucion/:id [put]
func (*ResolucionController) URLMapping ¶
func (c *ResolucionController) URLMapping()
URLMapping ...
type ResolucionEstadoController ¶
type ResolucionEstadoController struct {
beego.Controller
}
ResolucionEstadoController operations for ResolucionEstado
func (*ResolucionEstadoController) Delete ¶
func (c *ResolucionEstadoController) Delete()
Delete ... @Title Delete @Description delete the ResolucionEstado @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 404 not found resource @router /:id [delete]
func (*ResolucionEstadoController) GetAll ¶
func (c *ResolucionEstadoController) GetAll()
GetAll ... @Title Get All @Description get ResolucionEstado @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.ResolucionEstado @Failure 404 not found resource @router / [get]
func (*ResolucionEstadoController) GetOne ¶
func (c *ResolucionEstadoController) GetOne()
GetOne ... @Title Get One @Description get ResolucionEstado by id @Param id path string true "The key for staticblock" @Success 200 {object} models.ResolucionEstado @Failure 404 not found resource @router /:id [get]
func (*ResolucionEstadoController) Post ¶
func (c *ResolucionEstadoController) Post()
Post ... @Title Post @Description create ResolucionEstado @Param body body models.ResolucionEstado true "body for ResolucionEstado content" @Success 201 {int} models.ResolucionEstado @Failure 400 the request contains incorrect syntax @router / [post]
func (*ResolucionEstadoController) Put ¶
func (c *ResolucionEstadoController) Put()
Put ... @Title Put @Description update the ResolucionEstado @Param id path string true "The id you want to update" @Param body body models.ResolucionEstado true "body for ResolucionEstado content" @Success 200 {object} models.ResolucionEstado @Failure 400 the request contains incorrect syntax @router /:id [put]
func (*ResolucionEstadoController) URLMapping ¶
func (c *ResolucionEstadoController) URLMapping()
URLMapping ...
type ResolucionVinculacionController ¶
type ResolucionVinculacionController struct {
beego.Controller
}
func (*ResolucionVinculacionController) GetAll ¶
func (c *ResolucionVinculacionController) GetAll()
GetAll ... @Title Get All @Description get ResolucionVinculacion @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @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.ResolucionVinculacionDocente @Failure 403 @router / [get]
func (*ResolucionVinculacionController) GetAllAprobada ¶
func (c *ResolucionVinculacionController) GetAllAprobada()
GetAllAprobada ... @Title Get All @Description get ResolucionVinculacion @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param limit query int false "Limit the size of result set. Must be an integer" @Param offset query int false "Start position of result set. Must be an integer" @Success 201 {object} []models.ResolucionVinculacion @Failure 403 @router /Aprobada [get]
func (*ResolucionVinculacionController) GetAllExpedidasVigenciaPeriodo ¶
func (c *ResolucionVinculacionController) GetAllExpedidasVigenciaPeriodo()
GetAllExpedidasVigenciaPeriodo ... @Title GetAllExpedidasVigenciaPeriodo @Description Agrupa los contratos de una preliquidacion segun mes, año y nomina para preliquidaicones en estado CERRADA @Param vigencia query string true "nomina a listar" @Success 201 {object} []models.ResolucionVinculacion @Failure 403 body is empty @router /expedidas_vigencia_periodo [get]
func (*ResolucionVinculacionController) GetAllExpedidasVigenciaPeriodoVinculacion ¶
func (c *ResolucionVinculacionController) GetAllExpedidasVigenciaPeriodoVinculacion()
GetAllExpedidasVigenciaPeriodoVinculacion ... @Title GetAllExpedidasVigenciaPeriodoVinculacion @Description Muestra resoluciones de tipo vinculación para cancelar y modificar @Param vigencia query string false "nomina a listar" @Success 201 {object} []models.ResolucionVinculacion @Failure 403 body is empty @router /expedidas_vigencia_periodo_vinculacion [get]
func (*ResolucionVinculacionController) URLMapping ¶
func (c *ResolucionVinculacionController) URLMapping()
type ResolucionVinculacionDocenteController ¶
type ResolucionVinculacionDocenteController struct {
beego.Controller
}
ResolucionVinculacionDocenteController operations for ResolucionVinculacionDocente
func (*ResolucionVinculacionDocenteController) Delete ¶
func (c *ResolucionVinculacionDocenteController) Delete()
Delete ... @Title Delete @Description delete the ResolucionVinculacionDocente @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 404 not found resource @router /:id [delete]
func (*ResolucionVinculacionDocenteController) GetAll ¶
func (c *ResolucionVinculacionDocenteController) GetAll()
GetAll ... @Title Get All @Description get ResolucionVinculacionDocente @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.ResolucionVinculacionDocente @Failure 404 not found resource @router / [get]
func (*ResolucionVinculacionDocenteController) GetOne ¶
func (c *ResolucionVinculacionDocenteController) GetOne()
GetOne ... @Title Get One @Description get ResolucionVinculacionDocente by id @Param id path string true "The key for staticblock" @Success 200 {object} models.ResolucionVinculacionDocente @Failure 404 not found resource @router /:id [get]
func (*ResolucionVinculacionDocenteController) Post ¶
func (c *ResolucionVinculacionDocenteController) Post()
Post ... @Title Post @Description create ResolucionVinculacionDocente @Param body body models.ResolucionVinculacionDocente true "body for ResolucionVinculacionDocente content" @Success 201 {int} models.ResolucionVinculacionDocente @Failure 400 the request contains incorrect syntax @router / [post]
func (*ResolucionVinculacionDocenteController) Put ¶
func (c *ResolucionVinculacionDocenteController) Put()
Put ... @Title Put @Description update the ResolucionVinculacionDocente @Param id path string true "The id you want to update" @Param body body models.ResolucionVinculacionDocente true "body for ResolucionVinculacionDocente content" @Success 200 {object} models.ResolucionVinculacionDocente @Failure 400 the request contains incorrect syntax @router /:id [put]
func (*ResolucionVinculacionDocenteController) URLMapping ¶
func (c *ResolucionVinculacionDocenteController) URLMapping()
URLMapping ...
type TipoResolucionController ¶
type TipoResolucionController struct {
beego.Controller
}
TipoResolucionController operations for TipoResolucion
func (*TipoResolucionController) Delete ¶
func (c *TipoResolucionController) Delete()
Delete ... @Title Delete @Description delete the TipoResolucion @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 404 not found resource @router /:id [delete]
func (*TipoResolucionController) GetAll ¶
func (c *TipoResolucionController) GetAll()
GetAll ... @Title Get All @Description get TipoResolucion @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.TipoResolucion @Failure 404 not found resource @router / [get]
func (*TipoResolucionController) GetOne ¶
func (c *TipoResolucionController) GetOne()
GetOne ... @Title Get One @Description get TipoResolucion by id @Param id path string true "The key for staticblock" @Success 200 {object} models.TipoResolucion @Failure 404 not found resource @router /:id [get]
func (*TipoResolucionController) Post ¶
func (c *TipoResolucionController) Post()
Post ... @Title Post @Description create TipoResolucion @Param body body models.TipoResolucion true "body for TipoResolucion content" @Success 201 {int} models.TipoResolucion @Failure 400 the request contains incorrect syntax @router / [post]
func (*TipoResolucionController) Put ¶
func (c *TipoResolucionController) Put()
Put ... @Title Put @Description update the TipoResolucion @Param id path string true "The id you want to update" @Param body body models.TipoResolucion true "body for TipoResolucion content" @Success 200 {object} models.TipoResolucion @Failure 400 the request contains incorrect syntax @router /:id [put]
func (*TipoResolucionController) URLMapping ¶
func (c *TipoResolucionController) URLMapping()
URLMapping ...
type VinculacionDocenteController ¶
type VinculacionDocenteController struct {
beego.Controller
}
VinculacionDocenteController operations for VinculacionDocente
func (*VinculacionDocenteController) Delete ¶
func (c *VinculacionDocenteController) Delete()
Delete ... @Title Delete @Description delete the VinculacionDocente @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 404 not found resource @router /:id [delete]
func (*VinculacionDocenteController) GetAll ¶
func (c *VinculacionDocenteController) GetAll()
GetAll ... @Title Get All @Description get VinculacionDocente @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.VinculacionDocente @Failure 404 not found resource @router / [get]
func (*VinculacionDocenteController) GetOne ¶
func (c *VinculacionDocenteController) GetOne()
GetOne ... @Title Get One @Description get VinculacionDocente by id @Param id path string true "The key for staticblock" @Success 200 {object} models.VinculacionDocente @Failure 404 not found resource @router /:id [get]
func (*VinculacionDocenteController) GetTotalContratosXResolucion ¶
func (c *VinculacionDocenteController) GetTotalContratosXResolucion()
GetTotalContratosXResolucion ... @Title GetTotalContratosXResolucion @Description Retorna el valor total de la contratación para la resolución @Param id_resolucion query string true "nomina a listar" @Success 201 {object} int @Failure 403 body is empty @router /get_total_contratos_x_resolucion/:id_resolucion/:dedicacion [get]
func (*VinculacionDocenteController) GetValoresTotalesPorDisponibilidad ¶
func (c *VinculacionDocenteController) GetValoresTotalesPorDisponibilidad()
GetValoresTotalesPorDisponibilidad ... @Title GetValoresTotalesPorDisponibilidad @Description se obtiene el valor total que ha sido apartado para cierta disponibilidad @Param anio path string true "Vigencia" @Param periodo path string true "Periodo dentro de la vigencia" @Param id_disponibilidad path string true "Numero de disponibilidad presupuestal" @Success 200 {int} @Failure 403 @router /get_valores_totales_x_disponibilidad/:anio/:periodo/:id_disponibilidad [get]
func (*VinculacionDocenteController) GetVinculacionesAgrupadas ¶
func (c *VinculacionDocenteController) GetVinculacionesAgrupadas()
GetVinculacionesAgrupadas ... @Title GetVinculacionesAgrupadas @Description get vinculaciones agrupadas por docente @Param id_resolucion path string true "Id de la resolución a consultar" @Success 200 {object} []models.VinculacionDocente @Failure 403 :id is empty @router /get_vinculaciones_agrupadas/:id_resolucion [get]
func (*VinculacionDocenteController) InsertarVinculaciones ¶
func (c *VinculacionDocenteController) InsertarVinculaciones()
Post ... @Title Post @Description create VinculacionDocente @Param body body models.VinculacionDocente true "body for VinculacionDocente content" @Success 201 {int} @Failure 403 body is empty @router /InsertarVinculaciones [post]
func (*VinculacionDocenteController) Post ¶
func (c *VinculacionDocenteController) Post()
Post ... @Title Post @Description create VinculacionDocente @Param body body models.VinculacionDocente true "body for VinculacionDocente content" @Success 201 {int} models.VinculacionDocente @Failure 400 the request contains incorrect syntax @router / [post]
func (*VinculacionDocenteController) Put ¶
func (c *VinculacionDocenteController) Put()
Put ... @Title Put @Description update the VinculacionDocente @Param id path string true "The id you want to update" @Param body body models.VinculacionDocente true "body for VinculacionDocente content" @Success 200 {object} models.VinculacionDocente @Failure 400 the request contains incorrect syntax @router /:id [put]
func (*VinculacionDocenteController) URLMapping ¶
func (c *VinculacionDocenteController) URLMapping()
URLMapping ...