GET Activos/ObtenerTodosLosSubGrupos

Consulta el maestro de SubGrupos parametrizados en el sistema.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Lista de SubGrupos.

Collection of SubGrupo
NameDescriptionTypeAdditional information
SubgrupoId

Id SubGrupo

integer

None.

GrupoId

Id Grupo

integer

None.

NombreSubgrupo

Nombre SubGrupo

string

Max length: 100

Codigo

Código SubGrupo

string

Max length: 20

Grupo

Grupo del SubGrupo

Grupo

None.

CentroCostoCodigoContable

Relaciones Centros Costo y Codigo Contable

Collection of CentroCostoCodigoContablePorSubGrupo

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "SubgrupoId": 1,
    "GrupoId": 2,
    "NombreSubgrupo": "sample string 3",
    "Codigo": "sample string 4",
    "Grupo": {
      "$id": "2",
      "GrupoId": 1,
      "NombreGrupo": "sample string 2",
      "Codigo": "sample string 3",
      "CuentaContableInventarios": "sample string 4",
      "CuentaContableIva": "sample string 5",
      "SubGrupos": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ]
    },
    "CentroCostoCodigoContable": [
      {
        "$id": "3",
        "Id": 1,
        "SubGrupoId": 2,
        "CentroCostoId": 3,
        "Codigocontable": 4
      },
      {
        "$ref": "3"
      }
    ]
  },
  {
    "$ref": "1"
  }
]

multipart/form-data

Sample:
[{"$id":"1","SubgrupoId":1,"GrupoId":2,"NombreSubgrupo":"sample string 3","Codigo":"sample string 4","Grupo":{"$id":"2","GrupoId":1,"NombreGrupo":"sample string 2","Codigo":"sample string 3","CuentaContableInventarios":"sample string 4","CuentaContableIva":"sample string 5","SubGrupos":[{"$ref":"1"},{"$ref":"1"}]},"CentroCostoCodigoContable":[{"$id":"3","Id":1,"SubGrupoId":2,"CentroCostoId":3,"Codigocontable":4},{"$ref":"3"}]},{"$ref":"1"}]