POST services/api/rest/v1/Get_PredefinedDiscount
Request Information
URI Parameters
None.
Body Parameters
RestBasicFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| Start | integer |
None. |
|
| FiterText | string |
None. |
|
| Limit | integer |
None. |
|
| LocationId | integer |
None. |
|
| Type | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Start": 1,
"FiterText": "sample string 2",
"Limit": 3,
"LocationId": 4,
"Type": 5
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of RestPredefinedDiscount_Master| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| DiscountPercent | decimal number |
None. |
|
| MinimumAmount | decimal number |
None. |
|
| LocId | integer |
None. |
|
| Status | integer |
None. |
|
| UserID | integer |
None. |
|
| TypeCategoryId | integer |
None. |
|
| ExtraField1 | string |
None. |
|
| ExtraField2 | string |
None. |
|
| AuthRequired | boolean |
None. |
|
| ExcludePromotion | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"DiscountPercent": 4.0,
"MinimumAmount": 5.0,
"LocId": 6,
"Status": 7,
"UserID": 8,
"TypeCategoryId": 9,
"ExtraField1": "sample string 10",
"ExtraField2": "sample string 11",
"AuthRequired": true,
"ExcludePromotion": true
},
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"DiscountPercent": 4.0,
"MinimumAmount": 5.0,
"LocId": 6,
"Status": 7,
"UserID": 8,
"TypeCategoryId": 9,
"ExtraField1": "sample string 10",
"ExtraField2": "sample string 11",
"AuthRequired": true,
"ExcludePromotion": true
}
]