Documentation
¶
Index ¶
- type ApropiacionController
- type Date
- type EstadoApropiacionController
- type FuenteFinanciamientoApropiacionController
- func (c *FuenteFinanciamientoApropiacionController) Delete()
- func (c *FuenteFinanciamientoApropiacionController) GetAll()
- func (c *FuenteFinanciamientoApropiacionController) GetOne()
- func (c *FuenteFinanciamientoApropiacionController) Post()
- func (c *FuenteFinanciamientoApropiacionController) Put()
- func (c *FuenteFinanciamientoApropiacionController) RegistrarMultiple()
- func (c *FuenteFinanciamientoApropiacionController) URLMapping()
- type FuenteFinanciamientoController
- type RamaController
- type RubroController
- type TipoFuenteFinanciamientoController
- func (c *TipoFuenteFinanciamientoController) Delete()
- func (c *TipoFuenteFinanciamientoController) GetAll()
- func (c *TipoFuenteFinanciamientoController) GetOne()
- func (c *TipoFuenteFinanciamientoController) Post()
- func (c *TipoFuenteFinanciamientoController) Put()
- func (c *TipoFuenteFinanciamientoController) URLMapping()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApropiacionController ¶
type ApropiacionController struct {
beego.Controller
}
ApropiacionController operations for Apropiacion
func (*ApropiacionController) AprobarPresupuesto ¶
func (c *ApropiacionController) AprobarPresupuesto()
AprobarPresupuesto ... @Title AprobarPresupuesto @Description aprueba la asignacion inicial de presupuesto @Param Vigencia query string true "vigencia a comprobar" @Param UnidadEjecutora query string true "unidad ejecutora de los rubros a comprobar" @Success 200 {string} resultado @Failure 403 @router /AprobacionAsignacionInicial/ [put]
func (*ApropiacionController) Delete ¶
func (c *ApropiacionController) Delete()
Delete ... @Title Delete @Description delete the Apropiacion @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]
func (*ApropiacionController) GetAll ¶
func (c *ApropiacionController) GetAll()
GetAll ... @Title Get All @Description get Apropiacion @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.Apropiacion @Failure 403 @router / [get]
func (*ApropiacionController) GetOne ¶
func (c *ApropiacionController) GetOne()
GetOne ... @Title Get One @Description get Apropiacion by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Apropiacion @Failure 403 :id is empty @router /:id [get]
func (*ApropiacionController) Post ¶
func (c *ApropiacionController) Post()
Post ... @Title Post @Description create Apropiacion @Param body body models.Apropiacion true "body for Apropiacion content" @Success 201 {int} models.Apropiacion @Failure 403 body is empty @router / [post]
func (*ApropiacionController) Put ¶
func (c *ApropiacionController) Put()
Put ... @Title Put @Description update the Apropiacion @Param id path string true "The id you want to update" @Param body body models.Apropiacion true "body for Apropiacion content" @Success 200 {object} models.Apropiacion @Failure 403 :id is not int @router /:id [put]
func (*ApropiacionController) URLMapping ¶
func (c *ApropiacionController) URLMapping()
URLMapping ...
type Date ¶
type Date struct {
beego.Controller
}
func (*Date) FechaActual ¶
func (c *Date) FechaActual()
FechaActual ... @Title FechaActual @Description retorba fecga del servidor @Param formato formato como quiere obtener la fecha @Success 200 {string} delete success! @Failure 403 id is empty @router /FechaActual/:formato
type EstadoApropiacionController ¶
type EstadoApropiacionController struct {
beego.Controller
}
EstadoApropiacionController operations for EstadoApropiacion
func (*EstadoApropiacionController) Delete ¶
func (c *EstadoApropiacionController) Delete()
Delete ... @Title Delete @Description delete the EstadoApropiacion @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]
func (*EstadoApropiacionController) GetAll ¶
func (c *EstadoApropiacionController) GetAll()
GetAll ... @Title Get All @Description get EstadoApropiacion @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.EstadoApropiacion @Failure 403 @router / [get]
func (*EstadoApropiacionController) GetOne ¶
func (c *EstadoApropiacionController) GetOne()
GetOne ... @Title Get One @Description get EstadoApropiacion by id @Param id path string true "The key for staticblock" @Success 200 {object} models.EstadoApropiacion @Failure 403 :id is empty @router /:id [get]
func (*EstadoApropiacionController) Post ¶
func (c *EstadoApropiacionController) Post()
Post ... @Title Post @Description create EstadoApropiacion @Param body body models.EstadoApropiacion true "body for EstadoApropiacion content" @Success 201 {int} models.EstadoApropiacion @Failure 403 body is empty @router / [post]
func (*EstadoApropiacionController) Put ¶
func (c *EstadoApropiacionController) Put()
Put ... @Title Put @Description update the EstadoApropiacion @Param id path string true "The id you want to update" @Param body body models.EstadoApropiacion true "body for EstadoApropiacion content" @Success 200 {object} models.EstadoApropiacion @Failure 403 :id is not int @router /:id [put]
func (*EstadoApropiacionController) URLMapping ¶
func (c *EstadoApropiacionController) URLMapping()
URLMapping ...
type FuenteFinanciamientoApropiacionController ¶
type FuenteFinanciamientoApropiacionController struct {
beego.Controller
}
FuenteFinanciamientoApropiacionController operations for FuenteFinanciamientoApropiacion
func (*FuenteFinanciamientoApropiacionController) Delete ¶
func (c *FuenteFinanciamientoApropiacionController) Delete()
Delete ... @Title Delete @Description delete the FuenteFinanciamientoApropiacion @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]
func (*FuenteFinanciamientoApropiacionController) GetAll ¶
func (c *FuenteFinanciamientoApropiacionController) GetAll()
GetAll ... @Title Get All @Description get FuenteFinanciamientoApropiacion @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.FuenteFinanciamientoApropiacion @Failure 403 @router / [get]
func (*FuenteFinanciamientoApropiacionController) GetOne ¶
func (c *FuenteFinanciamientoApropiacionController) GetOne()
GetOne ... @Title Get One @Description get FuenteFinanciamientoApropiacion by id @Param id path string true "The key for staticblock" @Success 200 {object} models.FuenteFinanciamientoApropiacion @Failure 403 :id is empty @router /:id [get]
func (*FuenteFinanciamientoApropiacionController) Post ¶
func (c *FuenteFinanciamientoApropiacionController) Post()
Post ... @Title Post @Description create FuenteFinanciamientoApropiacion @Param body body models.FuenteFinanciamientoApropiacion true "body for FuenteFinanciamientoApropiacion content" @Success 201 {int} models.FuenteFinanciamientoApropiacion @Failure 403 body is empty @router / [post]
func (*FuenteFinanciamientoApropiacionController) Put ¶
func (c *FuenteFinanciamientoApropiacionController) Put()
Put ... @Title Put @Description update the FuenteFinanciamientoApropiacion @Param id path string true "The id you want to update" @Param body body models.FuenteFinanciamientoApropiacion true "body for FuenteFinanciamientoApropiacion content" @Success 200 {object} models.FuenteFinanciamientoApropiacion @Failure 403 :id is not int @router /:id [put]
func (*FuenteFinanciamientoApropiacionController) RegistrarMultiple ¶
func (c *FuenteFinanciamientoApropiacionController) RegistrarMultiple()
RegistrarMultiple ... @Title RegistrarMultiple @Description Crea una nueva fuente de financiamiento con la relación de sus rubros y sus dependencias a los rubros @Param body body models.FuenteFinanciamientoApropiacion true "body for FuenteFinanciamientoApropiacion content" @Success 201 {int} int[] @Failure 403 body is empty @router /registrar_multiple [post]
func (*FuenteFinanciamientoApropiacionController) URLMapping ¶
func (c *FuenteFinanciamientoApropiacionController) URLMapping()
URLMapping ...
type FuenteFinanciamientoController ¶
type FuenteFinanciamientoController struct {
beego.Controller
}
FuenteFinanciamientoController operations for FuenteFinanciamiento
func (*FuenteFinanciamientoController) Delete ¶
func (c *FuenteFinanciamientoController) Delete()
Delete ... @Title Delete @Description delete the FuenteFinanciamiento @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]
func (*FuenteFinanciamientoController) GetAll ¶
func (c *FuenteFinanciamientoController) GetAll()
GetAll ... @Title Get All @Description get FuenteFinanciamiento @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.FuenteFinanciamiento @Failure 403 @router / [get]
func (*FuenteFinanciamientoController) GetOne ¶
func (c *FuenteFinanciamientoController) GetOne()
GetOne ... @Title Get One @Description get FuenteFinanciamiento by id @Param id path string true "The key for staticblock" @Success 200 {object} models.FuenteFinanciamiento @Failure 403 :id is empty @router /:id [get]
func (*FuenteFinanciamientoController) Post ¶
func (c *FuenteFinanciamientoController) Post()
Post ... @Title Post @Description create FuenteFinanciamiento @Param body body models.FuenteFinanciamiento true "body for FuenteFinanciamiento content" @Success 201 {int} models.FuenteFinanciamiento @Failure 403 body is empty @router / [post]
func (*FuenteFinanciamientoController) Put ¶
func (c *FuenteFinanciamientoController) Put()
Put ... @Title Put @Description update the FuenteFinanciamiento @Param id path string true "The id you want to update" @Param body body models.FuenteFinanciamiento true "body for FuenteFinanciamiento content" @Success 200 {object} models.FuenteFinanciamiento @Failure 403 :id is not int @router /:id [put]
func (*FuenteFinanciamientoController) URLMapping ¶
func (c *FuenteFinanciamientoController) URLMapping()
URLMapping ...
type RamaController ¶
type RamaController struct {
beego.Controller
}
RamaController operations for Rama
func (*RamaController) Delete ¶
func (c *RamaController) Delete()
Delete ... @Title Delete @Description delete the Rama @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]
func (*RamaController) DeleteRubroRelation ¶
func (c *RamaController) DeleteRubroRelation()
DeleteRubroRelation ... @Title DeleteRubroRelation @Description delete the Rama @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /DeleteRubroRelation/:id [delete]
func (*RamaController) GetAll ¶
func (c *RamaController) GetAll()
GetAll ... @Title Get All @Description get Rama @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.Rama @Failure 403 @router / [get]
func (*RamaController) GetOne ¶
func (c *RamaController) GetOne()
GetOne ... @Title Get One @Description get Rama by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Rama @Failure 403 :id is empty @router /:id [get]
func (*RamaController) Post ¶
func (c *RamaController) Post()
Post ... @Title Post @Description create Rama @Param body body models.Rama true "body for Rama content" @Success 201 {int} models.Rama @Failure 403 body is empty @router / [post]
func (*RamaController) Put ¶
func (c *RamaController) Put()
Put ... @Title Put @Description update the Rama @Param id path string true "The id you want to update" @Param body body models.Rama true "body for Rama content" @Success 200 {object} models.Rama @Failure 403 :id is not int @router /:id [put]
type RubroController ¶
type RubroController struct {
beego.Controller
}
RubroController operations for Rubro
func (*RubroController) Delete ¶
func (c *RubroController) Delete()
Delete ... @Title Delete @Description delete the Rubro @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]
func (*RubroController) GetAll ¶
func (c *RubroController) GetAll()
GetAll ... @Title Get All @Description get Rubro @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param group 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.Rubro @Failure 403 @router / [get]
func (*RubroController) GetOne ¶
func (c *RubroController) GetOne()
GetOne ... @Title Get One @Description get Rubro by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Rubro @Failure 403 :id is empty @router /:id [get]
func (*RubroController) Post ¶
func (c *RubroController) Post()
Post ... @Title Post @Description create Rubro @Param parentId query string false "Fields returned. e.g. col1,col2 ..." @Param body body models.Rubro true "body for Rubro content" @Success 201 {int} models.Rubro @Failure 403 body is empty @router / [post]
func (*RubroController) Put ¶
func (c *RubroController) Put()
Put ... @Title Put @Description update the Rubro @Param id path string true "The id you want to update" @Param body body models.Rubro true "body for Rubro content" @Success 200 {object} models.Rubro @Failure 403 :id is not int @router /:id [put]
type TipoFuenteFinanciamientoController ¶
type TipoFuenteFinanciamientoController struct {
beego.Controller
}
TipoFuenteFinanciamientoController operations for TipoFuenteFinanciamiento
func (*TipoFuenteFinanciamientoController) Delete ¶
func (c *TipoFuenteFinanciamientoController) Delete()
Delete ... @Title Delete @Description delete the TipoFuenteFinanciamiento @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]
func (*TipoFuenteFinanciamientoController) GetAll ¶
func (c *TipoFuenteFinanciamientoController) GetAll()
GetAll ... @Title Get All @Description get TipoFuenteFinanciamiento @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.TipoFuenteFinanciamiento @Failure 403 @router / [get]
func (*TipoFuenteFinanciamientoController) GetOne ¶
func (c *TipoFuenteFinanciamientoController) GetOne()
GetOne ... @Title Get One @Description get TipoFuenteFinanciamiento by id @Param id path string true "The key for staticblock" @Success 200 {object} models.TipoFuenteFinanciamiento @Failure 403 :id is empty @router /:id [get]
func (*TipoFuenteFinanciamientoController) Post ¶
func (c *TipoFuenteFinanciamientoController) Post()
Post ... @Title Post @Description create TipoFuenteFinanciamiento @Param body body models.TipoFuenteFinanciamiento true "body for TipoFuenteFinanciamiento content" @Success 201 {int} models.TipoFuenteFinanciamiento @Failure 403 body is empty @router / [post]
func (*TipoFuenteFinanciamientoController) Put ¶
func (c *TipoFuenteFinanciamientoController) Put()
Put ... @Title Put @Description update the TipoFuenteFinanciamiento @Param id path string true "The id you want to update" @Param body body models.TipoFuenteFinanciamiento true "body for TipoFuenteFinanciamiento content" @Success 200 {object} models.TipoFuenteFinanciamiento @Failure 403 :id is not int @router /:id [put]
func (*TipoFuenteFinanciamientoController) URLMapping ¶
func (c *TipoFuenteFinanciamientoController) URLMapping()
URLMapping ...