GET api/Ventas?token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
Body Parameters
None.
Response Information
Resource Description
VentasMes| Name | Description | Type | Additional information |
|---|---|---|---|
| listado_ventas | Collection of Ventas |
None. |
|
| titulo_dato | string |
None. |
|
| ventas_totales | string |
None. |
|
| imagen | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"listado_ventas": [
{
"posicion": 1,
"nombre": "sample string 2",
"ventas": "sample string 3"
},
{
"posicion": 1,
"nombre": "sample string 2",
"ventas": "sample string 3"
}
],
"titulo_dato": "sample string 1",
"ventas_totales": "sample string 2",
"imagen": "sample string 3"
}
application/xml, text/xml
Sample:
<VentasMes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppVendedoresREST">
<imagen>sample string 3</imagen>
<listado_ventas>
<Ventas>
<nombre>sample string 2</nombre>
<posicion>1</posicion>
<ventas>sample string 3</ventas>
</Ventas>
<Ventas>
<nombre>sample string 2</nombre>
<posicion>1</posicion>
<ventas>sample string 3</ventas>
</Ventas>
</listado_ventas>
<titulo_dato>sample string 1</titulo_dato>
<ventas_totales>sample string 2</ventas_totales>
</VentasMes>