Supported Formats

json

GET /api/colores_genericos
Devuelve los colores

### Ejemplo cURL

curl -X GET -H "Cache-Control: no-cache" -H "Postman-Token: 7121d0f6-2cd3-2e27-8b17-1a9409dc6bd8" 'http://localhost:3000/api/colores_genericos'

### Ejemplo Retorno

[
  {
    "id": 10,
    "clave": "AMARILLO",
    "nombre": "Amarillo",
    "orden": 10
  },
  {
    "id": 20,
    "clave": "AZUL",
    "nombre": "Azul",
    "orden": 20
  }
]

Supported Formats

json

Errors

401 Unauthorized - Returned when authentication can't be achieved via login or missing/expired api token