Skip to content

Get InfoΒΆ

Gets promotion info for the specified sale. Returns promotions the specified sale is elligible to.

No discounts

This endpoint does not calculate discounts. Use this to display promotion information for a certain sale/article.

Endpoint: /PemCalculation-1-0/json/GetInfo.

Example request:

{
  "Request": {
    "LanCode": "string",
    "CalculationMoment": "2024-12-15T12:22:29.788Z",
    "SiteId": "string",
    "Sale": {

    },
    "PosTypeId": "string"
  },
  "Auth": "string"
}

Properties:

  • Sale Sale element, same structure as sale in Calculate endpoint.

Response:

{
  "SeqNr": 0,
  "Code": "Success",
  "AvailablePromotions": [
    {
      "Start": "2024-12-15T12:22:29.798Z",
      "End": "2024-12-15T12:22:29.798Z",
      "Code": "string",
      "Description": "string",
      "LongDescription": "string",
      "PemEntryType": "Financial",
      "TransactionAttributes": [
        "string"
      ]
    }
  ],
  "ErrorMessage": "string",
  "Warnings": [
    {
      "Message": "string",
      "Uid": "string"
    }
  ]
}
  • AvailablePromotions Available promotions