POST api/Facturacion/ProductosFacturados
Request Information
URI Parameters
None.
Body Parameters
parametroProductosFacturados| Name | Description | Type | Additional information |
|---|---|---|---|
| idSucursal | integer |
None. |
|
| rangoFechas | string |
None. |
|
| fechaInicial | string |
None. |
|
| fechaFinal | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"idSucursal": 1,
"rangoFechas": "sample string 2",
"fechaInicial": "sample string 3",
"fechaFinal": "sample string 4"
}
application/xml, text/xml
Sample:
<parametroProductosFacturados xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webApiSynergy.Models"> <fechaFinal>sample string 4</fechaFinal> <fechaInicial>sample string 3</fechaInicial> <idSucursal>1</idSucursal> <rangoFechas>sample string 2</rangoFechas> </parametroProductosFacturados>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of productosFacturados| Name | Description | Type | Additional information |
|---|---|---|---|
| nombreProducto | string |
None. |
|
| cantidad | integer |
None. |
|
| promocion | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"nombreProducto": "sample string 1",
"cantidad": 2,
"promocion": 3
},
{
"nombreProducto": "sample string 1",
"cantidad": 2,
"promocion": 3
}
]
application/xml, text/xml
Sample:
<ArrayOfproductosFacturados xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webApiSynergy.Models">
<productosFacturados>
<cantidad>2</cantidad>
<nombreProducto>sample string 1</nombreProducto>
<promocion>3</promocion>
</productosFacturados>
<productosFacturados>
<cantidad>2</cantidad>
<nombreProducto>sample string 1</nombreProducto>
<promocion>3</promocion>
</productosFacturados>
</ArrayOfproductosFacturados>