> ## Documentation Index
> Fetch the complete documentation index at: https://help.impactu.colav.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Distribución del gasto en APC entre las departamentos

> Distribución del gasto en APC entre las departamentos.

Distribución del gasto en APC entre las departamentos. Tipo de gráfico: **Torta**.

## Parámetros

**affiliation\_type** `string` *required*

Tipo de afiliación. Este indicador devuelve datos con: `institution`, `faculty`.

**affiliation\_id** `string` *required*

Identificador de la afiliación.

**plot** `string` *required*

Debe ser `apc_expenses_by_department`.

Acepta además los [filtros de productos](https://help.impactu.colav.co/api-reference/affiliation/get-research-products.md). No aplican `max`, `page` ni `sort`.

## Disponibilidad por tipo de afiliación

| `affiliation_type` | Datos |
| - | - |
| `institution` | ✅ |
| `faculty` | ✅ |
| `department` | Sin datos |
| `group` | Sin datos |

## Respuesta

```json Institución theme={null}
{
  "plot": [
    {
      "name": "Departamento de Formación Académica",
      "percentage": 12.12,
      "value": 2566952
    },
    {
      "name": "Departamento de Microbiología y Parasitología",
      "percentage": 9.61,
      "value": 2035634
    },
    {
      "name": "Instituto de Investigaciones Médicas",
      "percentage": 7.29,
      "value": 1543759
    },
    {
      "name": "Instituto de Biología",
      "percentage": 6.64,
      "value": 1405553
    }
  ],
  "sum": 21183283
}
```

```json Facultad theme={null}
{
  "plot": [
    {
      "name": "Departamento de Pedagogía",
      "percentage": 81.0,
      "value": 22812
    },
    {
      "name": "Departamento de Enseñanza de las Ciencias y las Artes",
      "percentage": 11.6,
      "value": 3266
    },
    {
      "name": "Departamento de Educación Infantil",
      "percentage": 7.41,
      "value": 2086
    }
  ],
  "sum": 28164
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.