GET api/sale/discountcodes
Provides a list of discount reason codes.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
List of reason codes
Collection of Core.Models.Oracle.ReasonCodeName | Description | Type | Additional information |
---|---|---|---|
GroupId | integer |
Range: inclusive between 1 and 9999 |
|
Type | integer |
Range: inclusive between 1 and 9 |
|
Id | integer |
Range: inclusive between 1 and 99 |
|
Description | string |
String length: inclusive between 0 and 30 |
Response Formats
application/json, text/json
Sample:
[ { "GroupId": 1, "Type": 2, "Id": 3, "Description": "sample string 4" }, { "GroupId": 1, "Type": 2, "Id": 3, "Description": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfReasonCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Core.Models.Oracle"> <ReasonCode> <Description>sample string 4</Description> <GroupId>1</GroupId> <Id>3</Id> <Type>2</Type> </ReasonCode> <ReasonCode> <Description>sample string 4</Description> <GroupId>1</GroupId> <Id>3</Id> <Type>2</Type> </ReasonCode> </ArrayOfReasonCode>