POST api/TillMenu/Sections

Returns product section and product data for the Eskimo Range App

Request Information

URI Parameters

None.

Body Parameters

EskimoClassLibraries.TillMenuSectionsArgs
NameDescriptionTypeAdditional information
TillNumber

integer

Required

StoreNumber

string

Required

String length: inclusive between 3 and 3

Request Formats

application/json, text/json

Sample:
{
  "TillNumber": 1,
  "StoreNumber": "sample string 2"
}

application/xml, text/xml

Sample:
<TillMenuSectionsArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries">
  <StoreNumber>sample string 2</StoreNumber>
  <TillNumber>1</TillNumber>
</TillMenuSectionsArgs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of EskimoClassLibraries.clsTillMenuSection
NameDescriptionTypeAdditional information
SectionName

The name of the section i.e. Beer

string

None.

Items

A list of the products within the section.

Collection of EskimoClassLibraries.clsTillMenuItem

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SectionName": "sample string 1",
    "Items": [
      {
        "Name": "sample string 1",
        "UnitPrices": [
          {
            "PriceLevel": 1,
            "Price": 2.0
          },
          {
            "PriceLevel": 1,
            "Price": 2.0
          }
        ],
        "PLU": "sample string 2",
        "FollowOns": [
          {
            "Prompt": "sample string 1",
            "Quantity": 2,
            "MinRequired": 3,
            "MaxRequired": 4,
            "Choices": []
          },
          {
            "Prompt": "sample string 1",
            "Quantity": 2,
            "MinRequired": 3,
            "MaxRequired": 4,
            "Choices": []
          }
        ],
        "IsOpenPriced": true,
        "IsOpenDescription": true,
        "ImageID": 1,
        "TaxID": 5,
        "ProductDescription": "sample string 6",
        "ColourName": "sample string 7",
        "ColourValue": "sample string 8",
        "Size": "sample string 9",
        "StockWarnLevel": 1,
        "StockLevel": 10,
        "NoDiscountAllowed": true
      },
      {
        "Name": "sample string 1",
        "UnitPrices": [
          {
            "PriceLevel": 1,
            "Price": 2.0
          },
          {
            "PriceLevel": 1,
            "Price": 2.0
          }
        ],
        "PLU": "sample string 2",
        "FollowOns": [
          {
            "Prompt": "sample string 1",
            "Quantity": 2,
            "MinRequired": 3,
            "MaxRequired": 4,
            "Choices": []
          },
          {
            "Prompt": "sample string 1",
            "Quantity": 2,
            "MinRequired": 3,
            "MaxRequired": 4,
            "Choices": []
          }
        ],
        "IsOpenPriced": true,
        "IsOpenDescription": true,
        "ImageID": 1,
        "TaxID": 5,
        "ProductDescription": "sample string 6",
        "ColourName": "sample string 7",
        "ColourValue": "sample string 8",
        "Size": "sample string 9",
        "StockWarnLevel": 1,
        "StockLevel": 10,
        "NoDiscountAllowed": true
      }
    ]
  },
  {
    "SectionName": "sample string 1",
    "Items": [
      {
        "Name": "sample string 1",
        "UnitPrices": [
          {
            "PriceLevel": 1,
            "Price": 2.0
          },
          {
            "PriceLevel": 1,
            "Price": 2.0
          }
        ],
        "PLU": "sample string 2",
        "FollowOns": [
          {
            "Prompt": "sample string 1",
            "Quantity": 2,
            "MinRequired": 3,
            "MaxRequired": 4,
            "Choices": []
          },
          {
            "Prompt": "sample string 1",
            "Quantity": 2,
            "MinRequired": 3,
            "MaxRequired": 4,
            "Choices": []
          }
        ],
        "IsOpenPriced": true,
        "IsOpenDescription": true,
        "ImageID": 1,
        "TaxID": 5,
        "ProductDescription": "sample string 6",
        "ColourName": "sample string 7",
        "ColourValue": "sample string 8",
        "Size": "sample string 9",
        "StockWarnLevel": 1,
        "StockLevel": 10,
        "NoDiscountAllowed": true
      },
      {
        "Name": "sample string 1",
        "UnitPrices": [
          {
            "PriceLevel": 1,
            "Price": 2.0
          },
          {
            "PriceLevel": 1,
            "Price": 2.0
          }
        ],
        "PLU": "sample string 2",
        "FollowOns": [
          {
            "Prompt": "sample string 1",
            "Quantity": 2,
            "MinRequired": 3,
            "MaxRequired": 4,
            "Choices": []
          },
          {
            "Prompt": "sample string 1",
            "Quantity": 2,
            "MinRequired": 3,
            "MaxRequired": 4,
            "Choices": []
          }
        ],
        "IsOpenPriced": true,
        "IsOpenDescription": true,
        "ImageID": 1,
        "TaxID": 5,
        "ProductDescription": "sample string 6",
        "ColourName": "sample string 7",
        "ColourValue": "sample string 8",
        "Size": "sample string 9",
        "StockWarnLevel": 1,
        "StockLevel": 10,
        "NoDiscountAllowed": true
      }
    ]
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.