GET api/DiscountGroup/GetAllCustomerProductsDiscounts
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
GetAllCustomerProductsDiscountResponseName | Description | Type | Additional information |
---|---|---|---|
AllCustomerProductsDiscountList | Collection of CustomerProductsDiscountModel |
None. |
|
ResponseCode | integer |
None. |
|
ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "AllCustomerProductsDiscountList": [ { "ID": 1, "ProductID": 1, "Product": "sample string 2", "CustomerID": 1, "Customer": "sample string 3", "bShowForShop": true, "nMaxShopQuantity": 1, "nDailyQuota": 1, "nMonthlyQuota": 1, "fMinDiscPrec": 1.0, "fMaxDiscPerc": 1.0, "CreatedByUserID": 1, "CreatedAt": "2025-01-22T21:06:51.5091956-06:00", "UpdatedAt": "2025-01-22T21:06:51.5091956-06:00", "IsActive": true, "ActiveDiscountTypeID": 1, "ActiveDiscountType": "sample string 4", "UpdatePermission": "sample string 5" }, { "ID": 1, "ProductID": 1, "Product": "sample string 2", "CustomerID": 1, "Customer": "sample string 3", "bShowForShop": true, "nMaxShopQuantity": 1, "nDailyQuota": 1, "nMonthlyQuota": 1, "fMinDiscPrec": 1.0, "fMaxDiscPerc": 1.0, "CreatedByUserID": 1, "CreatedAt": "2025-01-22T21:06:51.5091956-06:00", "UpdatedAt": "2025-01-22T21:06:51.5091956-06:00", "IsActive": true, "ActiveDiscountTypeID": 1, "ActiveDiscountType": "sample string 4", "UpdatePermission": "sample string 5" } ], "ResponseCode": 1, "ResponseText": "sample string 2" }
application/xml, text/xml
Sample:
<GetAllCustomerProductsDiscountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Response"> <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">1</ResponseCode> <ResponseText xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">sample string 2</ResponseText> <AllCustomerProductsDiscountList xmlns:d2p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel"> <d2p1:CustomerProductsDiscountModel> <d2p1:ActiveDiscountType>sample string 4</d2p1:ActiveDiscountType> <d2p1:ActiveDiscountTypeID>1</d2p1:ActiveDiscountTypeID> <d2p1:CreatedAt>2025-01-22T21:06:51.5091956-06:00</d2p1:CreatedAt> <d2p1:CreatedByUserID>1</d2p1:CreatedByUserID> <d2p1:Customer>sample string 3</d2p1:Customer> <d2p1:CustomerID>1</d2p1:CustomerID> <d2p1:ID>1</d2p1:ID> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:Product>sample string 2</d2p1:Product> <d2p1:ProductID>1</d2p1:ProductID> <d2p1:UpdatePermission>sample string 5</d2p1:UpdatePermission> <d2p1:UpdatedAt>2025-01-22T21:06:51.5091956-06:00</d2p1:UpdatedAt> <d2p1:bShowForShop>true</d2p1:bShowForShop> <d2p1:fMaxDiscPerc>1</d2p1:fMaxDiscPerc> <d2p1:fMinDiscPrec>1</d2p1:fMinDiscPrec> <d2p1:nDailyQuota>1</d2p1:nDailyQuota> <d2p1:nMaxShopQuantity>1</d2p1:nMaxShopQuantity> <d2p1:nMonthlyQuota>1</d2p1:nMonthlyQuota> </d2p1:CustomerProductsDiscountModel> <d2p1:CustomerProductsDiscountModel> <d2p1:ActiveDiscountType>sample string 4</d2p1:ActiveDiscountType> <d2p1:ActiveDiscountTypeID>1</d2p1:ActiveDiscountTypeID> <d2p1:CreatedAt>2025-01-22T21:06:51.5091956-06:00</d2p1:CreatedAt> <d2p1:CreatedByUserID>1</d2p1:CreatedByUserID> <d2p1:Customer>sample string 3</d2p1:Customer> <d2p1:CustomerID>1</d2p1:CustomerID> <d2p1:ID>1</d2p1:ID> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:Product>sample string 2</d2p1:Product> <d2p1:ProductID>1</d2p1:ProductID> <d2p1:UpdatePermission>sample string 5</d2p1:UpdatePermission> <d2p1:UpdatedAt>2025-01-22T21:06:51.5091956-06:00</d2p1:UpdatedAt> <d2p1:bShowForShop>true</d2p1:bShowForShop> <d2p1:fMaxDiscPerc>1</d2p1:fMaxDiscPerc> <d2p1:fMinDiscPrec>1</d2p1:fMinDiscPrec> <d2p1:nDailyQuota>1</d2p1:nDailyQuota> <d2p1:nMaxShopQuantity>1</d2p1:nMaxShopQuantity> <d2p1:nMonthlyQuota>1</d2p1:nMonthlyQuota> </d2p1:CustomerProductsDiscountModel> </AllCustomerProductsDiscountList> </GetAllCustomerProductsDiscountResponse>