GET api/Inventory/Head/{headId}

Get a single inventory basis head

Request Information

URI Parameters

NameDescriptionTypeAdditional information
headId

The ID of the wanted inventory basis head

globally unique identifier

Required

Body Parameters

None.

Remarks

None.

Example

None.

Response Information

Resource Description

The data of the relevant inventory basis head

InventoryBasisHead
NameDescriptionTypeAdditional information
Id

globally unique identifier

Required

BranchId

integer

Required

BranchName

string

Required

Max length: 80

StartDate

date

None.

Description

string

Max length: 80

StockId

globally unique identifier

None.

StockName

string

Max length: 50

ArticleNoFrom

integer

None.

ArticleNoTo

integer

None.

MainGroupIdFrom

integer

None.

MainGroupIdTo

integer

None.

SubGroupIdFrom

integer

None.

SubGroupIdTo

integer

None.

LeaveArticlesInventoriedFromDate

date

None.

LeaveArticlesInventoriedToDate

date

None.

SortOrder

integer

None.

SortOrderName

string

Max length: 50

GroupByMainGroup

boolean

Required

GroupBySubGroup

boolean

Required

UseOnlyArticlesInStock

boolean

Required

InventoryNumber

integer

Required

ShowReservations

boolean

Required

ShowQuantity

boolean

Required

ShowPalletPlace

boolean

Required

LineCount

integer

None.

UseOnlyArticlesAffectingStock

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "e8aa26a6-49a4-4a23-a2df-127d3da4aa77",
  "BranchId": 2,
  "BranchName": "sample string 3",
  "StartDate": "2026-01-21 22:50:35",
  "Description": "sample string 4",
  "StockId": "620bffa3-ff9c-4edc-85b6-a6e06b31da24",
  "StockName": "sample string 5",
  "ArticleNoFrom": 1,
  "ArticleNoTo": 1,
  "MainGroupIdFrom": 1,
  "MainGroupIdTo": 1,
  "SubGroupIdFrom": 1,
  "SubGroupIdTo": 1,
  "LeaveArticlesInventoriedFromDate": "2026-01-21 22:50:35",
  "LeaveArticlesInventoriedToDate": "2026-01-21 22:50:35",
  "SortOrder": 1,
  "SortOrderName": "sample string 6",
  "GroupByMainGroup": true,
  "GroupBySubGroup": true,
  "UseOnlyArticlesInStock": true,
  "InventoryNumber": 9,
  "ShowReservations": true,
  "ShowQuantity": true,
  "ShowPalletPlace": true,
  "LineCount": 13,
  "UseOnlyArticlesAffectingStock": true
}

application/xml, text/xml

Sample:
<InventoryBasisHead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Stock">
  <ArticleNoFrom>1</ArticleNoFrom>
  <ArticleNoTo>1</ArticleNoTo>
  <BranchId>2</BranchId>
  <BranchName>sample string 3</BranchName>
  <Description>sample string 4</Description>
  <GroupByMainGroup>true</GroupByMainGroup>
  <GroupBySubGroup>true</GroupBySubGroup>
  <Id>e8aa26a6-49a4-4a23-a2df-127d3da4aa77</Id>
  <InventoryNumber>9</InventoryNumber>
  <LeaveArticlesInventoriedFromDate>2026-01-21T22:50:35.1806359+01:00</LeaveArticlesInventoriedFromDate>
  <LeaveArticlesInventoriedToDate>2026-01-21T22:50:35.1806359+01:00</LeaveArticlesInventoriedToDate>
  <LineCount>13</LineCount>
  <MainGroupIdFrom>1</MainGroupIdFrom>
  <MainGroupIdTo>1</MainGroupIdTo>
  <ShowPalletPlace>true</ShowPalletPlace>
  <ShowQuantity>true</ShowQuantity>
  <ShowReservations>true</ShowReservations>
  <SortOrder>1</SortOrder>
  <SortOrderName>sample string 6</SortOrderName>
  <StartDate>2026-01-21T22:50:35.1806359+01:00</StartDate>
  <StockId>620bffa3-ff9c-4edc-85b6-a6e06b31da24</StockId>
  <StockName>sample string 5</StockName>
  <SubGroupIdFrom>1</SubGroupIdFrom>
  <SubGroupIdTo>1</SubGroupIdTo>
  <UseOnlyArticlesAffectingStock>true</UseOnlyArticlesAffectingStock>
  <UseOnlyArticlesInStock>true</UseOnlyArticlesInStock>
</InventoryBasisHead>