POST api/GiacenzeVenditeClienti/ImportVendite
Request Information
URI Parameters
None.
Body Parameters
ImportVenditeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| IdCliente | integer |
None. |
|
| Vendite | Collection of VenditaClienteWebDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdCliente": 1,
"Vendite": [
{
"Barcode": "sample string 1",
"Qta": 2,
"Data": "2025-12-10T05:23:25.6403595+01:00",
"Importo": 4.0
},
{
"Barcode": "sample string 1",
"Qta": 2,
"Data": "2025-12-10T05:23:25.6403595+01:00",
"Importo": 4.0
}
]
}
application/xml, text/xml
Sample:
<ImportVenditeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GE_Web_Api_Centrale.Controllers">
<IdCliente>1</IdCliente>
<Vendite xmlns:d2p1="http://schemas.datacontract.org/2004/07/GE_Solution.Services">
<d2p1:VenditaClienteWebDto>
<d2p1:Barcode>sample string 1</d2p1:Barcode>
<d2p1:Data>2025-12-10T05:23:25.6403595+01:00</d2p1:Data>
<d2p1:Importo>4</d2p1:Importo>
<d2p1:Qta>2</d2p1:Qta>
</d2p1:VenditaClienteWebDto>
<d2p1:VenditaClienteWebDto>
<d2p1:Barcode>sample string 1</d2p1:Barcode>
<d2p1:Data>2025-12-10T05:23:25.6403595+01:00</d2p1:Data>
<d2p1:Importo>4</d2p1:Importo>
<d2p1:Qta>2</d2p1:Qta>
</d2p1:VenditaClienteWebDto>
</Vendite>
</ImportVenditeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.