Part Inventory

Part Inventory

Retrieve inventory balances by part, warehouse, and stock location.

FieldData Type
PartIdString
WarehouseIdString
StockLocationString
QuantityDecimal
UnitCostDecimal
DateCreatedDateTime
DateEditedDateTime

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 PartId as the key field for inventory records.