GET api/Producto/ObtenerProductoVista/{id}
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| id | No documentation available. |
Define this parameter in the request URI. |
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"idProducto": 1,
"idEmpresa": 1,
"idSubEmpresa": 2,
"nombre": "sample string 3",
"descripcion": "sample string 4",
"precioCompra": 5.0,
"precioVentaCredito": 6.0,
"precioVentaContado": 7.0,
"precioVentaxMayor": 8.0,
"tipoProducto": "sample string 9",
"categoria": "sample string 10",
"stockMinimo": 11,
"stockSeguridad": 12,
"unidadMedida": "sample string 13",
"ChangeTracker": {
"$id": "2",
"State": 2,
"ObjectsRemovedFromCollectionProperties": {
"$id": "3"
},
"OriginalValues": {
"$id": "4"
},
"ExtendedProperties": {
"$id": "5"
},
"ObjectsAddedToCollectionProperties": {
"$id": "6"
}
}
}
application/xml, text/xml
Sample:
<Producto2_View xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/Mantenimiento.Datos.Entidades">
<ChangeTracker z:Id="i2">
<ExtendedProperties />
<ObjectsAddedToCollectionProperties />
<ObjectsRemovedFromCollectionProperties />
<OriginalValues />
<State>Added</State>
</ChangeTracker>
<categoria>sample string 10</categoria>
<descripcion>sample string 4</descripcion>
<idEmpresa>1</idEmpresa>
<idProducto>1</idProducto>
<idSubEmpresa>2</idSubEmpresa>
<nombre>sample string 3</nombre>
<precioCompra>5</precioCompra>
<precioVentaContado>7</precioVentaContado>
<precioVentaCredito>6</precioVentaCredito>
<precioVentaxMayor>8</precioVentaxMayor>
<stockMinimo>11</stockMinimo>
<stockSeguridad>12</stockSeguridad>
<tipoProducto>sample string 9</tipoProducto>
<unidadMedida>sample string 13</unidadMedida>
</Producto2_View>