> For the complete documentation index, see [llms.txt](https://developers.admintotal.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.admintotal.com/api/centros-de-responsabilidad.md).

# Centros de responsabilidad

## Obtener listado de entradas almacén.

<mark style="color:blue;">`GET`</mark> `https://{clave}.admintotal.com/api/v2/centros_responsabilidad/`

#### Headers

| Name    | Type   | Description            |
| ------- | ------ | ---------------------- |
| Api-key | String | Token de autenticación |

{% tabs %}
{% tab title="200" %}

```
"count": 8,
    "next": "http://{clave}.admintotal.com/api/v2/entradas_almacen/",
    "previous": null,
    "results": [
        {
            "id": 1,
            "numero": "001",
            "nombre": "SURSAL EJEMPLO",
            "padre": "SUCURSAL PADRE",
            "tipo": "CeCo",
            "excluir_abc": false,
            "responsable": "JUAN PEREZ"
        }
    ]
}
```

{% endtab %}
{% endtabs %}

## Obtener un centro de responsabilidad.

<mark style="color:blue;">`GET`</mark> `https://{clave}.admintotal.com/api/v2/centros_responsabilidad/:id/`

#### Headers

| Name    | Type   | Description            |
| ------- | ------ | ---------------------- |
| Api-key | String | Token de autenticación |

{% tabs %}
{% tab title="200" %}

```
{
    "id": 1,
    "numero": "001",
    "nombre": "SURSAL EJEMPLO",
    "padre": "SUCURSAL PADRE",
    "tipo": "CeCo",
    "excluir_abc": false,
    "responsable": "JUAN PEREZ"
}
```

{% endtab %}
{% endtabs %}
