GET Activos/ObtenerTodosLosGrupos
Consulta el maestro de grupos parametrizados en el sistema.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Lista de Grupos.
Collection of Grupo| Name | Description | Type | Additional information |
|---|---|---|---|
| GrupoId |
Id del Grupo |
integer |
None. |
| NombreGrupo |
Nombre Grupo |
string |
Max length: 50 |
| Codigo |
Código Grupo |
string |
Max length: 5 |
| CuentaContableInventarios |
Cuenta Contable Inventarios |
string |
Max length: 25 |
| CuentaContableIva |
Cuenta Contable Iva |
string |
Max length: 25 |
| SubGrupos |
SubGrupos del Grupo |
Collection of SubGrupo |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"GrupoId": 1,
"NombreGrupo": "sample string 2",
"Codigo": "sample string 3",
"CuentaContableInventarios": "sample string 4",
"CuentaContableIva": "sample string 5",
"SubGrupos": [
{
"$id": "2",
"SubgrupoId": 1,
"GrupoId": 2,
"NombreSubgrupo": "sample string 3",
"Codigo": "sample string 4",
"Grupo": {
"$ref": "1"
},
"CentroCostoCodigoContable": [
{
"$id": "3",
"Id": 1,
"SubGrupoId": 2,
"CentroCostoId": 3,
"Codigocontable": 4
},
{
"$ref": "3"
}
]
},
{
"$ref": "2"
}
]
},
{
"$ref": "1"
}
]
multipart/form-data
Sample:
[{"$id":"1","GrupoId":1,"NombreGrupo":"sample string 2","Codigo":"sample string 3","CuentaContableInventarios":"sample string 4","CuentaContableIva":"sample string 5","SubGrupos":[{"$id":"2","SubgrupoId":1,"GrupoId":2,"NombreSubgrupo":"sample string 3","Codigo":"sample string 4","Grupo":{"$ref":"1"},"CentroCostoCodigoContable":[{"$id":"3","Id":1,"SubGrupoId":2,"CentroCostoId":3,"Codigocontable":4},{"$ref":"3"}]},{"$ref":"2"}]},{"$ref":"1"}]