> ## 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.

# Number of products by product type for departments

> Number of products by product type for departments.

Number of products by product type for departments. Chart type: **Bar**.

## Parameters

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

Affiliation type. This indicator returns data for: `institution`, `faculty`.

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

Affiliation identifier.

**plot** `string` *required*

Must be `departments_by_product_type`.

It also accepts the [product filters](https://help.impactu.colav.co/en/api-reference/affiliation/get-research-products.md). `max`, `page` and `sort` do not apply.

## Availability by affiliation type

| `affiliation_type` | Data |
| - | - |
| `institution` | ✅ |
| `faculty` | ✅ |
| `department` | No data |
| `group` | No data |

## Response

```json Institution theme={null}
{
  "plot": [
    {
      "type": "Artículo de revista",
      "x": "Multilingua",
      "y": 1
    },
    {
      "type": "Libro",
      "x": "Seccion de Produccion de Medios y Control Calidad",
      "y": 1
    },
    {
      "type": "Tesis de pregrado",
      "x": "Departamento de Ingeniería Sistemas - Virtual",
      "y": 3
    },
    {
      "type": "Tesis de pregrado",
      "x": "Programa Especial Psicología",
      "y": 11
    }
  ]
}
```

```json Faculty theme={null}
{
  "plot": [
    {
      "type": "Libro",
      "x": "Seccion de Produccion de Medios y Control Calidad",
      "y": 1
    },
    {
      "type": "Tesis de posgrado",
      "x": "Departamento de Extensión y Educación A Distancia",
      "y": 18
    },
    {
      "type": "Tesis de pregrado",
      "x": "Departamento de Extensión y Educación A Distancia",
      "y": 8
    },
    {
      "type": "Artículo de revista",
      "x": "Departamento de Extensión y Educación A Distancia",
      "y": 5
    }
  ]
}
```


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