GET api/PercentageDiscount
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PercentageDiscountName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
DiscountCode | string |
String length: inclusive between 0 and 50 |
|
DiscountDescription | string |
String length: inclusive between 0 and 150 |
|
TuitionDiscount | integer |
None. |
|
LabDiscount | integer |
None. |
|
MiscDiscount | integer |
None. |
|
OtherFeeDiscount | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "discountCode": "sample string 2", "discountDescription": "sample string 3", "tuitionDiscount": 4, "labDiscount": 5, "miscDiscount": 6, "otherFeeDiscount": 7 }, { "id": 1, "discountCode": "sample string 2", "discountDescription": "sample string 3", "tuitionDiscount": 4, "labDiscount": 5, "miscDiscount": 6, "otherFeeDiscount": 7 } ]
text/html
Sample:
[{"id":1,"discountCode":"sample string 2","discountDescription":"sample string 3","tuitionDiscount":4,"labDiscount":5,"miscDiscount":6,"otherFeeDiscount":7},{"id":1,"discountCode":"sample string 2","discountDescription":"sample string 3","tuitionDiscount":4,"labDiscount":5,"miscDiscount":6,"otherFeeDiscount":7}]
application/xml, text/xml
Sample:
<ArrayOfPercentageDiscount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UBBEAMS.Infrastructure.Models"> <PercentageDiscount> <DiscountCode>sample string 2</DiscountCode> <DiscountDescription>sample string 3</DiscountDescription> <Id>1</Id> <LabDiscount>5</LabDiscount> <MiscDiscount>6</MiscDiscount> <OtherFeeDiscount>7</OtherFeeDiscount> <TuitionDiscount>4</TuitionDiscount> </PercentageDiscount> <PercentageDiscount> <DiscountCode>sample string 2</DiscountCode> <DiscountDescription>sample string 3</DiscountDescription> <Id>1</Id> <LabDiscount>5</LabDiscount> <MiscDiscount>6</MiscDiscount> <OtherFeeDiscount>7</OtherFeeDiscount> <TuitionDiscount>4</TuitionDiscount> </PercentageDiscount> </ArrayOfPercentageDiscount>