GET api/webshop/itemgroups

Provides list of itemgroups.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

List of itemgroup models.

Collection of ItemGroup
NameDescriptionTypeAdditional information
GroupId

Unique id of a group

integer

None.

Id

The itemgroup's Id

integer

None.

Description

Description of a group

string

None.

PosText

Text

string

None.

VatType

Type of vat.

integer

None.

BarcodeType

Type of barcode.

integer

None.

ControlType

Type of control.

string

None.

EanOn

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "GroupId": 1,
    "Id": 2,
    "Description": "sample string 3",
    "PosText": "sample string 4",
    "VatType": 5,
    "BarcodeType": 6,
    "ControlType": "sample string 7",
    "EanOn": true
  },
  {
    "GroupId": 1,
    "Id": 2,
    "Description": "sample string 3",
    "PosText": "sample string 4",
    "VatType": 5,
    "BarcodeType": 6,
    "ControlType": "sample string 7",
    "EanOn": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfItemGroupDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models.Legacy">
  <ItemGroupDTO>
    <BarcodeType>6</BarcodeType>
    <ControlType>sample string 7</ControlType>
    <Description>sample string 3</Description>
    <EanOn>true</EanOn>
    <GroupId>1</GroupId>
    <Id>2</Id>
    <PosText>sample string 4</PosText>
    <VatType>5</VatType>
  </ItemGroupDTO>
  <ItemGroupDTO>
    <BarcodeType>6</BarcodeType>
    <ControlType>sample string 7</ControlType>
    <Description>sample string 3</Description>
    <EanOn>true</EanOn>
    <GroupId>1</GroupId>
    <Id>2</Id>
    <PosText>sample string 4</PosText>
    <VatType>5</VatType>
  </ItemGroupDTO>
</ArrayOfItemGroupDTO>