Part Inventory
Retrieve inventory balances by part, warehouse, and stock location.
| Field | Data Type |
|---|---|
| PartId | String |
| WarehouseId | String |
| StockLocation | String |
| Quantity | Decimal |
| UnitCost | Decimal |
| DateCreated | DateTime |
| DateEdited | DateTime |
Key: PartId
Endpoints
GET
URL: https://{site}.mvpplant.com/ODataApi/v1/GetInventory
Description: Retrieve inventory balances by part, warehouse, and stock location.
OData Query Examples
-
Select specific fields:
https://{site}.mvpplant.com/ODataApi/v1/GetInventory?$select=PartId,WarehouseId,StockLocation,Quantity -
Filter by warehouse:
https://{site}.mvpplant.com/ODataApi/v1/GetInventory?$filter=WarehouseId eq 'MAIN' -
Sort by part:
https://{site}.mvpplant.com/ODataApi/v1/GetInventory?$orderby=PartId -
Return the first 10 records:
https://{site}.mvpplant.com/ODataApi/v1/GetInventory?$top=10
Notes
- This endpoint is read-only in the current documentation.
- Use
PartIdas the key field for inventory records.
