/Articles/Stock
Description
Returns the stock levels for the items.
- The right ‘Lesen’ is required for the data ‘Artikel’.
- The function has been obsolete since version 20.2.
- It is removed with version 25.2.
- Please use one of the new stock routes.
Request
URI Parameters
Page
integer
Page number for paging | Default: 0
Items
integer
Sets the number of entries per page | Default: 10 | All: 0
SearchTerm
string
Filter for words
SearchIn
string
Properties in which to search. The separator between these properties is "|".
OrderBy
string
Properties to be sorted by. An exclamation mark ! at the end indicates downward sorting. To sort by several properties, they must be separated by a "|".
Filter
string
A filter can be defined to limit the result set. For example: (Property EQ Value OR Property2 GT Value2) AND (Property3 CT 'String') See the description for the FilterQueryLanguage for more information.
Body Parameters
None.
Response
Resource Description
ArticleName
string
Length: including between 0 and 80
Database field [ITEM].[Name]
ArticleNumber
string
Required
Length: including between 0 and 18
Database field [ITEM].[]
ExpirationDate
date
Database field: [STOCK].[Expiry date]
OrderedStock
decimal number
Read only
Database field: [SL_vStockComplete].[Ordered]
PackedStock
decimal number
Read only
Database field: [SL_vStockComplete].[Packed]
PriceQuantity
decimal number
Required
Database field: [STOCK].[Price quantity]
PriceQuantityUnit
string
Length: including between 0 and 10
Database field [ITEM].[PriceQuantityUnit]
ProducedStock
decimal number
Read only
Database field: [SL_vStockComplete].[Produced]
QuantityUnit
string
Length: including between 0 and 10
Database field [ITEM].[QuantityUnit]
ReservedStock
decimal number
Read only
Database field: [SL_vStockComplete].[Reserved]
SerialNumber
string
Length: including between 0 and 80
Database field: [SERIES].[SeriesCharge]
Stock
decimal number
Required
Database field: [STOCK].[Stock]
WarehouseName
string
Length: including between 0 and 40
Database field: [STORAGE].[Designation]
StoragePlace
Read only
Submodel for the item stock
Response Formats
application/json
Example:
[
{
"ArticleName": "sample string 1",
"ArticleNumber": "sample string 2",
"ExpirationDate": "2024-12-26T21:51:16.8107937+01:00",
"OrderedStock": 3.0,
"PackedStock": 4.0,
"PriceQuantity": 5.0,
"PriceQuantityUnit": "sample string 6",
"ProducedStock": 7.0,
"QuantityUnit": "sample string 8",
"ReservedStock": 9.0,
"SerialNumber": "sample string 10",
"Stock": 11.0,
"WarehouseName": "sample string 12",
"StoragePlace": {
"Article": null,
"Dimension1": null,
"Dimension2": null,
"Dimension3": null,
"DimensionName1": null,
"DimensionName2": null,
"DimensionName3": null,
"Id": null,
"StorageType": 0,
"StorageTypeLabel": "DefaultStorage",
"Warehouse": null,
"WarehouseName": null
}
},
{
"ArticleName": "sample string 1",
"ArticleNumber": "sample string 2",
"ExpirationDate": "2024-12-26T21:51:16.8107937+01:00",
"OrderedStock": 3.0,
"PackedStock": 4.0,
"PriceQuantity": 5.0,
"PriceQuantityUnit": "sample string 6",
"ProducedStock": 7.0,
"QuantityUnit": "sample string 8",
"ReservedStock": 9.0,
"SerialNumber": "sample string 10",
"Stock": 11.0,
"WarehouseName": "sample string 12",
"StoragePlace": {
"Article": null,
"Dimension1": null,
"Dimension2": null,
"Dimension3": null,
"DimensionName1": null,
"DimensionName2": null,
"DimensionName3": null,
"Id": null,
"StorageType": 0,
"StorageTypeLabel": "DefaultStorage",
"Warehouse": null,
"WarehouseName": null
}
}
]