POST api/DiscountGroup/UpdateGroupDiscountProductWise
Request Information
URI Parameters
None.
Body Parameters
UpdateGroupDiscountProductWiseRequestName | Description | Type | Additional information |
---|---|---|---|
UpdatedList | Collection of GroupDiscountProductWiseModel |
None. |
|
RequestedUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "UpdatedList": [ { "ID": 1, "DiscountGroupID": 1, "DiscountGroup": "sample string 2", "Product": "sample string 3", "ProductID": 1, "CreatedAt": "2025-01-22T20:57:28.4074669-06:00", "UpdatedAt": "2025-01-22T20:57:28.4074669-06:00", "CreatedByUserID": 1, "IsActive": true, "MinDiscountPerc": 1.0, "MaxDiscountPerc": 1.0, "UpdatePermission": "sample string 4" }, { "ID": 1, "DiscountGroupID": 1, "DiscountGroup": "sample string 2", "Product": "sample string 3", "ProductID": 1, "CreatedAt": "2025-01-22T20:57:28.4074669-06:00", "UpdatedAt": "2025-01-22T20:57:28.4074669-06:00", "CreatedByUserID": 1, "IsActive": true, "MinDiscountPerc": 1.0, "MaxDiscountPerc": 1.0, "UpdatePermission": "sample string 4" } ], "RequestedUserID": 1 }
application/xml, text/xml
Sample:
<UpdateGroupDiscountProductWiseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request"> <RequestedUserID>1</RequestedUserID> <UpdatedList xmlns:d2p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel"> <d2p1:GroupDiscountProductWiseModel> <d2p1:CreatedAt>2025-01-22T20:57:28.4074669-06:00</d2p1:CreatedAt> <d2p1:CreatedByUserID>1</d2p1:CreatedByUserID> <d2p1:DiscountGroup>sample string 2</d2p1:DiscountGroup> <d2p1:DiscountGroupID>1</d2p1:DiscountGroupID> <d2p1:ID>1</d2p1:ID> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:MaxDiscountPerc>1</d2p1:MaxDiscountPerc> <d2p1:MinDiscountPerc>1</d2p1:MinDiscountPerc> <d2p1:Product>sample string 3</d2p1:Product> <d2p1:ProductID>1</d2p1:ProductID> <d2p1:UpdatePermission>sample string 4</d2p1:UpdatePermission> <d2p1:UpdatedAt>2025-01-22T20:57:28.4074669-06:00</d2p1:UpdatedAt> </d2p1:GroupDiscountProductWiseModel> <d2p1:GroupDiscountProductWiseModel> <d2p1:CreatedAt>2025-01-22T20:57:28.4074669-06:00</d2p1:CreatedAt> <d2p1:CreatedByUserID>1</d2p1:CreatedByUserID> <d2p1:DiscountGroup>sample string 2</d2p1:DiscountGroup> <d2p1:DiscountGroupID>1</d2p1:DiscountGroupID> <d2p1:ID>1</d2p1:ID> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:MaxDiscountPerc>1</d2p1:MaxDiscountPerc> <d2p1:MinDiscountPerc>1</d2p1:MinDiscountPerc> <d2p1:Product>sample string 3</d2p1:Product> <d2p1:ProductID>1</d2p1:ProductID> <d2p1:UpdatePermission>sample string 4</d2p1:UpdatePermission> <d2p1:UpdatedAt>2025-01-22T20:57:28.4074669-06:00</d2p1:UpdatedAt> </d2p1:GroupDiscountProductWiseModel> </UpdatedList> </UpdateGroupDiscountProductWiseRequest>
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>