PUT api/PercentageDiscount/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{ "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}
application/xml, text/xml
Sample:
<PercentageDiscount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UBBEAMS.Infrastructure.Models"> <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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.