GET v2/Discounts/Get?SiteID={SiteID}
Returns All Discounts for The Site
Request Information
URI Parameters
| Name | Type | Description | Additional information |
|---|---|---|---|
| SiteID | integer | ||
| version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
DiscountDto| Name | Type | Description | Additional information |
|---|---|---|---|
| DiscountID | integer |
None. |
|
| ReasonTypeID | integer |
None. |
|
| Name | string |
None. |
|
| TriggerBarcode | string |
None. |
|
| DiscountCategory | string |
None. |
|
| Amount | decimal number |
None. |
|
| IsPercent | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"DiscountID": 1,
"ReasonTypeID": 2,
"Name": "sample string 3",
"TriggerBarcode": "sample string 4",
"DiscountCategory": "sample string 5",
"Amount": 6.0,
"IsPercent": true
}
application/xml, text/xml
Sample:
System.Xml.XmlDocument