POST api/DiscountGroup/AddCustomerProductWiseDiscount
Request Information
URI Parameters
None.
Body Parameters
GroupDiscountProductWiseModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
DiscountGroupID | integer |
None. |
|
DiscountGroup | string |
None. |
|
Product | string |
None. |
|
ProductID | integer |
None. |
|
CreatedAt | date |
None. |
|
UpdatedAt | date |
None. |
|
CreatedByUserID | integer |
None. |
|
IsActive | boolean |
None. |
|
MinDiscountPerc | decimal number |
None. |
|
MaxDiscountPerc | decimal number |
None. |
|
UpdatePermission | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "DiscountGroupID": 1, "DiscountGroup": "sample string 2", "Product": "sample string 3", "ProductID": 1, "CreatedAt": "2025-01-22T20:52:34.9039492-06:00", "UpdatedAt": "2025-01-22T20:52:34.9039492-06:00", "CreatedByUserID": 1, "IsActive": true, "MinDiscountPerc": 1.0, "MaxDiscountPerc": 1.0, "UpdatePermission": "sample string 4" }
application/xml, text/xml
Sample:
<GroupDiscountProductWiseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel"> <CreatedAt>2025-01-22T20:52:34.9039492-06:00</CreatedAt> <CreatedByUserID>1</CreatedByUserID> <DiscountGroup>sample string 2</DiscountGroup> <DiscountGroupID>1</DiscountGroupID> <ID>1</ID> <IsActive>true</IsActive> <MaxDiscountPerc>1</MaxDiscountPerc> <MinDiscountPerc>1</MinDiscountPerc> <Product>sample string 3</Product> <ProductID>1</ProductID> <UpdatePermission>sample string 4</UpdatePermission> <UpdatedAt>2025-01-22T20:52:34.9039492-06:00</UpdatedAt> </GroupDiscountProductWiseModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDetailName | Description | Type | Additional information |
---|---|---|---|
ResponseCode | integer |
None. |
|
ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResponseCode": 1, "ResponseText": "sample string 2" }
application/xml, text/xml
Sample:
<ResponseDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel"> <ResponseCode>1</ResponseCode> <ResponseText>sample string 2</ResponseText> </ResponseDetail>