GET ticket/order/products/{categoryId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
categoryId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Product
NameDescriptionTypeAdditional information
productId

integer

None.

categoryId

integer

None.

productName

string

None.

productNameShort

string

None.

productImg

string

None.

price

integer

None.

vat

integer

None.

unit

string

None.

isListed

integer

None.

nextId

integer

None.

toppings

Collection of Topping

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "productId": 1,
    "categoryId": 2,
    "productName": "sample string 3",
    "productNameShort": "sample string 4",
    "productImg": "/images/termekek/1.png",
    "price": 5,
    "vat": 6,
    "unit": "sample string 7",
    "isListed": 8,
    "nextId": 9,
    "toppings": [
      {
        "toppingId": 1,
        "toppingName": "sample string 2",
        "toppingPrice": 3
      },
      {
        "toppingId": 1,
        "toppingName": "sample string 2",
        "toppingPrice": 3
      }
    ]
  },
  {
    "productId": 1,
    "categoryId": 2,
    "productName": "sample string 3",
    "productNameShort": "sample string 4",
    "productImg": "/images/termekek/1.png",
    "price": 5,
    "vat": 6,
    "unit": "sample string 7",
    "isListed": 8,
    "nextId": 9,
    "toppings": [
      {
        "toppingId": 1,
        "toppingName": "sample string 2",
        "toppingPrice": 3
      },
      {
        "toppingId": 1,
        "toppingName": "sample string 2",
        "toppingPrice": 3
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tiszamozi_API.Models">
  <Product>
    <categoryId>2</categoryId>
    <isListed>8</isListed>
    <nextId>9</nextId>
    <price>5</price>
    <productId>1</productId>
    <productName>sample string 3</productName>
    <productNameShort>sample string 4</productNameShort>
    <toppings>
      <Topping>
        <toppingId>1</toppingId>
        <toppingName>sample string 2</toppingName>
        <toppingPrice>3</toppingPrice>
      </Topping>
      <Topping>
        <toppingId>1</toppingId>
        <toppingName>sample string 2</toppingName>
        <toppingPrice>3</toppingPrice>
      </Topping>
    </toppings>
    <unit>sample string 7</unit>
    <vat>6</vat>
  </Product>
  <Product>
    <categoryId>2</categoryId>
    <isListed>8</isListed>
    <nextId>9</nextId>
    <price>5</price>
    <productId>1</productId>
    <productName>sample string 3</productName>
    <productNameShort>sample string 4</productNameShort>
    <toppings>
      <Topping>
        <toppingId>1</toppingId>
        <toppingName>sample string 2</toppingName>
        <toppingPrice>3</toppingPrice>
      </Topping>
      <Topping>
        <toppingId>1</toppingId>
        <toppingName>sample string 2</toppingName>
        <toppingPrice>3</toppingPrice>
      </Topping>
    </toppings>
    <unit>sample string 7</unit>
    <vat>6</vat>
  </Product>
</ArrayOfProduct>