POST api/sales/save
Request Information
URI Parameters
None.
Body Parameters
NotaVenta| Name | Description | Type | Additional information |
|---|---|---|---|
| PagoTotal | decimal number |
None. |
|
| PagoPendiente | string |
None. |
|
| WebId | string |
None. |
|
| WebFolio | string |
None. |
|
| SucFolio | integer |
None. |
|
| Username | string |
None. |
|
| LocationName | string |
None. |
|
| Rack | string |
None. |
|
| Cliente | string |
None. |
|
| Telefono | string |
None. |
|
| Total | decimal number |
None. |
|
| PagoEfectivo | decimal number |
None. |
|
| PagoTarjeta | decimal number |
None. |
|
| CargoTarjeta | decimal number |
None. |
|
| PagoTransferencia | decimal number |
None. |
|
| Cambio | decimal number |
None. |
|
| folio | string |
None. |
|
| id | string |
None. |
|
| Garantia | boolean |
None. |
|
| Credito | boolean |
None. |
|
| FechaCreacion | date |
None. |
|
| Detalles | Collection of NotaDetalle |
None. |
Request Formats
application/json, text/json
Sample:
{
"PagoTotal": 37.0,
"PagoPendiente": "sample string 1",
"WebId": "sample string 2",
"WebFolio": "sample string 3",
"SucFolio": 4,
"Username": "sample string 5",
"LocationName": "sample string 6",
"Rack": "sample string 7",
"Cliente": "sample string 8",
"Telefono": "sample string 9",
"Total": 10.0,
"PagoEfectivo": 11.0,
"PagoTarjeta": 12.0,
"CargoTarjeta": 13.0,
"PagoTransferencia": 14.0,
"Cambio": 15.0,
"folio": "sample string 16",
"id": "sample string 17",
"Garantia": true,
"Credito": true,
"FechaCreacion": "2026-03-12T01:44:16.7010373+00:00",
"Detalles": [
{
"Categoria": "sample string 1",
"Concepto": "sample string 2",
"Cantidad": 3,
"Precio": 4.0,
"Total": 12.0
},
{
"Categoria": "sample string 1",
"Concepto": "sample string 2",
"Cantidad": 3,
"Precio": 4.0,
"Total": 12.0
}
]
}
application/xml, text/xml
Sample:
<NotaVenta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/puntoDeVentaAPI.Models">
<Cambio>15</Cambio>
<CargoTarjeta>13</CargoTarjeta>
<Cliente>sample string 8</Cliente>
<Credito>true</Credito>
<Detalles>
<NotaDetalle>
<Cantidad>3</Cantidad>
<Categoria>sample string 1</Categoria>
<Concepto>sample string 2</Concepto>
<Precio>4</Precio>
</NotaDetalle>
<NotaDetalle>
<Cantidad>3</Cantidad>
<Categoria>sample string 1</Categoria>
<Concepto>sample string 2</Concepto>
<Precio>4</Precio>
</NotaDetalle>
</Detalles>
<FechaCreacion>2026-03-12T01:44:16.7010373+00:00</FechaCreacion>
<Garantia>true</Garantia>
<LocationName>sample string 6</LocationName>
<PagoEfectivo>11</PagoEfectivo>
<PagoPendiente>sample string 1</PagoPendiente>
<PagoTarjeta>12</PagoTarjeta>
<PagoTransferencia>14</PagoTransferencia>
<Rack>sample string 7</Rack>
<SucFolio>4</SucFolio>
<Telefono>sample string 9</Telefono>
<Total>10</Total>
<Username>sample string 5</Username>
<WebFolio>sample string 3</WebFolio>
<WebId>sample string 2</WebId>
<folio>sample string 16</folio>
<id>sample string 17</id>
</NotaVenta>
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.