GET api/Tienda/Productos?id_empre={id_empre}&buscar={buscar}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id_empre | integer |
Required |
|
| buscar | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ClassProducto| Name | Description | Type | Additional information |
|---|---|---|---|
| id_empre | integer |
None. |
|
| id_arti | integer |
None. |
|
| id_tipo | integer |
None. |
|
| co_etiq | string |
None. |
|
| tx_producto | string |
None. |
|
| id_subgrupo | integer |
None. |
|
| tx_subgrupo | string |
None. |
|
| id_grupo | integer |
None. |
|
| id_categoria | integer |
None. |
|
| tx_grupo | string |
None. |
|
| tx_categoria | string |
None. |
|
| nu_stoc | decimal number |
None. |
|
| va_pvp | decimal number |
None. |
|
| po_iva | decimal number |
None. |
|
| Cantidad | decimal number |
None. |
|
| Stock | decimal number |
None. |
|
| va_subIva12 | decimal number |
None. |
|
| va_subIva0 | decimal number |
None. |
|
| va_iva | decimal number |
None. |
|
| Total | decimal number |
None. |
|
| tx_foto_principal | string |
None. |
|
| Fotos | Collection of ClassProductoFotos |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"id_empre": 1,
"id_arti": 2,
"id_tipo": 3,
"co_etiq": "sample string 4",
"tx_producto": "sample string 5",
"id_subgrupo": 6,
"tx_subgrupo": "sample string 7",
"id_grupo": 8,
"id_categoria": 9,
"tx_grupo": "sample string 10",
"tx_categoria": "sample string 11",
"nu_stoc": 12.1,
"va_pvp": 13.0,
"po_iva": 14.0,
"Cantidad": 15.0,
"Stock": 16.0,
"va_subIva12": 195.0,
"va_subIva0": 0.0,
"va_iva": 27.3,
"Total": 222.3,
"tx_foto_principal": "sample string 17",
"Fotos": [
{
"$id": "2",
"id_empre": 1,
"id_arti": 2,
"tx_foto": "sample string 3",
"nu_orden": 4
},
{
"$ref": "2"
}
]
},
{
"$ref": "1"
}
]