GET api/Productos
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Productos| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductoID | integer |
None. |
|
| Descripcion | string |
Required String length: inclusive between 3 and 200 |
|
| Codigo | string |
Required String length: inclusive between 1 and 130 |
|
| Costo | decimal number |
Required Data type: Currency |
|
| Precio | decimal number |
Required Data type: Currency |
|
| UltimaCompra | date |
None. |
|
| Stock | decimal number |
Required Data type: Currency |
|
| ImagenPath | string |
None. |
|
| Archivo | string |
None. |
|
| IvaSN | boolean |
Required |
|
| Notas | string |
Data type: MultilineText |
|
| Kardex | boolean |
Required |
|
| Gasto | boolean |
Required |
|
| Venta | boolean |
Required |
|
| AreaID | integer |
Required |
|
| NivelID | integer |
Required |
|
| EmpresasID | integer |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"ProductoID": 1,
"Descripcion": "sample string 2",
"Codigo": "sample string 3",
"Costo": 4.0,
"Precio": 5.0,
"UltimaCompra": "2025-12-06T10:45:31.0889603-08:00",
"Stock": 7.1,
"ImagenPath": "sample string 8",
"Archivo": "sample string 9",
"IvaSN": true,
"Notas": "sample string 11",
"Kardex": true,
"Gasto": true,
"Venta": true,
"AreaID": 15,
"NivelID": 16,
"EmpresasID": 17
},
{
"ProductoID": 1,
"Descripcion": "sample string 2",
"Codigo": "sample string 3",
"Costo": 4.0,
"Precio": 5.0,
"UltimaCompra": "2025-12-06T10:45:31.0889603-08:00",
"Stock": 7.1,
"ImagenPath": "sample string 8",
"Archivo": "sample string 9",
"IvaSN": true,
"Notas": "sample string 11",
"Kardex": true,
"Gasto": true,
"Venta": true,
"AreaID": 15,
"NivelID": 16,
"EmpresasID": 17
}
]