GET api/sale/itemgroups
Provides a list of item groups
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ItemGroup| Name | Description | Type | Additional 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>