GET api/Producto/ObtenerProductoVista/{id}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional 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": 1,
  "nombre": "sample string 2",
  "descripcion": "sample string 3",
  "precioCompra": 4.0,
  "precioVentaCredito": 5.0,
  "precioVentaContado": 6.0,
  "precioVentaxMayor": 7.0,
  "tipoProducto": "sample string 8",
  "categoria": "sample string 9",
  "stockMinimo": 1,
  "stockSeguridad": 1.0,
  "unidadMedida": "sample string 10",
  "ChangeTracker": {
    "$id": "2",
    "State": 2,
    "ObjectsRemovedFromCollectionProperties": {},
    "OriginalValues": {},
    "ExtendedProperties": {},
    "ObjectsAddedToCollectionProperties": {}
  }
}

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 9</categoria>
  <descripcion>sample string 3</descripcion>
  <idEmpresa>1</idEmpresa>
  <idProducto>1</idProducto>
  <idSubEmpresa>1</idSubEmpresa>
  <nombre>sample string 2</nombre>
  <precioCompra>4</precioCompra>
  <precioVentaContado>6</precioVentaContado>
  <precioVentaCredito>5</precioVentaCredito>
  <precioVentaxMayor>7</precioVentaxMayor>
  <stockMinimo>1</stockMinimo>
  <stockSeguridad>1</stockSeguridad>
  <tipoProducto>sample string 8</tipoProducto>
  <unidadMedida>sample string 10</unidadMedida>
</Producto2_View>