GET api/singleSales/{username}/{from}/{to}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
Required |
|
| from | integer |
Default value is 0 |
|
| to | integer |
Default value is 100 |
Body Parameters
None.
Response Information
Resource Description
Collection of SingleSale| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| username | string |
None. |
|
| NombreRazonSocial | string |
None. |
|
| ReceptorName | string |
None. |
|
| TotalArt | integer |
None. |
|
| TotalVenta | decimal number |
None. |
|
| datePurchase | date |
None. |
|
| isDelivered | boolean |
None. |
|
| idCustomer | string |
None. |
|
| PaymentezTransactionId | string |
None. |
|
| Channel | string |
None. |
|
| address | string |
None. |
|
| Comercial | string |
None. |
|
| listproducts | string |
None. |
|
| Status | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"username": "sample string 2",
"NombreRazonSocial": "sample string 3",
"ReceptorName": "sample string 4",
"TotalArt": 5,
"TotalVenta": 6.1,
"datePurchase": "2025-12-06T14:05:41.457883-06:00",
"isDelivered": true,
"idCustomer": "sample string 9",
"PaymentezTransactionId": "sample string 10",
"Channel": "sample string 11",
"address": "sample string 12",
"Comercial": "sample string 13",
"listproducts": "sample string 14",
"Status": "sample string 15"
},
{
"id": 1,
"username": "sample string 2",
"NombreRazonSocial": "sample string 3",
"ReceptorName": "sample string 4",
"TotalArt": 5,
"TotalVenta": 6.1,
"datePurchase": "2025-12-06T14:05:41.457883-06:00",
"isDelivered": true,
"idCustomer": "sample string 9",
"PaymentezTransactionId": "sample string 10",
"Channel": "sample string 11",
"address": "sample string 12",
"Comercial": "sample string 13",
"listproducts": "sample string 14",
"Status": "sample string 15"
}
]
application/xml, text/xml
Sample:
<ArrayOfSingleSale xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_Carniceria.Models">
<SingleSale>
<Channel>sample string 11</Channel>
<Comercial>sample string 13</Comercial>
<NombreRazonSocial>sample string 3</NombreRazonSocial>
<PaymentezTransactionId>sample string 10</PaymentezTransactionId>
<ReceptorName>sample string 4</ReceptorName>
<Status>sample string 15</Status>
<TotalArt>5</TotalArt>
<TotalVenta>6.1</TotalVenta>
<address>sample string 12</address>
<datePurchase>2025-12-06T14:05:41.457883-06:00</datePurchase>
<id>1</id>
<idCustomer>sample string 9</idCustomer>
<isDelivered>true</isDelivered>
<listproducts>sample string 14</listproducts>
<username>sample string 2</username>
</SingleSale>
<SingleSale>
<Channel>sample string 11</Channel>
<Comercial>sample string 13</Comercial>
<NombreRazonSocial>sample string 3</NombreRazonSocial>
<PaymentezTransactionId>sample string 10</PaymentezTransactionId>
<ReceptorName>sample string 4</ReceptorName>
<Status>sample string 15</Status>
<TotalArt>5</TotalArt>
<TotalVenta>6.1</TotalVenta>
<address>sample string 12</address>
<datePurchase>2025-12-06T14:05:41.457883-06:00</datePurchase>
<id>1</id>
<idCustomer>sample string 9</idCustomer>
<isDelivered>true</isDelivered>
<listproducts>sample string 14</listproducts>
<username>sample string 2</username>
</SingleSale>
</ArrayOfSingleSale>