GET api/GroupDiscount
Retrieve group discounts
Request Information
URI Parameters
None.
Body Parameters
GroupDiscReqName | Description | Type | Additional information |
---|---|---|---|
Company |
The company name |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Company": "DEMO" }
Response Information
Resource Description
GroupDiscResName | Description | Type | Additional information |
---|---|---|---|
msgControl |
Contains information about the response |
MsgControl |
None. |
GroupDiscountList |
List of group discounts |
Collection of GroupDiscount |
None. |
Response Formats
application/json, text/json
Sample:
{ "msgControl": { "result": 0, "Message": "Corresponding success and error message", "MethodName": "api/GroupDiscount GET", "AppName": "EsoftWebApi", "EsoftUser": "ESOFT", "User": "Username", "Password": "Password", "SystemDate": "2025-01-06T22:32:15.1720865+02:00", "GenList": [], "GenMsg1": "", "GenMsg2": "", "GenMsg3": "" }, "GroupDiscountList": [ { "AccountGroup": "100", "ItemGroup": "001", "FromQty": 0, "AmountOrPerc": "A", "Value": 10.0, "PriceCode": "2" }, { "AccountGroup": "200", "ItemGroup": "002", "FromQty": 10, "AmountOrPerc": "%", "Value": 15.0, "PriceCode": "1" } ] }