GET Discounts/Get/{SiteID}?PackageId={PackageId}
Returns All Discounts for The Site
Request Information
URI Parameters
| Name | Type | Description | Additional information |
|---|---|---|---|
| SiteID | integer | ||
| PackageId | integer |
Optional: leave null and the method Package/GetLatestPackageForSite will be used to determine packageid |
None. |
Body Parameters
None.
Response Information
Resource Description
DiscountCatalogue| Name | Type | Description | Additional information |
|---|---|---|---|
| SiteID | integer |
None. |
|
| PackageId | integer |
None. |
|
| Discounts | Collection of DiscountModel |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.