POST api/Discounts
Request Information
URI Parameters
None.
Body Parameters
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. |
Request 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
}
application/xml, text/xml
Sample:
<Discounts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSWorld_Api.Models"> <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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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
}
application/xml, text/xml
Sample:
<Discounts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSWorld_Api.Models"> <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>