GET api/Inventory/Head/{headId}
Get a single inventory basis head
Request Information
URI Parameters
| Name | Description | Type | Additional 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| Name | Description | Type | Additional 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": "ba056ef9-56c2-41bc-9fb6-7fe92b718785",
"BranchId": 2,
"BranchName": "sample string 3",
"StartDate": "2026-06-12 18:21:24",
"Description": "sample string 4",
"StockId": "5025d678-8ab9-45a2-bb30-065a9a1ec7a8",
"StockName": "sample string 5",
"ArticleNoFrom": 1,
"ArticleNoTo": 1,
"MainGroupIdFrom": 1,
"MainGroupIdTo": 1,
"SubGroupIdFrom": 1,
"SubGroupIdTo": 1,
"LeaveArticlesInventoriedFromDate": "2026-06-12 18:21:24",
"LeaveArticlesInventoriedToDate": "2026-06-12 18:21:24",
"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>ba056ef9-56c2-41bc-9fb6-7fe92b718785</Id> <InventoryNumber>9</InventoryNumber> <LeaveArticlesInventoriedFromDate>2026-06-12T18:21:24.3034935+02:00</LeaveArticlesInventoriedFromDate> <LeaveArticlesInventoriedToDate>2026-06-12T18:21:24.3034935+02: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-06-12T18:21:24.3034935+02:00</StartDate> <StockId>5025d678-8ab9-45a2-bb30-065a9a1ec7a8</StockId> <StockName>sample string 5</StockName> <SubGroupIdFrom>1</SubGroupIdFrom> <SubGroupIdTo>1</SubGroupIdTo> <UseOnlyArticlesAffectingStock>true</UseOnlyArticlesAffectingStock> <UseOnlyArticlesInStock>true</UseOnlyArticlesInStock> </InventoryBasisHead>