POST api/Customer/DiscountCodes_ByCode
Request Information
URI Parameters
None.
Body Parameters
Collection of ObjectNone.
Request Formats
application/json, text/json, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DiscountCPName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
Name | string |
None. |
|
U_DiscountType | string |
None. |
|
U_CardCode | string |
None. |
|
U_OrderId | string |
None. |
|
U_Amount | string |
None. |
|
U_User | string |
None. |
|
U_CreationDate | string |
None. |
|
U_CreationTime | string |
None. |
|
U_Note | string |
None. |
|
U_Active | string |
None. |
|
U_DiscountPromo | string |
None. |
|
U_CVDeduction | string |
None. |
|
U_DiscountedSKU | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": "sample string 1", "Name": "sample string 2", "U_DiscountType": "sample string 3", "U_CardCode": "sample string 4", "U_OrderId": "sample string 5", "U_Amount": "sample string 6", "U_User": "sample string 7", "U_CreationDate": "sample string 8", "U_CreationTime": "sample string 9", "U_Note": "sample string 10", "U_Active": "sample string 11", "U_DiscountPromo": "sample string 12", "U_CVDeduction": "sample string 13", "U_DiscountedSKU": "sample string 14" }
application/xml, text/xml
Sample:
<DiscountCP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Univera.HANA.DataModel"> <Code>sample string 1</Code> <Name>sample string 2</Name> <U_Active>sample string 11</U_Active> <U_Amount>sample string 6</U_Amount> <U_CVDeduction>sample string 13</U_CVDeduction> <U_CardCode>sample string 4</U_CardCode> <U_CreationDate>sample string 8</U_CreationDate> <U_CreationTime>sample string 9</U_CreationTime> <U_DiscountPromo>sample string 12</U_DiscountPromo> <U_DiscountType>sample string 3</U_DiscountType> <U_DiscountedSKU>sample string 14</U_DiscountedSKU> <U_Note>sample string 10</U_Note> <U_OrderId>sample string 5</U_OrderId> <U_User>sample string 7</U_User> </DiscountCP>