GET api/Documento/ListarDetalleCompras/{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:
[
{
"$id": "2",
"idDetalleDocumento": 1,
"codigo": "sample string 2",
"idProducto": 3,
"producto": "sample string 4",
"cantidad": 5.0,
"precio": 6.0,
"subtotal": 7.0,
"cantRestante": 1.0,
"contRestNC": 1.0,
"idUnidadMedida": 8,
"unidadMedida": "sample string 9",
"condicion": "sample string 10",
"precioCompra": 11.0,
"precioVentaCredito": 12.0,
"precioVentaContado": 13.0,
"precioVentaxMayor": 14.0,
"stock": 1.0,
"aceptaLote": 1,
"aceptaSerie": 1,
"enviado": 15
},
{
"$ref": "2"
},
{
"$ref": "2"
}
]
application/xml, text/xml
Sample:
<ArrayOfsp_ListarDetalleCompra_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mantenimiento.Datos.Entidades">
<sp_ListarDetalleCompra_Result>
<aceptaLote>1</aceptaLote>
<aceptaSerie>1</aceptaSerie>
<cantRestante>1</cantRestante>
<cantidad>5</cantidad>
<codigo>sample string 2</codigo>
<condicion>sample string 10</condicion>
<contRestNC>1</contRestNC>
<enviado>15</enviado>
<idDetalleDocumento>1</idDetalleDocumento>
<idProducto>3</idProducto>
<idUnidadMedida>8</idUnidadMedida>
<precio>6</precio>
<precioCompra>11</precioCompra>
<precioVentaContado>13</precioVentaContado>
<precioVentaCredito>12</precioVentaCredito>
<precioVentaxMayor>14</precioVentaxMayor>
<producto>sample string 4</producto>
<stock>1</stock>
<subtotal>7</subtotal>
<unidadMedida>sample string 9</unidadMedida>
</sp_ListarDetalleCompra_Result>
<sp_ListarDetalleCompra_Result>
<aceptaLote>1</aceptaLote>
<aceptaSerie>1</aceptaSerie>
<cantRestante>1</cantRestante>
<cantidad>5</cantidad>
<codigo>sample string 2</codigo>
<condicion>sample string 10</condicion>
<contRestNC>1</contRestNC>
<enviado>15</enviado>
<idDetalleDocumento>1</idDetalleDocumento>
<idProducto>3</idProducto>
<idUnidadMedida>8</idUnidadMedida>
<precio>6</precio>
<precioCompra>11</precioCompra>
<precioVentaContado>13</precioVentaContado>
<precioVentaCredito>12</precioVentaCredito>
<precioVentaxMayor>14</precioVentaxMayor>
<producto>sample string 4</producto>
<stock>1</stock>
<subtotal>7</subtotal>
<unidadMedida>sample string 9</unidadMedida>
</sp_ListarDetalleCompra_Result>
<sp_ListarDetalleCompra_Result>
<aceptaLote>1</aceptaLote>
<aceptaSerie>1</aceptaSerie>
<cantRestante>1</cantRestante>
<cantidad>5</cantidad>
<codigo>sample string 2</codigo>
<condicion>sample string 10</condicion>
<contRestNC>1</contRestNC>
<enviado>15</enviado>
<idDetalleDocumento>1</idDetalleDocumento>
<idProducto>3</idProducto>
<idUnidadMedida>8</idUnidadMedida>
<precio>6</precio>
<precioCompra>11</precioCompra>
<precioVentaContado>13</precioVentaContado>
<precioVentaCredito>12</precioVentaCredito>
<precioVentaxMayor>14</precioVentaxMayor>
<producto>sample string 4</producto>
<stock>1</stock>
<subtotal>7</subtotal>
<unidadMedida>sample string 9</unidadMedida>
</sp_ListarDetalleCompra_Result>
</ArrayOfsp_ListarDetalleCompra_Result>