POST services/api/v1/POS/Get_AllPOS_PredefinedDiscount
Request Information
URI Parameters
None.
Body Parameters
POSBasicFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| Start | integer |
None. |
|
| FiterText | string |
None. |
|
| Limit | integer |
None. |
|
| LocationId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Start": 1,
"FiterText": "sample string 2",
"Limit": 3,
"LocationId": 4
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
POS_PredefinedDiscount_Master| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| LocId | integer |
None. |
|
| Name | string |
None. |
|
| DiscountPer | decimal number |
None. |
|
| Description | string |
None. |
|
| MinimunAmt | decimal number |
None. |
|
| PromotionAllow | boolean |
None. |
|
| ExcludedDepts | boolean |
None. |
|
| ListDepartment | string |
None. |
|
| Type | integer |
None. |
|
| DiscountDetails | Collection of POSPredefinedDiscount_Details |
None. |
|
| LocationList | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"LocId": 2,
"Name": "sample string 3",
"DiscountPer": 4.0,
"Description": "sample string 5",
"MinimunAmt": 6.0,
"PromotionAllow": true,
"ExcludedDepts": true,
"ListDepartment": "sample string 9",
"Type": 10,
"DiscountDetails": [
{
"Id": 1,
"PredefinedDiscId": 2,
"DeptCode": "sample string 3",
"CatCode": "sample string 4",
"SubCatCode": "sample string 5",
"SubCatId": 6,
"Percentage": 7.0,
"MinAmount": 8.0,
"MaxDiscount": 9.0,
"LocId": 10,
"LevelNo": 11
},
{
"Id": 1,
"PredefinedDiscId": 2,
"DeptCode": "sample string 3",
"CatCode": "sample string 4",
"SubCatCode": "sample string 5",
"SubCatId": 6,
"Percentage": 7.0,
"MinAmount": 8.0,
"MaxDiscount": 9.0,
"LocId": 10,
"LevelNo": 11
}
],
"LocationList": "sample string 11"
}