GET api/CustomerDiscount/Get
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerDiscountDbModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerCode | string |
None. |
|
| CustomerDesc | string |
None. |
|
| CustomerDiscount | integer |
None. |
|
| ItemCode | string |
None. |
|
| ItemDesc | string |
None. |
|
| ExpDate | date |
None. |
|
| Qty01 | decimal number |
None. |
|
| Qty02 | decimal number |
None. |
|
| Qty03 | decimal number |
None. |
|
| PriceExcl01 | decimal number |
None. |
|
| PriceExcl02 | decimal number |
None. |
|
| PriceExcl03 | decimal number |
None. |
|
| PriceIncl01 | decimal number |
None. |
|
| PriceIncl02 | decimal number |
None. |
|
| PriceIncl03 | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CustomerCode": "sample string 1",
"CustomerDesc": "sample string 2",
"CustomerDiscount": 3,
"ItemCode": "sample string 4",
"ItemDesc": "sample string 5",
"ExpDate": "2026-08-26T19:26:33.5237773+02:00",
"Qty01": 7.1,
"Qty02": 8.1,
"Qty03": 9.1,
"PriceExcl01": 10.0,
"PriceExcl02": 11.0,
"PriceExcl03": 12.0,
"PriceIncl01": 13.0,
"PriceIncl02": 14.0,
"PriceIncl03": 15.0
},
{
"CustomerCode": "sample string 1",
"CustomerDesc": "sample string 2",
"CustomerDiscount": 3,
"ItemCode": "sample string 4",
"ItemDesc": "sample string 5",
"ExpDate": "2026-08-26T19:26:33.5237773+02:00",
"Qty01": 7.1,
"Qty02": 8.1,
"Qty03": 9.1,
"PriceExcl01": 10.0,
"PriceExcl02": 11.0,
"PriceExcl03": 12.0,
"PriceIncl01": 13.0,
"PriceIncl02": 14.0,
"PriceIncl03": 15.0
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomerDiscountDbModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PASTEL.Api.Library.Models.PSql">
<CustomerDiscountDbModel>
<CustomerCode>sample string 1</CustomerCode>
<CustomerDesc>sample string 2</CustomerDesc>
<CustomerDiscount>3</CustomerDiscount>
<ExpDate>2026-08-26T19:26:33.5237773+02:00</ExpDate>
<ItemCode>sample string 4</ItemCode>
<ItemDesc>sample string 5</ItemDesc>
<PriceExcl01>10</PriceExcl01>
<PriceExcl02>11</PriceExcl02>
<PriceExcl03>12</PriceExcl03>
<PriceIncl01>13</PriceIncl01>
<PriceIncl02>14</PriceIncl02>
<PriceIncl03>15</PriceIncl03>
<Qty01>7.1</Qty01>
<Qty02>8.1</Qty02>
<Qty03>9.1</Qty03>
</CustomerDiscountDbModel>
<CustomerDiscountDbModel>
<CustomerCode>sample string 1</CustomerCode>
<CustomerDesc>sample string 2</CustomerDesc>
<CustomerDiscount>3</CustomerDiscount>
<ExpDate>2026-08-26T19:26:33.5237773+02:00</ExpDate>
<ItemCode>sample string 4</ItemCode>
<ItemDesc>sample string 5</ItemDesc>
<PriceExcl01>10</PriceExcl01>
<PriceExcl02>11</PriceExcl02>
<PriceExcl03>12</PriceExcl03>
<PriceIncl01>13</PriceIncl01>
<PriceIncl02>14</PriceIncl02>
<PriceIncl03>15</PriceIncl03>
<Qty01>7.1</Qty01>
<Qty02>8.1</Qty02>
<Qty03>9.1</Qty03>
</CustomerDiscountDbModel>
</ArrayOfCustomerDiscountDbModel>