Replenishment

Replenishment

Retrieve part stock replenishment records.

Use the Replenishment GET endpoint to query part stock replenishment data.

GET /ODataApi/v1/PartStockReplenishment

Endpoint

https://{sitename}.mvpplant.com/ODataApi/v1/PartStockReplenishment

Replace {sitename} with your MVP One site name.

How to query replenishment records

Use OData query parameters to filter, select, sort, and limit replenishment records.

Query optionDescriptionExample
$filterFilters replenishment records by field value.$filter=WarehouseID eq 'MAIN'
$selectReturns only the specified fields.$select=PartID,WarehouseID,ReorderMethod
$topLimits the number of records returned.$top=10
$orderbySorts returned records.$orderby=PartID

Examples

Filter by warehouse

https://{sitename}.mvpplant.com/ODataApi/v1/PartStockReplenishment?$filter=WarehouseID eq 'MAIN'

Select specific fields

https://{sitename}.mvpplant.com/ODataApi/v1/PartStockReplenishment?$select=PartID,WarehouseID,ReorderMethod

Return the first 10 records

https://{sitename}.mvpplant.com/ODataApi/v1/PartStockReplenishment?$top=10

Sort by part ID

https://{sitename}.mvpplant.com/ODataApi/v1/PartStockReplenishment?$orderby=PartID

Combine query options

https://{sitename}.mvpplant.com/ODataApi/v1/PartStockReplenishment?$filter=WarehouseID eq 'MAIN'&$select=PartID,WarehouseID,ReorderMethod&$top=10&$orderby=PartID

Notes

  • OData query option names are case-sensitive.
  • Use single quotes around string values in $filter.
  • Replace {sitename} with your MVP One site name.
  • Encode spaces if your client does not encode URLs automatically.