POST api/Promotions/GetTicketPromotions

Request Information

URI Parameters

None.

Body Parameters

TicketRequestHelper
NameDescriptionTypeAdditional information
Id

string

None.

StoreId

string

None.

ClientId

string

None.

PaymentMethod

string

None.

OperationDate

date

None.

Bines

Collection of string

None.

Loyalty

Collection of string

None.

Cupon

Collection of string

None.

MainGroupes

MainGroup

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "StoreId": "sample string 2",
  "ClientId": "sample string 3",
  "PaymentMethod": "sample string 4",
  "OperationDate": "2026-03-02T19:22:17.6593322-06:00",
  "Bines": [
    "sample string 1",
    "sample string 2"
  ],
  "Loyalty": [
    "sample string 1",
    "sample string 2"
  ],
  "Cupon": [
    "sample string 1",
    "sample string 2"
  ],
  "MainGroupes": {
    "Grocery": {
      "shipment": [
        {
          "shipmentId": "sample string 1",
          "SelectedShippingTypeId": "sample string 2",
          "Items": [
            {
              "Barcode": "sample string 1",
              "Quantity": 2.1,
              "StorePrice": 3.1,
              "ExchangePoints": 4,
              "ShipmentId": "sample string 5",
              "Grocery": true
            },
            {
              "Barcode": "sample string 1",
              "Quantity": 2.1,
              "StorePrice": 3.1,
              "ExchangePoints": 4,
              "ShipmentId": "sample string 5",
              "Grocery": true
            }
          ]
        },
        {
          "shipmentId": "sample string 1",
          "SelectedShippingTypeId": "sample string 2",
          "Items": [
            {
              "Barcode": "sample string 1",
              "Quantity": 2.1,
              "StorePrice": 3.1,
              "ExchangePoints": 4,
              "ShipmentId": "sample string 5",
              "Grocery": true
            },
            {
              "Barcode": "sample string 1",
              "Quantity": 2.1,
              "StorePrice": 3.1,
              "ExchangePoints": 4,
              "ShipmentId": "sample string 5",
              "Grocery": true
            }
          ]
        }
      ]
    },
    "Non_Grocery": {
      "shipment": [
        {
          "shipmentId": "sample string 1",
          "SelectedShippingTypeId": "sample string 2",
          "Items": [
            {
              "Barcode": "sample string 1",
              "Quantity": 2.1,
              "StorePrice": 3.1,
              "ExchangePoints": 4,
              "ShipmentId": "sample string 5",
              "Grocery": true
            },
            {
              "Barcode": "sample string 1",
              "Quantity": 2.1,
              "StorePrice": 3.1,
              "ExchangePoints": 4,
              "ShipmentId": "sample string 5",
              "Grocery": true
            }
          ]
        },
        {
          "shipmentId": "sample string 1",
          "SelectedShippingTypeId": "sample string 2",
          "Items": [
            {
              "Barcode": "sample string 1",
              "Quantity": 2.1,
              "StorePrice": 3.1,
              "ExchangePoints": 4,
              "ShipmentId": "sample string 5",
              "Grocery": true
            },
            {
              "Barcode": "sample string 1",
              "Quantity": 2.1,
              "StorePrice": 3.1,
              "ExchangePoints": 4,
              "ShipmentId": "sample string 5",
              "Grocery": true
            }
          ]
        }
      ]
    }
  }
}

application/xml, text/xml

Sample:
<TicketRequestHelper xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EnigmaSFWebApi.Models">
  <Bines xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Bines>
  <ClientId>sample string 3</ClientId>
  <Cupon xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Cupon>
  <Id>sample string 1</Id>
  <Loyalty xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Loyalty>
  <MainGroupes>
    <Grocery>
      <shipment>
        <ShipmentsRequest>
          <Items>
            <TicketItem>
              <Barcode>sample string 1</Barcode>
              <ExchangePoints>4</ExchangePoints>
              <Grocery>true</Grocery>
              <Quantity>2.1</Quantity>
              <ShipmentId>sample string 5</ShipmentId>
              <StorePrice>3.1</StorePrice>
            </TicketItem>
            <TicketItem>
              <Barcode>sample string 1</Barcode>
              <ExchangePoints>4</ExchangePoints>
              <Grocery>true</Grocery>
              <Quantity>2.1</Quantity>
              <ShipmentId>sample string 5</ShipmentId>
              <StorePrice>3.1</StorePrice>
            </TicketItem>
          </Items>
          <SelectedShippingTypeId>sample string 2</SelectedShippingTypeId>
          <shipmentId>sample string 1</shipmentId>
        </ShipmentsRequest>
        <ShipmentsRequest>
          <Items>
            <TicketItem>
              <Barcode>sample string 1</Barcode>
              <ExchangePoints>4</ExchangePoints>
              <Grocery>true</Grocery>
              <Quantity>2.1</Quantity>
              <ShipmentId>sample string 5</ShipmentId>
              <StorePrice>3.1</StorePrice>
            </TicketItem>
            <TicketItem>
              <Barcode>sample string 1</Barcode>
              <ExchangePoints>4</ExchangePoints>
              <Grocery>true</Grocery>
              <Quantity>2.1</Quantity>
              <ShipmentId>sample string 5</ShipmentId>
              <StorePrice>3.1</StorePrice>
            </TicketItem>
          </Items>
          <SelectedShippingTypeId>sample string 2</SelectedShippingTypeId>
          <shipmentId>sample string 1</shipmentId>
        </ShipmentsRequest>
      </shipment>
    </Grocery>
    <Non_Grocery>
      <shipment>
        <ShipmentsRequest>
          <Items>
            <TicketItem>
              <Barcode>sample string 1</Barcode>
              <ExchangePoints>4</ExchangePoints>
              <Grocery>true</Grocery>
              <Quantity>2.1</Quantity>
              <ShipmentId>sample string 5</ShipmentId>
              <StorePrice>3.1</StorePrice>
            </TicketItem>
            <TicketItem>
              <Barcode>sample string 1</Barcode>
              <ExchangePoints>4</ExchangePoints>
              <Grocery>true</Grocery>
              <Quantity>2.1</Quantity>
              <ShipmentId>sample string 5</ShipmentId>
              <StorePrice>3.1</StorePrice>
            </TicketItem>
          </Items>
          <SelectedShippingTypeId>sample string 2</SelectedShippingTypeId>
          <shipmentId>sample string 1</shipmentId>
        </ShipmentsRequest>
        <ShipmentsRequest>
          <Items>
            <TicketItem>
              <Barcode>sample string 1</Barcode>
              <ExchangePoints>4</ExchangePoints>
              <Grocery>true</Grocery>
              <Quantity>2.1</Quantity>
              <ShipmentId>sample string 5</ShipmentId>
              <StorePrice>3.1</StorePrice>
            </TicketItem>
            <TicketItem>
              <Barcode>sample string 1</Barcode>
              <ExchangePoints>4</ExchangePoints>
              <Grocery>true</Grocery>
              <Quantity>2.1</Quantity>
              <ShipmentId>sample string 5</ShipmentId>
              <StorePrice>3.1</StorePrice>
            </TicketItem>
          </Items>
          <SelectedShippingTypeId>sample string 2</SelectedShippingTypeId>
          <shipmentId>sample string 1</shipmentId>
        </ShipmentsRequest>
      </shipment>
    </Non_Grocery>
  </MainGroupes>
  <OperationDate>2026-03-02T19:22:17.6593322-06:00</OperationDate>
  <PaymentMethod>sample string 4</PaymentMethod>
  <StoreId>sample string 2</StoreId>
</TicketRequestHelper>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.