Configuration and Content API Guide

Get Discount Trigger Groups

post

/config/sim/v2/sales/discounts/getTriggerGroups

Gets all the trigger groups for the specified Discount configured for the specified

Request

Supported Media Types
  • application/json
  • multipart/form-data
Body (
  1. DiscountTriggerGrpsGetRequestBodyv2
)
A request body
Root Schema : DiscountTriggerGrpsGetRequestBodyv2
Type: object
The input Body model that needs to be given.
Show Source
  • ObjectNumber of Effectivity Group
    Example: 1
  • Unique reference of the hierarchy unit of the property
    Example: 1
  • Objects included in the response.
    Example: hierUnitId
  • This can take 2 values: basic or detailed. If 'basic' is specified, The response contains all the properties of the object except Ext values. If 'detailed' is specified, The response contains all the properties of the object.
    Example: detailed
  • If specified, limits the translated strings returned.
    Example: 1,2,3
  • If using paging, number of results returned in this page.
  • Object number of the Discount
    Example: 1
  • Starting resource record index. Not required if paging parameters are not supported.
  • Sorts the response by the specified field name and sort order.
    Example: objectNum:asc
  • Search criteria to filter results based on field value.
    Example: where equals(objectNum,1)
Back to Top

Response

Supported Media Types
  • application/json

200 Response

A collection of DiscountTriggerGrps entities in an organization.
Body (
  1. DiscountTriggerGrpsGetResponsev2
)
Root Schema : DiscountTriggerGrpsGetResponsev2
Type: object
Show Source
Nested Schema : items
Type: array
Array of Discount Trigger Group objects of the organization.
Show Source
Nested Schema : DiscountTriggerGrpsResponsev2
Type: object
Model for Discount Trigger Groups Object
Show Source

400 Response

400 Bad Request
Body (
  1. ErrorDetails
)
Root Schema : ErrorDetails
Type: object
Response body when the request returns an error.
Show Source

404 Response

404 Requested resource not found
Back to Top