GET Promotions/{SiteID}?PromoID={PromoID}&PromoIsActive={PromoIsActive}&PromoGroupIsActive={PromoGroupIsActive}&PromoGroupProductIsActive={PromoGroupProductIsActive}

Gets A List Of All Promotions for Site given

Request Information

URI Parameters

Name Type Description Additional information
SiteID integer

PromoID integer

None.

PromoIsActive boolean

None.

PromoGroupIsActive boolean

None.

PromoGroupProductIsActive boolean

None.

Body Parameters

None.

Response Information

Resource Description

PromotionResultDto
Name Type Description Additional information
SiteID integer

None.

Promotions Collection of PromoDto

None.

Response Formats

application/json, text/json

Sample:
{
  "SiteID": 1,
  "Promotions": [
    {
      "PromoID": 1,
      "PromoName": "sample string 2",
      "StartDate": "2026-10-15T22:22:37.7583271",
      "EndDate": "2026-10-15T22:22:37.7583271",
      "PromoType": 3,
      "PromoValue": 4.0,
      "InputPromoGroups": [
        {
          "PromoGroupID": 1,
          "PromoID": 3,
          "TriggerQty": 5,
          "ActionValue": 6.0,
          "IsActive": true,
          "Products": [
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            },
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            }
          ]
        },
        {
          "PromoGroupID": 1,
          "PromoID": 3,
          "TriggerQty": 5,
          "ActionValue": 6.0,
          "IsActive": true,
          "Products": [
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            },
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            }
          ]
        }
      ],
      "OutputPromoGroups": [
        {
          "PromoGroupID": 1,
          "PromoID": 3,
          "TriggerQty": 5,
          "ActionValue": 6.0,
          "IsActive": true,
          "Products": [
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            },
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            }
          ]
        },
        {
          "PromoGroupID": 1,
          "PromoID": 3,
          "TriggerQty": 5,
          "ActionValue": 6.0,
          "IsActive": true,
          "Products": [
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            },
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            }
          ]
        }
      ]
    },
    {
      "PromoID": 1,
      "PromoName": "sample string 2",
      "StartDate": "2026-10-15T22:22:37.7583271",
      "EndDate": "2026-10-15T22:22:37.7583271",
      "PromoType": 3,
      "PromoValue": 4.0,
      "InputPromoGroups": [
        {
          "PromoGroupID": 1,
          "PromoID": 3,
          "TriggerQty": 5,
          "ActionValue": 6.0,
          "IsActive": true,
          "Products": [
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            },
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            }
          ]
        },
        {
          "PromoGroupID": 1,
          "PromoID": 3,
          "TriggerQty": 5,
          "ActionValue": 6.0,
          "IsActive": true,
          "Products": [
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            },
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            }
          ]
        }
      ],
      "OutputPromoGroups": [
        {
          "PromoGroupID": 1,
          "PromoID": 3,
          "TriggerQty": 5,
          "ActionValue": 6.0,
          "IsActive": true,
          "Products": [
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            },
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            }
          ]
        },
        {
          "PromoGroupID": 1,
          "PromoID": 3,
          "TriggerQty": 5,
          "ActionValue": 6.0,
          "IsActive": true,
          "Products": [
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            },
            {
              "PromoGroupProductID": 1,
              "ProductID": 4,
              "MeasureID": 5,
              "IsActive": true,
              "AddOnPrice": 7.0
            }
          ]
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
System.Xml.XmlDocument