GET api/Discounts/GetDiscounts
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Discounts| Name | Description | Type | Additional information |
|---|---|---|---|
| DC_Id | integer |
None. |
|
| DC_Code | string |
None. |
|
| DC_Status | string |
None. |
|
| DC_Used | string |
None. |
|
| DC_Percentage | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"DC_Id": 1,
"DC_Code": "sample string 2",
"DC_Status": "sample string 3",
"DC_Used": "sample string 4",
"DC_Percentage": 5.1
},
{
"DC_Id": 1,
"DC_Code": "sample string 2",
"DC_Status": "sample string 3",
"DC_Used": "sample string 4",
"DC_Percentage": 5.1
}
]
application/xml, text/xml
Sample:
<ArrayOfDiscounts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSWorld_Api.Models">
<Discounts>
<DC_Code>sample string 2</DC_Code>
<DC_Id>1</DC_Id>
<DC_Percentage>5.1</DC_Percentage>
<DC_Status>sample string 3</DC_Status>
<DC_Used>sample string 4</DC_Used>
</Discounts>
<Discounts>
<DC_Code>sample string 2</DC_Code>
<DC_Id>1</DC_Id>
<DC_Percentage>5.1</DC_Percentage>
<DC_Status>sample string 3</DC_Status>
<DC_Used>sample string 4</DC_Used>
</Discounts>
</ArrayOfDiscounts>