Get Discount Award Groups

post

/config/sim/v2/sales/discounts/getAwardGroups

Gets all the Discount Award Groups

Request

Supported Media Types
Header Parameters
Body ()
Discount Award Groups Get Object
Root Schema : schema
Type: object
The input Body model that needs to be given.
Show Source
  • Object Number of the effectivity group
    Example: 1
  • Unique reference of the hierarchy.
    Example: 1
  • If specified, limits the data returned to these fields.
    Example: hierUnitId, objectNum, name
  • If this value is specified, the include parameter is ignored.
    Value Description
    basic Forces the response to include all fields except option string details
    detailed Forces the response to include all fields including option string details
    Example: detailed
  • If specified, limits translated strings returned
    Example: 1,2,3
  • If using paging, number of results returned in this page.
    Example: 100
  • Object Number of the discount
    Example: 1
  • Starting resource record index. Not required if paging parameters are not supported
    Example: 0
  • Sorts the response by the specified field name and sort order.
    Example: hierUnitId:asc
  • If specified, returns records that match the criteria.
    Example: where equals(hierUnitId, 7)
Back to Top

Response

Supported Media Types

200 Response

A collection of Discount Award Groups.
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : items
Type: array
Array of Discount Award Group objects of the organization.
Show Source
Nested Schema : DiscountAwardGrpsResponsev2
Type: object
Model for Discount Award Groups Object
Show Source
  • The discount amount for flat amount-based discount. Applicable only for awardType - 2
    Example: 2.55
  • The price to charge for each item in the Trigger Menu Item Group. Applicable only for awardType - 3
    Example: 1.22
  • The number of award items that are allowed once the Trigger MI Group's Minimum quantity is reached.
    Example: 1
  • Object number of the Menu Item Group to trigger the discount award.
    Example: 1
  • Type of the award; 0 - None, 1 - Percent Off, 2 - Amount Off, 3 - Amount Substitution
    Example: 1
  • Object Number of the effectivity group
    Example: 1
  • Unique reference of the hierarchy unit of the property
    Example: 1
  • Object number of the hierarchy unit
    Example: 1
  • When Simple Transaction Exclusivity is set for this discount, enter the maximum number of discounts that can be applied to one check. Applicable only for autoRuleType - 1-4
    Example: 1
  • Object number of the Discount
    Example: 1
  • The percentage of the percent-based discount. Applicable only for awardType - 1
    Example: 1.55
  • Sequence Number of the Discount Award Group
    Example: 1
Back to Top